-   Linux - Software (
-   -   is it hibernation possible in linux? (

haimeltjnfg 02-19-2005 10:28 AM

is it hibernation possible in linux?
is it hibernation possible in linux?

mathman0 02-19-2005 02:11 PM

yes!its somewhat buggy(just introduced in the 2.6.x not sure of x, but it is in 2.6.10 kernel)it uses acpi, turn on software suspend when you configure the kernel, then under /proc/acpi there'll be two files, sleep and wakeup.

to hibernate
echo 4 > /proc/acpi/sleep
be sure to pass the resume=my_swap_partition
option to the kernel

also, to standby(dosen't power off, just less power consumption)
echo 1 > /proc/acpi/sleep
to wakeup
echo 1 > /proc/acpi/sleep

there's more info in
/Documentation/power/swsusp.txt(in the kernel source tree)

i have it working pretty well on my laptop...though for some reason once i resume two problems
-reboots again then resumes
-vt1 is wiped

besides that it works great, good luck!

Valhalla 02-19-2005 03:46 PM

If your interested on going for the complete bleeding edge there are a host of new suspend and sleep options in the 2.6.11 kernel, though I think most of them are unstable at best.

All times are GMT -5. The time now is 05:06 AM.