On Mon, 19 Aug 2002 11:08:42 +0300, Erez Doron wrote:

> windows XP supports hibernation out of the box, with no need for support
> on the laptop
> what about linux ?

There are two different modes of ``hibernation'': suspend-to-RAM, in which 
the machine powers down, except for the RAM which keeps being powered, and
suspend-to-disk, in which the content of the memory is dumped to the hard
drive, and restored on the next boot. 

There are patches implementing the latter (without the need for BIOS
support, even), but, in order for it to shutdown and resume propely, it
must know which device is connected to which: otherwise, it may shutdown
the IDE controller before the HD, for example, resulting in data loss.
Thus, for successful operation, they need some structures and calls only
available in the 2.5 series.

If you do feel adventrous, download the latest 2.5 kernel, and enable ACPI
(which will allow you to suspend-to-ram, and utilize the processor
C-states for reduced power consumption) and software suspend (which will
allow suspend to disk).

Otherwise, you may try patching a 2.4 kernel, but resuming from suspends
will sometimes won't work. But if you must, get the software suspend patch
from <http://falcon.sch.bme.hu/~seasons/linux/swsusp.html>, and the ACPI
patch from <http://www.sf.net/projects/acpi>.

        Shay.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to