Re: [gpm] how to disable cpu frequency scaling?



On Mon, 2007-01-01 at 16:34 -0500, Brian Hinz wrote:
> Hi,
> 
> I was wondering if someone could tell me how to disable the cpu frequency 
> scaling component of the gnome power manager?  I have a fanless, transmeta 
> efficeon based laptop, and the GPM scaling behavior (max'd out whenever on 
> AC) causes it run *way* too hot (caught it idling at 70C the other day!!!!). 
>   Even under battery conditions, it runs about 8-10degC hotter than w/o GPM. 
>   I'd like to have a "don't touch" policy on the cpu, (as gpm seems to 
> totally override any longrun/sysfs settings) but otherwise retain all the 
> other features of GPM.

Sure, apologies. The newest g-p-m in CVS now defaults to ondemand for
both AC and battery, so that part of the problem is solved.

If you really want to disable the cpufreq stuff, I think you can just
change /apps/gnome-power-manager/cpufreq_ac_policy
and /apps/gnome-power-manager/cpufreq_battery_policy to "nothing" and
then g-p-m should ignore the setting. This is untested, so please tell
me if this works okay.

> Big kudos otherwise.  I've just switched from gentoo/fluxbox to gnome under 
> ubuntu and was *stunned* by the fact that suspend to ram worked without 
> having to apply the suspend2 patches - actually it seems to work better in 
> fact!

Cool, thanks. Stuff like video resuming should also get a bit better
when pm-utils is used by the big distros, and we are working on that
now. Expect more coolness. :-)

Richard.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]