A small daemon to adjust cpu speed and voltage (and not only) for kernels using any of the cpufreq drivers available. Cpufreqd is not a userspace governor.
Cpufreqd allows you to apply governor profiles from rules based on battery level, ac status, temperature (ACPI or sensors), running programs, cpu usage and (maybe) more. You can also change your nforce FSB clock and video card frequency (NVidia only) or execute arbitrary commands when a specific rule is applied.
You need a CPU with frequency and voltage scaling capabilities and a Linux kernel with cpufreq support.
|Debian package:||apt-get install cpufreqd|
|Gentoo ebuild:||emerge cpufreqd|
To build cpufreqd from source you will require:
- libcpufreq (from cpufrequtils)
- libsensors4 or libsensors3
- nvclock (>= 0.8)
The project is hosted on SourceForge.
Changelog from previous versions
- Mattia Dongili (1):
- libsensors4 doesn't need a configuration file on init
- Sigh... I forgot this one patch
- Mattia Dongili (1):
- Fix segfault on reading the second battery value
- Andrew Cleveland (1):
- Rework to support libsensors4 and a few additional features
- Martin von Gagern (1):
- Fix CPU_ALL rules evaluation
- Mattia Dongili (7):
- Kill all the trailing spaces
- Allow underscores in ACPI thermal zone names
- Remove the old .cvsignore file
- Fix sensors feature reading
- Allow dashes and underscores in feature names
- Also close the sysfs_attribute if reading fails
- Allow even more characters in sensors names
- Wiz (1):
- Read sysfs attribute immediately after opening it
- Fix segfault when no battery directory present (i.e.: on desktops)
- Make the acpi thermal comaptible with kernels >2.6.25 when the type has changed from "ACPI Thermal Zone" to "acpitz"
- Squash some converison warnings (gcc 4.3 is very loud about it)
- Allow labels for sensor features
- Support reading the acpi battery status from charge_* sysfs attributes
- Fix damn stupid bug that made cpufreq spin forever if there is no socket available and it is started with -m (manual mode)
- Fix some logging as well in acpi_battery
- even more silent about non fatal failures
- acpi_event more resistant to acpid dying, it tries to reopen the socket if it loses the connection
- use sysfs acpi class devices to read system status (/proc is not supported anymore, if you don't want't to switch to /sys do not install this version of cpufreqd)
- rescan batteries on acpi events
- fix invalid profile checking
|acpi (includes ac, battery, event, temperature)||Working||--enable-acpi|
|acpi_lid||Under development||patch available for 2.2.1|
Copyright (C) 2002-2009 Mattia Dongili <email@example.com> George Staikos <firstname.lastname@example.org>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA