cpufreqd - Monitor and manipulate CPU frequency ChangeLog

HOWTO


# Cpu Frequency Daemon 2.0.0 (cpufreqd)
# ==========================
# Prerequisites:
# gawk
# sed
# grep
# Kernel with CPUFreq support and either APM, ACPI, or PMU
# cpufrequtils
# lm_sensors (optional)

cd
test -f installed/cpufreqd-2.0.0.tar.bz2 &&
mv installed/cpufreqd-2.0.0.tar.bz2 .
test ! -f cpufreqd-2.0.0.tar.bz2 &&
wget http://download.sf.net/cpufreqd/cpufreqd-2.0.0.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "cpufreqd-*" -exec rm -r {} \;
tar xjvf ~/cpufreqd-2.0.0.tar.bz2
cd cpufreqd-2.0.0
test $UID = 0 && chown -R root:root .

# I use ACPI, don't have an nforce2, don't use APM, and don't use PMU
# Adjust your configure flags if that is not the case for you

./configure --disable-nforce2 --disable-apm --disable-pmu
make

# Become root to install it
su

# Back up existing cpufreqd.conf
test -f /usr/local/etc/cpufreqd.conf &&
( mkdir -p -m 0700 ~/backup
   cp /usr/local/etc/cpufreqd.conf ~/backup/
   chmod 600 ~/backup/cpufreqd.conf )

make install

# Become yourself again
exit

# Read 'man cpufreqd' and 'man cpufreqd.conf' and then open up
# /usr/local/etc/cpufreqd.conf and edit to taste

## Add something like this to /etc/rc.d/rc.local to start cpufreqd on
## boot-up:
# if [ -x /usr/local/sbin/cpufreqd ]; then
#   echo "Starting cpufreqd..."
#   /usr/local/sbin/cpufreqd
# fi

cd
mkdir -p -m 0700 installed
rm -f installed/cpufreqd-*.tar.*
mv cpufreqd-2.0.0.tar.bz2 installed/


# If you ever need to uninstall cpufreqd, this should do it:
cd
su
test -d src/cpufreqd-2.0.0 &&
( cd src/cpufreqd-2.0.0 ; make uninstall )
( cd /usr/local/bin ; rm -f cpufreqd-get cpufreqd-set )
( cd /usr/local/man/man1 ; rm -f cpufreqd-get.1 cpufreqd-set.1 )
rm -f /usr/local/etc/cpufreqd.conf /usr/local/lib/cpufreqd_* \
/usr/local/man/man5/cpufreqd.conf.5 /usr/local/man/man8/cpufreqd.8 \
/usr/local/sbin/cpufreqd
exit
find ~/src -maxdepth 1 -type d -name "cpufreqd-*" -exec rm -r {} \;
rm -f ~/installed/cpufreqd-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2005-11-28 11:08am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]