[ltp] ACPI problem (bis)

Romuald Fleury linux-thinkpad@linux-thinkpad.org
Fri, 25 Feb 2005 21:07:33 +0100


It's me again,

i dont understand why my scripts in /etc/acpi/ are not started when i 
use the FN-Fx keys...

I check my /proc/acpi/event and the FN-Fx event appear as i said in my 
last post:

alca@foo:/etc/acpi $ sudo cat /proc/acpi/event
ibm/hotkey HKEY 00000080 00001003
ibm/hotkey HKEY 00000080 00001003

ibm-acpi module is loaded :

alca@foo:/etc/acpi $ sudo lsmod | grep ibm
ibm_acpi 23136 0

alca@foo:/etc/acpi $ cat /etc/acpi/events/ibm-blank
event=ibm/hotkey HKEY 00000080 00001003
action=/etc/acpi/ibm-blank.sh

I add an "echo" to check ...

alca@foo:/etc/acpi $ cat /etc/acpi/ibm-blank.sh
#!/bin/bash

echo "FN-F3 recu" >> /tmp/keyDetect

i check logs and nothing about the hotkey ... ( just the module loading log)

thx for your help

( 2.6.11rc4, debian/Sarge, T42P )