You are not logged in.

#1 2012-11-08 18:23:40

ri
Member
Registered: 2008-10-09
Posts: 73

acpi_call not working. [did before]

Hi I'm coming back from a short session using Ubuntu. Previously I've always used acpi_call (from AUR) to turn off my Nvida card to gain full battery life. It has served me well all the time but now I cant get it to work at all and since I'm used to keep my laptop with me during the day without power adapter it's kind of a deal breaker.

The procedure:

[root@eta richard]# lsmod | grep acpi_call
[root@eta richard]# acpi
Battery 0: Discharging, 78%, 03:03:57 remaining
[root@eta richard]# insmod /usr/lib/modules/3.6.6-1-ARCH/kernel/drivers/acpi/acpi_call.ko 
[root@eta richard]# lsmod | grep acpi_call
acpi_call               4791  0 
[root@eta richard]# test_off.sh 
Trying \_SB.PCI0.P0P1.VGA._OFF: failed
Trying \_SB.PCI0.P0P2.VGA._OFF: failed
Trying \_SB_.PCI0.OVGA.ATPX: failed
Trying \_SB_.PCI0.OVGA.XTPX: failed
Trying \_SB.PCI0.P0P3.PEGP._OFF: failed
Trying \_SB.PCI0.P0P2.PEGP._OFF: failed
Trying \_SB.PCI0.P0P1.PEGP._OFF: failed
Trying \_SB.PCI0.MXR0.MXM0._OFF: failed
Trying \_SB.PCI0.PEG1.GFX0._OFF: works!
[root@eta richard]# cat /proc/acpi/call 
not called
[root@eta richard]# 
[root@eta richard]# echo '\_SB.PCI0.PEG1.GFX0._OFF' > /proc/acpi/call
[root@eta richard]# cat /proc/acpi/call 
0x0
[root@eta richard]# acpi
Battery 0: Discharging, 78%, 03:01:07 remaining

(edited slightly to make it more readable)

Neither dmesg nor journalctl says anything else than that it was loaded correctly.

Have I missed something or does anyone know any solution?

Offline

#2 2012-11-08 19:07:38

Lekensteyn
Member
From: Netherlands
Registered: 2012-06-19
Posts: 179
Website

Re: acpi_call not working. [did before]

1. acpi_call does not work through suspend/resumes.
2. acpi_call should not be used when a driver is loaded.
3. use bbswitch instead (see also http://wiki.bumblebee-project.org/Compa … M-methods).

See https://wiki.archlinux.org/index.php/Bu … Management (note that the rc.d script mentioned there is obsolete, it should be converted to systemd).

Offline

#3 2012-11-08 19:31:04

ri
Member
Registered: 2008-10-09
Posts: 73

Re: acpi_call not working. [did before]

Lekensteyn wrote:

1. acpi_call does not work through suspend/resumes.
2. acpi_call should not be used when a driver is loaded.
3. use bbswitch instead (see also http://wiki.bumblebee-project.org/Compa … M-methods).

See https://wiki.archlinux.org/index.php/Bu … Management (note that the rc.d script mentioned there is obsolete, it should be converted to systemd).

I see...

Actually I first tried bbswitch but it didnt work so I went back too good old acpi_call, maybe a little bit too quickly. I'll give bbswitch another try!

Thanks

Offline

Board footer

Powered by FluxBB