I have a Lenovo Thinkpad on which the kernel driver thinkpad_acpi is
supporting special keys like Fn+F3 => sleep etc.  Fn+F5 is supposed to
be bluetooth on/off and is handled in a special way: It's only
supported through the event interface, not as a key press. 

This used to work fine with acpid, but is failing after installing
linux-image-2.6.29-1-amd64, in which CONFIG_ACPI_PROC_EVENT is disabled.

I run acpid like this (-n added after upgrading to 2.6.29 kernel):

 /usr/sbin/acpid -l -n

and have a log any event script enabled:

 bj...@nemi:~$ cat /etc/acpi/events/any 
 event=.*
 action=/etc/acpi/logit.sh %e

 bj...@nemi:~$ cat /etc/acpi/logit.sh 
 #!/bin/sh
 echo `date`: $* >>/var/log/acpi-log


Still, there is nothing printed in /var/log/acpi-log when pushing Fn+F5


Bjørn



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to