Suspend2
Installing Software Suspend 2 for Ubuntu breezy, Kernel 2.6.12
Download the appropriate versions of Software Suspend 2 Kernel patches and the hibernate scripts from http://www.suspend2.net/downloads/all/.
Applying the kernel patches:
Configuring the new options available:
Finally, the hibernate scripts provides a convenient and configurable way to send the system to sleep. After executing
Basic suspend worked fine - now playing around with the configuration :)
A more extensive howto can be found at http://www.suspend2.net/HOWTO.html
Download the appropriate versions of Software Suspend 2 Kernel patches and the hibernate scripts from http://www.suspend2.net/downloads/all/.
Applying the kernel patches:
~# cd /usr/src/linux ~# /path/to/software-suspend-version-for-kernel-version/applyAn `All Happy' response from the script confirms the successful application of the patches.
Configuring the new options available:
# Softwareuspend2 CONFIG_SOFTWARE_SUSPEND2=y CONFIG_SOFTWARE_SUSPEND2_BUILTIN=y CONFIG_SOFTWARE_SUSPEND_SWAPWRITER=y CONFIG_SUSPEND2_FILEWRITER=y CONFIG_SOFTWARE_SUSPEND_LZF_COMPRESSION=y CONFIG_SOFTWARE_SUSPEND_TEXT_MODE=y CONFIG_SOFTWARE_SUSPEND_DEFAULT_RESUME2='swap:/dev/resume_partition' # CONFIG_SOFTWARE_SUSPEND_KEEP_IMAGE is not set CONFIG_SOFTWARE_SUSPEND_CHECK_RESUME_SAFE=y # CONFIG_SOFTWARE_SUSPEND_DEBUG is not set # CONFIG_SOFTWARE_SUSPEND_DEVELOPER is not set... where `/dev/resume_partition' is the default swap partition -
fdisk -l knows more if in doubt. (Also configurable via the resume2=swap:/dev/resume_partition/ kernel boot option.)Finally, the hibernate scripts provides a convenient and configurable way to send the system to sleep. After executing
./install.sh from the hibernate-script source dir, the program gets installed in /usr/local/sbin/hibernate with the appropriate configfiles in /etc/hibernate/Basic suspend worked fine - now playing around with the configuration :)
A more extensive howto can be found at http://www.suspend2.net/HOWTO.html
Comments
No new comments allowed (anymore) on this post.







