You are not logged in.
Hello everyone, I installed Archlinux on my new Toshiba U400/H00, everything works nicely, however, I need to manually scale cpu frequency when on AC/Battery, is there a way to make Gnome automatically scale it?
Thanks a lot!
Offline
i use CPU Frequency Scaling Monitor and when i'm on battery i select power save or ondeman. don't know if is something automaticaly
Last edited by wonder (2008-12-30 16:50:31)
Give what you have. To someone, it may be better than you dare to think.
Offline
i miss the feature in gnome-power-manager since the last upgrade of gnome. following the devs justification, they say that it should always be ondemand and so the power manager shouldn't have the option to change it.
Offline
Maybe just go down to acpid level and do it independently of DE devs idiosyncrasies?
For me, the following code in /etc/acpi/handler.sh does the job:
ac_adapter)
case "$2" in
ACAD)
case "$4" in
00000000)
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
;;
00000001)
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 499 > /proc/sys/vm/dirty_writeback_centisecs
;;
esac
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
I believe the original code there tried to set fixed clockspeeds for these situations, but I find changing governor much more flexible.
Edit: there were some ACPI-related bugs during 2.6.26-27 development cycle, it may happen that you won't get any ACPI events playing with power source. 2.6.28 cured all ACPI problems for me, but YMMV.
Last edited by briest (2008-12-30 19:30:05)
Offline
I have everything already setup with ACPI and cpufreqd personally. Check the archwiki for that. As for in gnome, you can fine control the behavior with the CPU Frequency Scaling Monitor for the gnome panel. It allows me to switch between layouts
Intrepid (adj.): Resolutely courageous; fearless.
Offline