[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: Mechanism of Laptop's Suspend to Disc.



On Sun, 4 Mar 2001, Ralph Corderoy wrote:

> I've a Sony Vaio laptop that boots Linux.  I can trigger its `Suspend
> to Disc' with a key combination and the current contents of RAM are
> saved to a special partition and the machine powers off.  On power on
> the machine notes that the partition isn't empty and restores the
> machine to its previous state.

> What do people think?  Would it be possible without BIOS intervention?

There's a patch for Linux 2.0 (and maybe 2.2) called swsusp,
which does something like this (saving memory to disk and
loading it in again on the next boot).

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

		http://www.surriel.com/
http://www.conectiva.com/	http://distro.conectiva.com.br/

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.surriel.com/kernelnewbies.shtml