All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Opdenacker <zumbi3@free.fr>
To: cpufreq mailing list <cpufreq@www.linux.org.uk>
Subject: Shell script to select the right cpufreq module?
Date: Tue, 30 Mar 2004 21:27:33 +0200	[thread overview]
Message-ID: <4069CA25.2080806@free.fr> (raw)

Hello,

I'm testing Fedora Core 2 test 2 (FC2T2) and cpufreq works just fine! 
Thanks a lot for your good work!

By the way, in FC2T2, you have to set the DRIVER variable in 
/etc/cpuspeed.conf according to your processor (DRIVER=p4-clockmod in my 
case). Otherwise, even if you start the /etc/init.d/cpuspeed script, 
nothing happens.

I would like to automate that so that the /etc/init.d/cpuspeed script 
automatically loads the right cpufreq module if the cpu is supported. If 
users don't want cpu frequency scaling, they just have to disable this 
service at startup.

Does anyone here already have a shell script that reads /proc/cpuinfo 
and returns the name of the corresponding cpufreq module if the 
processor is supported?

Otherwise, I'll start to write one and ask you guys to test it, as I can 
only make tests on P4.

Thank you in advance,

    Cheers,

    Michael.

-- 

Michael Opdenacker
http://opdenacker.org/

             reply	other threads:[~2004-03-30 19:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-30 19:27 Michael Opdenacker [this message]
2004-03-30 20:31 ` Shell script to select the right cpufreq module? Dominik Brodowski
2004-03-30 21:02   ` Michael Opdenacker
2004-03-31 15:34   ` Carl Thompson
2004-03-31 15:44     ` Dominik Brodowski
2004-03-31 15:59       ` Dave Jones
2004-04-01  4:52         ` Carl Thompson
2004-04-01  7:53           ` Mattia Dongili
2004-04-01 12:48           ` Dave Jones
2004-04-02 22:15             ` Carl Thompson
2004-04-02 22:36               ` Dave Jones
2004-04-02 23:42                 ` Carl Thompson
2004-03-31 15:48     ` Michael Opdenacker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4069CA25.2080806@free.fr \
    --to=zumbi3@free.fr \
    --cc=cpufreq@www.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.