LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-01-2004, 10:03 PM   #1
moneyshotz
Member
 
Registered: Jun 2003
Posts: 75

Rep: Reputation: 15
cpufreqd troubles


I'm trying to throttle my CPU. I got a centrino thinkpad t40 and i'm using kernel 2.4.26.
I patched it so I can load the cpufreq drivers w/ the governors

but when I tried running cpufreq it doesnt seem to be throttling my freq when i checked under /proc/cpuinfo

i tried running this at the prompt: cpufreqd -f /usr/local/etc/cpufreqd.conf

and I even tried calling this script in my rc.local
If anyone can help me out that would be great.


Code:
#!/bin/sh
# Start/stop/restart cpufreqd.

FREQD_PATH="/usr/local/sbin/"
CONFIG_FILE="/usr/local/etc/cpufreqd.conf"

# Start cpufreqd:
cpufreqd_start() {
  if [ -x $FREQD_PATH/cpufreqd ]; then
    echo "Starting cpufreqd daemon with config file: $CONFIG_FILE"
    $FREQD_PATH/cpufreqd -f $CONFIG_FILE
  fi
}

# Stop cpufreqd:
cpufreqd_stop() {
  killall cpufreqd
}

# Restart cpufreqd:
cpufreqd_restart() {
  cpufreqd_stop
  sleep 1
  cpufreqd_start
}

case "$1" in
'start')
  cpufreqd_start
  ;;
'stop')
  cpufreqd_stop
  ;;
'restart')
  cpufreqd_restart
  ;;
*)
  echo "usage $0 start|stop|restart"
esac
 
Old 07-02-2004, 05:54 AM   #2
moneyshotz
Member
 
Registered: Jun 2003
Posts: 75

Original Poster
Rep: Reputation: 15
I can manually throttle the freq by these

echo "0:1200000:1200000owersave" >/proc/cpufreq
echo "0:500000:500000owersave" >/proc/cpufreq

but I still dont know why cpufreqd aint working
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cpufreqd issues shellcode Linux - Laptop and Netbook 8 10-28-2005 05:54 PM
cpufreqd 1.2.2 rule TLV Linux - Laptop and Netbook 0 11-15-2004 05:30 AM
k-7 powernow(cpufreqd) on a laptop w/o PST tables microsoft/linux Linux - Laptop and Netbook 1 11-01-2004 12:02 PM
SuSE 9.1 cpufreqd no longer loads wiresquire Linux - Distributions 2 06-26-2004 03:12 PM
how to use cpufreqd dejavu_01 Slackware 2 05-18-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration