no CPU frequency scaling /no cpufreqd.conf , what to do?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
no CPU frequency scaling /no cpufreqd.conf , what to do?
I am planning to switch completely to Slackware,
one of the last things left is the CPU frequency scaling.
I have a AVERATEC laptop, Sempron 2600+.
When I install SUSE 9.2/10.0,I get automatically an icon(battery or plug), clicking on it I change my powersave options, CPU freq. options etc.
There is this YAST power management module, too.
In Slackware I compiled and installed 2.6.17.1 kernel, and first I didn't even get /proc/acpi/thermal_zone directory, and KDE control center told:
"partial ACPI installation".
Ok, as I found out in the LQ forums, one has to build ACPI features in the kernel, ( I had them as modules on Suse, and it worked fine)
Ok, I recompiled kernel with ACPI built in, now I have ACPI installed.
Question: what about cpu freuqency control daemons?
Are there no such daemons/scripts in the default SLackware 10.2 install?
And if there are some, how will I enable them?
Another question
I see that there are several utilities for CPU scaling: like cpufreqd, cpuspeedy, cpudyn etc. And what about powersave utilites -do they include CPU scaling functions?
In other words: if I have to get something, which is not in the custom install, which program will deal with ALL powersave features(including scaling)?
and add a line to my /etc/lilo.conf after the line image= ....
initrd = /boot/initrd.gz
and rerun
lilo -v
and reboot.
Then I load the needed modules for cpu frequence scaling, I think in your case
/sbin/modprobe powernow-k7
and start
/sbin/cpuspeed -d.
The last two commands I have in my /etc/rc.d/rc.local, so that they start by default.
I was successful with this method on all notebooks (Compaq EvoN600c, EvoN400c, Armada M700, Amilo, Medion MD-Series, Toshiba Libretto).
The program "cpuspeed" you find with google. It works much better than "cpufreqd" and you don't need an configuration file. "Userspace" (Slackware default cpu scaling) is enough and your CPU works great. Just install it and it will be fine ...
Thanks, Fluxx!
I'll check cpuspeed program (going to compile and installl today)
But concerning initrd - i think it is only extra work, it is much "easier" just to compile acpi modules in the kernel, and then you don't have to specify initrd in lilo/grub -one line less!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.