Jump to content

Swsusp: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
fmt
it's tuxonice now I hear
Line 1: Line 1:
{{lowercase|swsusp}}
{{lowercase|swsusp}}
'''swsusp''' (Software Suspend) is a [[suspend-to-disk]] implementation in the 2.6 series [[Linux kernel]]. It is the [[Linux]] equivalent of [[Microsoft Windows|Windows]] [[Hibernate (OS feature)|hibernate]] functionality. To enable swsusp, the following should be selected during kernel configuration :
'''swsusp''' (Software Suspend) is a [[suspend-to-disk]] implementation in the 2.6 series [[Linux kernel]]. It is the [[Linux]] equivalent of [[Microsoft Windows|Windows]] [[Hibernate (OS feature)|hibernate]] functionality. It's now called [[TuxOnIce]].
To enable swsusp, the following should be selected during kernel configuration :


<pre><nowiki>
<pre><nowiki>
Line 17: Line 19:


== See also ==
== See also ==
*[[TuxOnIce]]
*[[TuxOnIce]], the descendant of swsusp
*[http://suspend.sf.net/ muswsusp] userspace software for suspending to ram and/or disk
*[http://suspend.sf.net/ muswsusp] userspace software for suspending to ram and/or disk



Revision as of 10:32, 6 September 2009

swsusp (Software Suspend) is a suspend-to-disk implementation in the 2.6 series Linux kernel. It is the Linux equivalent of Windows hibernate functionality. It's now called TuxOnIce.

To enable swsusp, the following should be selected during kernel configuration :

Power management options → <*>Power management support (CONFIG_PM) 
Power management options → <*>Software Suspend (CONFIG_SOFTWARE_SUSPEND) 
Power management options → [/dev/resume_partition]Default resume partition (CONFIG_PM_STD_PARTITION) 

The /dev/resume_partition needs to be replaced by the actual swap partition that is to be used for suspending. Otherwise resume=/dev/resume_partition can be given as a parameter during system bootup. The actual suspend is done by :

echo shutdown > /sys/power/disk; echo disk > /sys/power/state

swsusp lacks some features, such as compression and graphical progress indication. You can still get them, 2.6.18+ kernels allow suspend to be controlled from userspace.

See also

  • TuxOnIce, the descendant of swsusp
  • muswsusp userspace software for suspending to ram and/or disk