From: Jeroen Van der Vegt <A.J.vanderVegt@ITS.TUDelft.nl>
To: cpufreq@www.linux.org.uk
Subject: Userspace: available processorspeeds
Date: Mon, 06 Oct 2003 11:19:25 +0200 [thread overview]
Message-ID: <3F81339D.6010305@ITS.TUDelft.nl> (raw)
Hello,
I'm trying to write a userspace processor-speed governor for my laptop,
an Asus L3000D. It has an AMD Athlon Mobile processor and runs on Linux
2.6.0-test5 (and Debian unstable).
For some reason, my laptop crashes when the speed changes from maximum
to minimum at once. So my program is to step the speed only to the next
level available. This is repeated every 5 seconds, so both the maximum
and minimum speed are reachable.
The available speeds are printed when the module PowerNow is loaded, but
isn't there a 'better' way to retrieve this information? There doesn't
seem to be a file listing all possible speeds in either /proc nor /sys.
Have I overlooked a file perhaps, or is there some function call I can use?
Besides this, I have experienced the following weirdness: according to
/sys/.../scaling_min_freq, my processor's minimum speed is 532 Mhz. I
have, however, had it running at 292Mhz (as reported by /proc/cpuinfo).
It's not really reproducible unfortunately, and I only noticed it once
or twice.The laptops keeps working fine though, so it's not much of a
problem to that respect. Any actions I should take the next time I see it?
Regards,
Jeroen van der Vegt.
next reply other threads:[~2003-10-06 9:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-06 9:19 Jeroen Van der Vegt [this message]
2003-10-06 12:38 ` Userspace: available processorspeeds Ducrot Bruno
2003-10-06 19:59 ` Dave Jones
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=3F81339D.6010305@ITS.TUDelft.nl \
--to=a.j.vandervegt@its.tudelft.nl \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox