[ltp] ACPI on T41p

Daniel Jimenez linux-thinkpad@linux-thinkpad.org
Sun, 04 Apr 2004 16:40:44 -0500


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

Thanks,
-- 
Daniel Jimenez <djimenez[at]pobox[dot]com>