|
Setup LaptopConfigSetup user_acpidThere are two different programs, the frontend ltpconf and an user_acpid daemon.You need the acpid to run on your machine, install it via your distos package-tool ( apt-get install acpid on Debian ) or get it at http://acpi4linux.sf.net and follow the installing instructions in the README. Note for Debian users: You have to enable socket-support which is disabled by default. Just comment out the folling line in /etc/default/acpid
Afterwards you have to restart the daemon as root with
Unfortunately the acpid only support system-wide settings of the events, so you can't
bind commands on a per user base. There is a samples directory in this package which you can put in your $HOME with:
Note for Debian users: be sure to enable the session "Debian" in your displaymanager,
otherwise the .xsession may not be processed.
Setup proper /etc/cpufreqd.conf permissionsLaptopConfig may write all the necessary things to /etc/cpufreqd.conf.This file is owned by root, so you can't write to it as a normal user. A possible solution for this is to change cpufreqd.conf's access rights. We will create a new group called "ltpconf" and hand thr group-ownership to this group. Then you need to give this group write access to the owning group. As a last step, you add all user who need to change cpufreqs settings to the group ltpconf. It follows a step by step instruction:
Mount the sysfs for Linux 2.6Be sure to load the sysfs on Linux 2.6. As root, add the following line to your /etc/fstab:
Load the appropriate cpufreq kernel-modulesYou need to load the right cpufreq-driver for your system.Use one of the list below (see /usr/src/linux/Documentation/cpufreq for details):
|