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

Bug#880203: After suspend&resume, cpufreq/scaling_max_freq is ignored



Package: linux-image-4.9.0-4-amd64
Version: 4.9.51-1

To avoid fan noise, I set up my laptop such that it sets a low CPU frequency upon boot via

for i in `seq 0 7`; do echo 1200000 > /sys/devices/system/cpu/cpu$i/cpufreq/scaling_max_freq; done

in a startup script.

This all goes well until I make a break in my work by closing the laptop lid (which then suspends the laptop) and resuming later. After resume, we still have low frequency in scaling_max_freq, but this setting is ignored:

$ for i in `seq 0 7`; do cat /sys/devices/system/cpu/cpu$i/cpufreq/scaling_max_freq; done
1200000
1200000
1200000
1200000
1200000
1200000
1200000
1200000
$ cat /proc/cpuinfo | grep MHz
cpu MHz         : 1899.853
cpu MHz         : 1900.964
cpu MHz         : 1899.853
cpu MHz         : 1899.853
cpu MHz         : 1899.853
cpu MHz         : 1899.853
cpu MHz         : 1899.853
cpu MHz         : 947.546
$ for i in `seq 0 7`; do cat /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor; done
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave

Moreover, the fan kicks in, and the laptop feels to run without speed restrictions (noisy fan, etc.)

Any bugfix?

Thanks in advance,
Leon


Reply to: