On Tue, 2010-07-20 at 15:30 +0200, Daniel wrote:

> Ok, i get a "works!" message. Sounds good.
> But how can i disable the card?
> If it's working, why are there still two cards listed by lspci?
> Is there a command to check if the card is still draining power?

Hi, both cards will be listed by lspci, even when one is powered off.
The way I used to check for draining power was by checking the output
of /proc/acpi/battery/BAT0/state:

# the battery drain rate before
~/acpi_call$ cat /proc/acpi/battery/BAT0/state | grep rate
present rate:            18315 mW

# load the acpi_call driver + call the appropriate method
~/acpi_call$ sudo insmod acpi_call.ko
~/acpi_call$ echo '\_SB.PCI0.PEG1.GFX0.DOFF' > /proc/acpi/call

# after a few seconds, the battery drain rate tells me that
# the NVIDIA 310m is turned off
~/acpi_call$ cat /proc/acpi/battery/BAT0/state | grep rate
present rate:            13134 mW



_______________________________________________
Mailing list: https://launchpad.net/~hybrid-graphics-linux
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
More help   : https://help.launchpad.net/ListHelp

Reply via email to