laptop standby
Jan Kokoska
kokoskaj at seznam.cz
Sat Oct 9 19:32:11 UTC 2004
On Sat, 2004-10-09 at 14:03 +0100, Eyal Oren wrote:
> On 10/09/04/10/04 13:36 +0100, Benjamin Roe wrote:
> thanks, this seems to work, but after entering suspending the system, it comes back immediately. In syslog I see that
> one device can't suspend ('could not suspend device ...), which is my ehci usb controller.
Unload the module then.
> do you happen to know how to solve this? (in windows the whole system suspends fine...)
See my other post in this thread.
> (and by the way, can you explain this /sys/power/state way of doing it, isn't apm -S the 'normal' way, or am I
> misinformed?)
That is "APM" vs. "ACPI in 2.6 kernel" way of doing it. The latter is
preferable, more functionality, development progressing.
> >
> > which now works fine on my laptop (suspending to memory). You shouldn't
> > need to add anything to your grub menu. Suspend to disk doesn't do
> > anything on my laptop yet though.
I would recommend patching kernel with swsusp2:
http://softwaresuspend.berlios.de/
With properly configured kernel you should be able to use their
"hibernate" script to suspend to you swap partition and resume after
partial boot (up to the point where the filesystems would get usually
mounted, swsusp2 takes over there).
Again (see my other post), it can be bound to laptop-specific buttons
and triggered through APCI event cought by acpid. Google for details.
On my ThinkPad suspend to memory takes ~3s, resume ~10s, to disk ~10s,
resume ~30s.
Regards,
Jan
More information about the ubuntu-users
mailing list