Puting system to 'sleep'

Carsten carscht at jpberlin.de
Mon Jan 10 14:18:11 UTC 2005


Matthew Garrett wrote:

> PMDisk isn't enabled in the default Warty kernel. Hoary will ship with
> swsusp enabled by default.

Obviously you're right. I confused the options CONFIG_PM and 
CONFIG_PM_DISK. Will swsusp be shipped with Hoary even if it won't be 
part of the default kernel yet at that time?

>>echo -n "standby" > /sys/power/state
> 
> 
> Uh, that's not PMDisk. Depending on whether you're on an APM or an ACPI
> system, that'll trigger a fairly light suspend to RAM.

So this command just uses the possibilities ACPI/APM include themselves?

> It's likely that Hoary will support suspend to RAM on most machines, but
> it may not be enabled by default.

In my experience suspend to disk worked on more machines than suspend to 
RAM. Maybe that was just my personal experience, but technically I'd 
also imagine it a much easier task to write a RAM image to disk and load 
it back from there to resume than keeping everything in RAM while 
switching off all other devices. But as not at all being involved in 
that kind of development this is a hardly-facts-based and abstract idea 
of mine. ;-)

Sincerely,
Carsten




More information about the ubuntu-users mailing list