Help on software suspend
This page gathers bits of information about getting software suspend to work in debian. Because software suspend is still experimental, it is not enabled by default on most machines. Depending on your system, a few more steps are needed to get suspend partially or fully working.
For more reading material, see also the links at the bottom of this page about hibernate and suspend.
The following scripts were needed to get suspend to ram working on a ?ThinkPad X22 running linux-image 2.6.14-2 and tracking unstable.
# enable xscreensaver source /proc/`pidof xscreensaver`/environ && xscreensaver-command -lock ## optional: eject all pcmcia devices #cardctl eject || true # go to sleep echo mem > /sys/power/state
Make sure the files you create in /etc/acpi/actions are executable:
$ sudo chmod +x /etc/acpi/actions/custom_sleep.sh
[http://www.columbia.edu/~ariel/acpi/acpi_howto.html ACPI ?HowTo]