[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Power-Button



At Tue, 16 Nov 2004 13:13:47 +0100 (CET),
Andreas Tille wrote:
> 
> 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 ...
> 

You need the following as root:
Try stopping acpid
/etc/init.d/acpid stop
and then
cat /proc/acpi/event

This is where acpid gets its acpi events from. Now try pressing your power
button (you can also check your lid button just in case to make sure). If you
are not getting a message from the power button then for some reason the kernel
is not generating the messages, probably an acpi or a dsdt problem. If it worked
in 2.6.8 I am guessing an acpi bug though.

> Kind regards
> 
>           Andreas.
> 
> -- 
> http://fam-tille.de
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 



Reply to: