On Tue, 16 Nov 2004, Ralf Gerlich wrote:
Have a look at /proc/acpi/button/.$ ls -l /proc/acpi/button/
total 0
dr-xr-xr-x 3 root root 0 Nov 16 13:09 lid
dr-xr-xr-x 3 root root 0 Nov 16 13:09 power
$ ls -l /proc/acpi/button/power/
total 0
dr-xr-xr-x 2 root root 0 Nov 16 13:10 PWRF
$ ls -l /proc/acpi/button/power/PWRF/
total 0
-r--r--r-- 1 root root 0 Nov 16 13:10 info
$ cat /proc/acpi/button/power/PWRF/info type: Power Button (FF)
For lid there is an extra state file:
$ ls -l /proc/acpi/button/lid/LID/ total 0
-r--r--r-- 1 root root 0 Nov 16 13:10 info
-r--r--r-- 1 root root 0 Nov 16 13:10 state
The available buttons should be listed there. If the power button isn't listed, then for some reason your kernel doesn't detect it. Whatever reason that may be...
When I configured the kernel I used my old 2.6.8 configuration via make oldconfig and the 2.6.8 kernel definitely detected the power button ...
I have no idea why this fails ...
Kind regards
Andreas.
-- http://fam-tille.de
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]