[ltp] Re: Workarounds and tips for thinkpads running 2.6.23/2.6.24
Marcus Better
linux-thinkpad@linux-thinkpad.org
Wed, 06 Feb 2008 23:40:00 +0100
Hi,
Henrique de Moraes Holschuh wrote:
> 1. Always have acpid running.
Got it.
> You need it for a lot of stuff, like the
> sleep and power buttons, display LID, and a lot of other stuff.
Sleep and lid buttons generate ACPI events, but nothing happens. I think the acpi-support scripts are no-ops since they detect kpowersave. Kpowersave is configured to act on those events, but that does not happen. Any hints?
Running 2.6.24 (x86_64), Thinkpad R60, Debian.
Feb 6 23:30:49 melech acpid: received event "button/lid LID 00000080 00000006"
Feb 6 23:30:49 melech acpid: notifying client 6554[114:119]
Feb 6 23:30:49 melech acpid: notifying client 22753[0:0]
Feb 6 23:30:49 melech acpid: executing action "/etc/acpi/lid.sh"
Feb 6 23:30:49 melech acpid: action exited with status 0
Feb 6 23:30:49 melech acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000006"
Feb 6 23:30:49 melech acpid: action exited with status 0
Feb 6 23:30:49 melech acpid: completed event "button/lid LID 00000080 00000006"
Feb 6 23:39:32 melech acpid: received event "ibm/hotkey HKEY 00000080 00001004"
Feb 6 23:39:32 melech acpid: notifying client 6554[114:119]
Feb 6 23:39:32 melech acpid: notifying client 22753[0:0]
Feb 6 23:39:32 melech acpid: executing action "/etc/acpi/sleepbtn.sh"
Feb 6 23:39:32 melech acpid: action exited with status 0
Feb 6 23:39:32 melech acpid: completed event "ibm/hotkey HKEY 00000080 00001004"
> 2. Unless you know better (and you have patched acpid), you *NEED* the
> "deprecated /proc/acpi/event" support, so make sure to compile it in on
> 2.6.24.
Done that...
Cheers,
Marcus