From ArchWiki
Revision as of 14:26, 12 November 2006 by Čabrilo (talk | contribs) (Step 3: Suspend to disk (suspend2disk): basics)
Jump to: navigation, search


The goal of this article is to get cpu speedstepping. Also suspend to ram and possibly to disk too, both possible for standard (non-root) users. This should all be provided by the powersaved daemon.

Required packages

  • extra/powersave
  • extra/gnome-power-manager (or kde equivalent)(optional)

Install by doing:

pacman -Sy powersave gnome-power-manager

Post-installation steps

  1. Add your user to the power group (e.g. by editing /etc/group).
  2. Put powersaved into the deamons array in /etc/rc.conf, or manually start the deamon (/etc/rc.d/powersaved start with root privileges).
  3. Run gnome-power-manager (if applicable). gnome-power-preferences can be used if you cannot see the program icon in the system tray by default.

Step 1: CPU Stepping

Step 2: Suspend to ram (suspend2ram)

If using gnome-power-manager, you can click Suspend on the system tray icon. From console, run:

powersave -u

Problems can be diagnosed in /var/log/suspend2ram.log

Step 3: Suspend to disk (suspend2disk)

In order to get suspend2disk to work (this is labeled as hibernate by Gnome convention), you will need to edit your GRUB menu.lst file (e.g. /boot/grub/menu.lst).

Add resume=/dev/swap as the kernel argument to menu.lst, where swap is your swap device.


# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz]
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/hda3 resume=/dev/hda4 ro
initrd /boot/kernel26.img

Reboot before you attempt to use the feature.

You can suspend to disk by clicking on Hibernate in gnome-power-manager menu or in console by:

powersave -U

Problems can be diagnosed in /var/log/suspend2disk.log file.

Known issues