One problem with my laptop is that it often maxes out at 100% cpu and shuts off. The way I've found to get round this on the Gnome desktop is to use cpufreq-utils as an applet to maximise the frequency to 1.8GHz (or is that MHz? ).
What's the best way of doing this on Antix with Fluxbox. I'd like something automatic if poss.
Ta.
topic title: cpufreq utils
5 posts
• Page 1 of 1
-
Posts: 112
- Joined: 18 Apr 2009
-
Posts: 2,238
- Joined: 16 Dec 2007
#2
I used to create menu entries that would issue the cpufreq cli commands up and down to set the cpu profiles.
-
Posts: 112
- Joined: 18 Apr 2009
#3
Good idea that. __{{emoticon}}__
Next question is how to I get a command to run as root without having to su or sudo?
Command I need is
cpufreq-set -f 1800000
Thanks
Next question is how to I get a command to run as root without having to su or sudo?
Command I need is
cpufreq-set -f 1800000
Thanks
-
DaveDavePosts: 1,062
- Joined: 20 Jan 2010
#4
I would make it part of the boot up sequence by making a init file in /etc/init.d, that is a start. I am not 100% sure on how to set it up to actually be called during boot ( it may be default ). I have only needed to do this on my server in which case I use webmin __{{emoticon}}__ but google is your friend for finding out I am sure.
-
Posts: 2,238
- Joined: 16 Dec 2007
#5
you could add cpufreq-set to the /etc/sudoers file and then issue"sudo cpu-set....." from a menu entry, the same way halt and reboot were set up in the older antix menu under flux (I believe they are still set up that way under sudoers). You can set it up so that a password is not required.