curaga
Group: Members
Posts: 2163
Joined: Feb. 2007 |
|
Posted: Dec. 22 2007,17:02 |
|
With apm, it would be controlled by your bios and need (usually) a specific hibernate partition. With acpi, it is done entirely in software. Either might or might not work.
For acpi: Check /proc/acpi/power, especially the contents of "state". My lappie has the choices standby, mem and disk. Standby is a light suspend-to-ram; power is on, but is consumed very sparingly, ideal for a laptop ;) Mem is supposed to be a heavier suspend-to-ram; it doesn't work for me. Disk is most interesting; it saves your RAM into your swap and turns off. And on the next boot, the kernel sees this and continues normally. This requires adding resume=/dev/hda2 (or whatever your swap partition is) to the boot line, and making sure you have more swap than ram.
To trigger one of these states:Quote | sudo echo -n "standby" > /proc/acpi/power/state |
-------------- There's no such thing as life. Those mean little jocks invented it ;) - Windows is not a virus. A virus does something!
|