- To: Debian Laptop-Liste <email@example.com>
- Subject: Re: Power-Button
- From: Koen Vermeer <firstname.lastname@example.org>
- Date: Tue, 16 Nov 2004 11:32:17 +0100
- Message-id: <1100601136.3945.12.camel@zibal>
- In-reply-to: <Pine.LNX.4.61.0411161054410.2627@wr-linux02>
- References: <Pine.LNX.4.61.0411161054410.2627@wr-linux02>
- The Debian repository you mentioned does not seem to contain the 1.00
version of the hibernate script, which is required for the 2.1.5 version
- Let the acpi daemon log all events. Then, you can see what the string
looks like when you press the power button. In my case, it already logs
all events in /var/log/acpid. The kernel has nothing do to with this, so
you probably won't find anything in the kernel source.
Op di 16-11-2004, om 11:07 schreef Andreas Tille:
> I just compiled Kernel 2.6.9 (from Debian source packages) with the additional
> patches for SoftwareSuspend2
> and Centrino WLAN
> Both patches applied fine and compiled without any problems. I'm currently
> unable to test the wireless because there is no hotspot around.
> I also used the latest version of the hibernate scripts
> and used the package source from
> deb-src http://cp.yi.org/apt/hibernate /
> to build Debian packages for the latest version. BTW, is there any reason
> that this is not moved to an official Debian package?
> Calling /usr/bin/hibernate explicitely works fine with the slight and
> ignorable exception that the X screen is sometimes scrambled and I just have
> to press a key / move the mouse to get it right - kind of a strange screen
> saver. :)
> Unfortunately I'm not able to call hibernate via the power button. I'm using
> the latest acpid which has a script /etc/acpi/events/powerbtn which says:
> event=button[ /]power
> For debugging issues I used
> echo "`date`: Power-Button pressed" >> /var/log/lid.log
> in my /etc/acpi/powerbtn.sh script before calling
> sudo /usr/sbin/hibernate
> but not even this log entry is written and thus I assume that the event
> was renamed. I tried to browse the kernel source but did not found
> something helpful. The lid button works fine with
> and a similar debugging line.
> Any hint what might went wrong here?
> Kind regards