LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-31-2009, 07:46 AM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
CPU frequency control Cool n'Quiet in Slackware64 13


In 12.2 I have cpu frequency control working. When there is no load cpu frequency is cut back to 1000.

I cannot get this to work in 13. In particular there is a file /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor which is present in 12.2 and absent in 13.

Any ideas?
 
Old 08-31-2009, 08:11 AM   #2
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
I have worked out a way round this

rc.modules has
Quote:
CPUFREQ=battery

# If CPUFREQ=battery and the battery module is loaded, turn on CPUfreq.
if [ "$CPUFREQ" = "battery" ]; then
if /sbin/lsmod | grep -wq battery ; then
# CPUFREQ=battery and a battery was detected, so change CPUFREQ
# to 'on' so that the block of script below will try to enable it.
CPUFREQ=on
fi
fi

### Enable CPU frequency scaling if requested:
if [ "$CPUFREQ" = "on" ]; then
so it seems that cpu governor is not invoked on a desktop.

I changed the initial CPUFREQ=battery to CPUFREQ=on and it is working properly and my cpu is running some 30 degrees Celsius cooler.
 
Old 08-31-2009, 12:22 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Any ideas?
Yes, this bit me too. You have to manually edit rc.modules.

As is:
CPUFREQ=battery

Change to:
CPUFREQ=on
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cpu frequency scaling with Pentium(R) Dual-Core CPU E5200 @ 2.50GHz tramni1980 Slackware 5 08-16-2009 08:29 AM
cpu frequency concerns mrclisdue Slackware 5 10-10-2008 06:15 PM
LXer: Temperature and CPU Frequency Control with Linux LXer Syndicated Linux News 0 05-04-2008 01:50 PM
CPU frequency scaling PatrickMay16 General 10 07-10-2007 08:07 PM
Inspiron 6000 CPU Frequency Control Issues Chryzmo Slackware 1 11-20-2005 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:29 PM.

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