[ltp] ACPI on T41p
Brad Langhorst
linux-thinkpad@linux-thinkpad.org
Mon, 05 Apr 2004 08:43:17 -0400
On Sun, 2004-04-04 at 17:40, Daniel Jimenez wrote:
> Brad Langhorst wrote:
> > you need to learn about acpid
> > put this into a file in /etc/acpi/events
> >
> > event=button[ /]power
> > action=/etc/acpi/powerbtn.sh
> >
> > then when you push the power button that script will get run.
> >
>
>
> Thanks Brad, I just installed acpid before I recieved your mail. I
> noticed that when I do tail -f /proc/acpi/events and hit a function
> key/power button nothing happens. Is this normal? I thought I would test
> this before using acpid. It seems acpid doesn't detect my button
> presses. I'm on kernel 2.6.4
try compiling the button feature as a module - that's how i did it.
There was a bug that caused events to get lost after the first suspend
cycle but i thought it got fixed in 2.6.4
brad