lkml.org 
[lkml]   [2003]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PowerNow!, cpufreq, and swsusp
On Wed, Mar 12, 2003 at 12:06:33PM -0500, Christopher Meredith wrote:

> Also, cpufreq doesn't seem to do anything. Should it be
> working automatically?

no.

> Even when the machine sits unattended
> for over 8 hours, the fan never turns off and the cpu
> temperature is consustently 69-70 degrees C.

The kernel doesn't define policy, but exposes the necessary
interface to userspace. There are a few folks working on
tools / scripts to adjust the speed dynamically.
look through the cpufreq mailing list archives to find them
(or google)

> What must I do here?

Read Documentation/cpu-freq/user-guide.txt

short: mount sysfs, and ..

(root@evo:cpufreq)# cd /sys/class/cpu/cpufreq/cpu0/cpufreq
(root@evo:cpufreq)# cat /proc/cpuinfo | grep MHz
cpu MHz : 1390.536
(root@evo:cpufreq)# echo powersave >scaling_governor
(root@evo:cpufreq)# cat /proc/cpuinfo | grep MHz
cpu MHz : 529.728
(root@evo:cpufreq)# echo performance >scaling_governor

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.998 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site