BACK
Doc
Incrementals
Index
Official
OldStuff

Software suspend under Linux

Software suspend

As usual, the following informations are provided as is, with no warranty of any kind. Use this at your own risk.

Software suspend is a kernel patch that provides the ability to suspend execution of the kernel without using any APM BIOS feature. This is really useful either if your BIOS is broken (for instance you have bought a larger disk than the original one and the BIOS is unable to handle it :-() or if you frequently swap from windows to linux because this feature allows you to save your linux session on disk instead of rebooting.

Software Suspend Console

Software suspension related scripts

The following scripts try to help users in using software suspension. Use option --install to install each script and its configuration file. Edit the latter to tune the settings. Changelog is included in each script.
Version File Date and size Change Log
suspend script (Version: 0.14) .SH 17/08/2012 12:41
40367 octets
This script let you suspend your computer smoothly. It makes some checks before actually suspending to prevent some possible misbehaviours of swsusp. It restores clock upon resume and start/stop services such as usb or pcmcia for which devices could change between suspension and resume.
battery script (Version: 0.12) .SH 17/08/2012 12:41
11430 octets
This script is for ACPI users. It monitors battery power and takes appropriate action when AC is off to reduce consumption. It also activates suspension when battery power reaches its end. It provides also a small xterm with remaining capacity of the battery.
acpi script (Version: 0.12) .SH 17/08/2012 12:41
6083 octets
This script is for ACPI users. It monitors the ACPI button events and provides a way to automatically suspend when you close your lid, and halt the computer if you press the power button.

Patches

2.4.20 kernel

Version File Date and size Change Log
v19beta-2.4.20 .GZ 17/08/2012 12:41
50961 octets
This patch is against vanilla kernel. The changes are detailed through the incremental patches below.
v19beta-acpi20021212 .GZ 17/08/2012 12:41
48430 octets
This patch can be applied against the acpi modified kernel.
v16beta-2.4.20 .GZ 17/08/2012 12:41
36784 octets
This patch is against vanilla kernel. The changes are detailed through the incremental patches below.
This version is currently the most stable one. If you can't get swsusp to work with beta16, you can try more recent releases, but for the moment beta19 isn't as reliable as beta16, due to big changes in suspension process.
v16beta-acpi20021212 .GZ 17/08/2012 12:41
37139 octets
This patch can be applied against the acpi modified kernel.
This version is currently the most stable one. If you can't get swsusp to work with beta16, you can try more recent releases, but for the moment beta19 isn't as reliable as beta16, due to big changes in suspension process.

2.4.21 kernel (pre-versions)

Version File Date and size Change Log
v19beta-2.4.21-pre5 .GZ 17/08/2012 12:41
47657 octets
This patch is against pre-versions of vanilla kernel.
v19beta-acpi20030228 .GZ 17/08/2012 12:41
48291 octets
This patch can be applied against the acpi modified kernel (pre versions).

2.4.19 kernel

Version File Date and size Change Log
v16beta-2.4.19 .GZ 17/08/2012 12:41
36919 octets
This patch is against vanilla kernel. The changes are detailed through the incremental patches below.
v15beta-acpi20020918 .GZ 17/08/2012 12:41
36597 octets
This patch can be applied against the acpi modified kernel.

2.4.18 kernel

Version File Date and size Change Log
v12beta-2.4.18 .GZ 17/08/2012 12:41
34475 octets
This patch is against vanilla kernel. The changes are detailed through the incremental patches below.
v11beta-acpi20020726 .GZ 17/08/2012 12:41
33433 octets
This patch can be applied against the acpi modified kernel.
v9beta-2.4.19-rc1-ac2 .GZ 17/08/2012 12:41
20733 octets
This patch can be applied against Alan Cox's kernel.
Since 2.4.19-rc1-ac3 swsusp has been discontinued in Alan's tree. So I no more provide patch for his kernels.

2.2.20 kernel

Version File Date and size Change Log
v7c-2.2.20 .GZ 17/08/2012 12:41
28674 octets
This is the outdated version of patch for 2.2 kernels. It is adapted from v7c-2.2.19 patch but it is no more maintained. Software suspend was first developped by Gabor Kuti and he used to maintain a page for his patch.


Doc Here is the actual documentation on the project. It includes a mini-Howto and some frequently asked questions on the swsusp mailing list.
Incrementals For hackers that want to follow swsusp development, here are the incremental patches from one version to another.
Official The swsusp project has an official page at SourceForge Logo
The here patch is an adaptation to 2.4 kernel source trees with some bug fixes. Most of the work was done by Pavel Machek, who now maintain the suspend stuff in 2.5 kernel.
OldStuff I gather here all the old stuff about swsusp. All this should be considered as obsolete but maybe your answer is here, who knows ;-)
BACK
Doc
Incrementals
Index
Official
OldStuff

Florent Chabaud
E-mail: florent.chabaud@m4x.org
GPG key: KEY