acpi

Matt Zimmerman mdz at canonical.com
Fri Nov 5 03:51:08 UTC 2004


On Fri, Nov 05, 2004 at 03:07:57AM +0000, Justin Georgeson wrote:

> I've noticed that in Windows, opening the laptop lid after entering S3 by
> closing the lid doesn't trigger a wake. I have to hit the power button. So
> I can put the `echo -n mem > /sys/power/state` in a script in /etc/acpi
> that is called on the lid event, and that works, but when I hit the power
> button while in S3, it seems to trigger a shutdown.  Understandable
> considering the registered script for the powerbtn event shuts down. How
> might I change the script to realise the machine is coming out of S3 and
> just restart pcmcia and network instead of shutting down?

This is a known bug, but I don't think it's in bugzilla yet.  Please file it
against acpid.

> Where do I look to figure out what the kernel is doing when I run the
> command `echo -n disk > /sys/power/state` and seemingly nothing
> happens? Do I have to patch/rebuild the kernel for this, I seem to recall
> mention that the swsusp stuff in the kernel.org kernels is left out of the
> binary kernel packages.

https://bugzilla.ubuntu.com/show_bug.cgi?id=2003

-- 
 - mdz




More information about the ubuntu-users mailing list