Public bug reported:

Hi,

I have HP EliteBook 8440p with quadcore CPU, using Ubuntu 12.04 and Gnome-Shell 
3 using two bateries.
I noticed following:
When batery comes under certain available power and/or when laptop is on power 
adapter and bateries are charging, until bateries are over 85% (not sure 
correct number), I can't change scaling_max_freq to maximum number.
It stays on lowest possible freq and can't be changed.
When bateries are over 85%, I can change this file.

vi says : "E667: Fsync failed" when I try to save the chages.
echo 2534000 > scaling_max_freq doesn't say anything, it just silently does 
nothing.
I am using performance governor.

This is my rc.local which I use to set frequencies and governour:
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

echo 2534000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 2534000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 2534000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 2534000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

And here is my /etc/sysfs.conf
devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
devices/system/cpu/cpu1/cpufreq/scaling_governor = performance
devices/system/cpu/cpu2/cpufreq/scaling_governor = performance
devices/system/cpu/cpu3/cpufreq/scaling_governor = performance  

devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2534000
devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2534000
devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2534000
devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2534000

/etc/init.d/ondemand is disabled.

I changed all this files, because I got performance problems (cpu on maximum 
when using firefox and laptop was draging).
Then I noticed that I can set cpu (with indicator-cpufreq) to more then minimum 
freq, so I found out that my scaling_max_freq is also on lowest frequency.

uname -a
Linux 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux

Bug is similar to this bugs?
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/396432
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/242006

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1050843

Title:
  scaling_max_freq always on lowest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1050843/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to