acpi
Justin Georgeson
justin_georgeson at yahoo.com
Fri Nov 5 03:07:57 UTC 2004
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?
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.
More information about the ubuntu-users
mailing list