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

 

Other posts of the serie

  1. Arch Linux Installation log pt. 1 - Introduction -
  2. Arch Linux Installation log pt. 2 - Core system -
  3. Arch Linux Installation log pt. 3 - Getting online -
  4. Arch Linux Installation log pt. 4 - Updating the system -
  5. Arch Linux Installation log pt. 5 - Add user(s) -
  6. Arch Linux Installation log pt. 6 - Configure Network Time Protocol -
  7. Arch Linux Installation log pt. 7 - Configure Power Management (This post) -
  8. Arch Linux Installation log pt. 8 - Configure Sound -
  9. Arch Linux Installation log pt. 9 - Installing and configuring X -

Leave a Reply