Hi! I bought recently a new laptop, a Samsung Series 5 model. I realized that the battery discharges in a very short time using Debian, while using Windows 7 I can work about 4 or 5 hours (with Debian only one and a half, two if I'm lucky). After doing a lspci, I discovered that it has two graphic cards, an Intel integrated card and an ATI Radeon. It looks like a wrong management of this Intel/ATI hybrid graphic system.
I searched on the web, and I found a lot of webpages talking about vga_switcheroo as an option to manage this hybrid systems. I followed the steps that were described on those websites, but I think they didn't work. First of all I'm going to show you the output of the lspci:
Code:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon 7550M/7570M/7650M]
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
The steps that I followed were this:
Code:
root@rafael-laptop:/home/rafael# mountpoint -q /sys/kernel/debug
root@rafael-laptop:/home/rafael# mount -t debugfs none /sys/kernel/debug
root@rafael-laptop:/home/rafael# echo "none /sys/kernel/debug debugfs defaults 0 0" > /etc/fstab
root@rafael-laptop:/home/rafael# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
root@rafael-laptop:/home/rafael# ls -l /sys/kernel/debug/vgaswitcheroo/switch
-rw-r--r-- 1 root root 0 sep 28 11:36 /sys/kernel/debug/vgaswitcheroo/switch
root@rafael-laptop:/home/rafael# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
root@rafael-laptop:/home/rafael#
root@rafael-laptop:/home/rafael# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
root@rafael-laptop:/home/rafael# echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
root@rafael-laptop:/home/rafael# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Off:0000:01:00.0
It looks like if the ATI isn't working now, but if we do a lspci -v:
Code:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon 7550M/7570M/7650M] (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Radeon HD 7550M
Flags: fast devsel, IRQ 52
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at e0700000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 3000 [size=256]
Expansion ROM at e0720000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: radeon
We can see that there's a "Kernel driver in use". It means that the ATI card is still in use, I think. And the battery level is still discharging at an enormous speed. Has anyone an idea of what's going on? How can I improve the use of the baterry?
Regards from Spain!
P.S.: I tried also the fglrx driver as a way to manage the hybrid graphics, but I couldn't. There's more information about how it didn't work in this spanish post:
http://www.esdebian.org/foro/49605/g...ridos-intelati