Arch Linux Installation log pt. 7 – Configure Power Management

October 13, 2009  |  Arch Linux

Since I’m installing on a laptop, I’ll want some power management installed. I will also want to use hibernate and suspend. This article explains how I made it happen.

Install the necessary packages

pacman -S acpi acpid acpitool cpufrequtils pm-utils laptop-mode-tools

Edit /etc/rc.conf and add the following to the MODULES list:

  • acpi-cpufreq
  • cpufreq-ondemand
  • cpufreq-powersave
pm_modules

Add the following to the DAEMONS list:

  • cpufreq
  • laptop-mode
pm_daemons

Edit /etc/conf.d/cpufreq and comment out the min_freq and max_freq lines, and make sure that governor=”ondemand”

cpufreq

Edit /boot/grub/menu.lst and add “resume=/dev/sda2″ to the kernel options

grub

Further reading on the Arch Linux Wiki


Leave a Reply