You are not logged in.
Pages: 1
Hi!
I have isntalled cpufrequtils and the kernel modules
However, everytime I reboot SliTaz, I have to do
su
modprobe acpi-cpufreq
cpufreq-set -c 0 -g ondemand
cpufreq-set -c 1 -g ondemand
Because it seems to be not loaded at startup. If I just do "cpufreq-set -c 1 -g ondemand" without the modprobe command, it says the governor is not available...
And if I do no set cpufreq manually to "ondemand", it is set at performance by default.
Ho do I launch CPUfreq automatically at startup and how do I make the changes permanent?
PS: SliTaz is installed on my HDD
I have Toshiba NB305 notebook
I am using kernel 2.6.37 with SliTaz 4.0
Thank you for your help!
Offline
charlot
the easiest way is to write this three lines to /etc/init.d/local.sh
modprobe acpi-cpufreq
cpufreq-set -c 0 -g ondemand
cpufreq-set -c 1 -g ondemand
its a pitty, that SliTaz is without cpufrequtils and by default on performance
Offline
Would have put acpi-cpufreq in /etc/rcS.conf file's LOAD_MODULES myself. Both it and local.sh can be accessed from TazPanel's boot section.
Offline
That's fantastic.
Thank you both. You are awesome. I went in TazPanel's boot section and added the commands in the local.sh file. Worked like a charm.
Have a great day!
Offline
> the easiest way is to write this three lines to /etc/init.d/local.sh
>
> modprobe acpi-cpufreq
> cpufreq-set -c 0 -g ondemand
> cpufreq-set -c 1 -g ondemand
>
A while back someone here in the forum recommended these lines:
# Enable dynamic CPU frequency scaling
modprobe acpi-cpufreq
cd /sys/devices/system/cpu/cpu0/cpufreq
echo ondemand > scaling_governor
cd /sys/devices/system/cpu/cpu1/cpufreq
echo ondemand > scaling_governor
... is there any difference?
Offline
Both methods should do the exact same thing - one just uses a command line tool while the other is a more manual approach.
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]