[Bug 751689] Re: ThinkPads overheat due to slow fans when on 'auto'

2012-04-13 Thread johanhelgesson
Here is a perl based script (PD controller) to control the fan speed. You must have sensors installed. Use / modify at your own risk ** Attachment added: "fan_t420s.pl" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/751689/+attachment/3060478/+files/fan_t420s.pl -- You received this bu

[Bug 751689] Re: ThinkPads overheat due to slow fans when on 'auto'

2012-04-13 Thread johanhelgesson
Here is a perl based script (PD controller) to control the fan speed. You must have sensors installed. Use / modify at your own risk ** Attachment added: "fan_t420s.pl" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/751689/+attachment/3060477/+files/fan_t420s.pl -- You received this bu

[Bug 344252] Re: CPU Frequency Scaling defaults to "Performance" instead of "OnDemand"

2010-11-07 Thread johanhelgesson
OK, I think I got it...well at least for you guys having speed stepped Intel CPUs: just edit '/etc/cpufreqd.conf' and make sure that the settings are correct. For me the default settings were ## # Basic states ## # when AC use performance mode [Rule] name=AC Rule ac=on# (on/of

[Bug 344252] Re: CPU Frequency Scaling defaults to "Performance" instead of "OnDemand"

2010-11-07 Thread johanhelgesson
The only way around it is to create a cronjob as root and reset to ondemand every once and awhile: cronjob -e add a job (every minute) */1 * * * * /usr/bin/cpufreq-set -g ondemand -d 100 -u 1833000 -c 0 */1 * * * * /usr/bin/cpufreq-set -g ondemand -d 100 -u 1833000 -c 1 Ugly as hell but

[Bug 344252] Re: CPU Frequency Scaling defaults to "Performance" instead of "OnDemand"

2010-11-07 Thread johanhelgesson
I also have this bug. The cpufreq govenor is always set to performance selecting the maximum freq (1.83GHz) for my 2 cores. I have to execute sudo cpufreq-set -g ondemand -d 100 -u 1833000 -c 0 sudo cpufreq-set -g ondemand -d 100 -u 1833000 -c 1 to get to ondemand. Annoyingly it does not