[ltp] acpi and fn+something

Frederik Wagner linux-thinkpad@linux-thinkpad.org
Thu, 15 Jul 2004 16:59:52 +0200


Hi,

On Thu, 15 Jul 2004 16:54:09 +0200
marius <mariusmueller@gmx.de> wrote:

> Hello
> 
> I am configuring acpi events.
> 
> # /etc/acpi/events/sleepbtn
> event=button[ /]sleep
> action/etc/acpi/sleep.sh
> 
> But it doesn't execute sleep.sh, when I press Fn+F4 or it doesn't work 
> also with the power button. Do I have to install tpctl or do something else?

first: you are missing the '=': action=/etc/acpi/sleep.h
second: don't forget to restart the acpid:  /etc/init.d/acpid restart

Bye, Frederik