Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-03-2005, 09:53 AM
|
#1
|
Member
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57
Rep:
|
cpufreq and pentium M - Fans are almost always on!!!
I recently bought a laptop with centrino technology that comes with a
pentium M 2GHZ.
I used to have a laptop with an Athlon XP, 2000+ and when setting the
cpufreq to powersave (on the klaptop applet) the fans would almost not
turn on.
The same does not happen with my new processor. When I set it to
"powersave" and the processor speed drops down to 800 MGHZ, the fans are
still on for most of the time. Even if I'm just browsing!!
I also get this odd message when I'm turning off my computer; "Unloading
cpufreq modules: FAILED". But I must say that the modules are loaded.
Does anyone have any experience with pentium M processors? Do you have a
similar behaviour?
Maybe it is just normal, but when I on Windows the processor is much
quieter...
I realise I'm being quite vague but I can provide any details you need to
help me.
Any comments/suggestions will be most welcome.
Thanks a lot in advance,
nelsonnery
|
|
|
11-06-2005, 11:12 AM
|
#2
|
Member
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57
Original Poster
Rep:
|
I see that this is not a popular subject :-(
Let me ask then a different question.
How does this cpufreq thing works?
I know I need some daemon (like cpufred, powernowd, ...).
Which one would you recommend?
I am sure that there is someone out there with a Pentium M running on Linux...
I would like to know which behaviour do you have on your machine.
Thanks for all the comments and help.
nelsonnery
|
|
|
12-01-2005, 08:25 AM
|
#3
|
LQ Newbie
Registered: Nov 2003
Location: poland
Distribution: Slackware-9.0
Posts: 22
Rep:
|
Hey,
I'm running Slackware on Pentium-M machine and also experiencing some
problems obviously connected with ACPI. But yesterday I managed to do
a little step, that is inserting a 'processor' module. Try it, after that my fan
slowed down immediately.
I'm still googling for further responses to my questions (can not check the
temperature or change the cpu frequency on demand...) If you happened to
find anything out since one month ago, please write it here. Good luck!
I also found a nice site, it may help us both:
http://web.ics.purdue.edu/~nino/Linux/cpudyn.html
Last edited by peyotl; 12-01-2005 at 08:29 AM.
|
|
|
12-01-2005, 09:04 AM
|
#4
|
LQ Newbie
Registered: Oct 2004
Posts: 24
Rep:
|
I have also a Pentium M, but my fan is nearly never running. I didn't take much attension to power management and so on. I have acpi, and I get the message "acpi-cpufreq: CPU0 - ACPI performance management activated", when I boot. I also have the modules battery, button and ac, which seem to be related with acpi and the scripts acpid, cpuspeed and lm_sensors in /etc/init.d, which are executed on boot-up. When I take a look on the running processes, I can see, that acpid, lm_sensors and cpuspeed are running. But I have to admit, that I never checked, if it's working correctly, but at least I don't get any error messages.
|
|
|
12-02-2005, 05:32 AM
|
#5
|
LQ Newbie
Registered: Nov 2003
Location: poland
Distribution: Slackware-9.0
Posts: 22
Rep:
|
Are you able to check your system's temperature? Or the current FAN speed?
They should be available under the /proc system (/proc/acpi/thermal_zone and /proc/acpi/fan). Even after loading "thermal", "processor" and "fan" modules I cannot check current values because have these directories empty... Have you got any idea what might be the problem? Thanks!
|
|
|
12-05-2005, 04:56 PM
|
#6
|
LQ Newbie
Registered: Oct 2004
Posts: 24
Rep:
|
No, I can't read neither the temperature nor the fan speed, but maybe it isn't necessary to have this to be able to manage the fan speed correctly.
But I have the files info, limit, power and throttling in /proc/acpi/processor/CPU0/. My entries in info are:
processor id: 0
acpi id: 0
bus mastering control: yes
power management: yes
throttling control: yes
limit interface: yes
On http://acpi.sourceforge.net/document...processor.html I found some information about changing the states of the processor.
|
|
|
12-06-2005, 11:24 AM
|
#7
|
Member
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57
Original Poster
Rep:
|
Hi.
I think that part of my problem is that the minimum frequency I can get to in Windows is 600MHZ whereas in Linux is 800MHZ. Does anyone know how can I override the information Linux has about my processor so that I can lower the frequency down to 600MHZ?
Thanks.
nelsonnery
|
|
|
12-12-2005, 08:27 AM
|
#8
|
LQ Newbie
Registered: Nov 2003
Location: poland
Distribution: Slackware-9.0
Posts: 22
Rep:
|
There is a file somewhere under /sys/devices/system/cpu/.../ called scalling_minfreq or something similar. I don't
remember now. Try to "echo" a correct value to that file. I have never tried that however but believe it might help.
|
|
|
12-12-2005, 09:24 AM
|
#9
|
Member
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57
Original Poster
Rep:
|
Hi.
The file you refer is "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq"
I have
"# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
800000"
and this seems to be unchangeable because I have
"# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
2000000 (...some other ones... and ) 800000"
When I do
# echo "600000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
the shell that I'm using just hangs...
I start to think that what I need to change is the file
"cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies"
But using "echo" I get the same problem :-(
Any ideas?
Thanks for all the help.
nelsonnery
|
|
|
12-19-2005, 05:34 AM
|
#10
|
LQ Newbie
Registered: Nov 2003
Location: poland
Distribution: Slackware-9.0
Posts: 22
Rep:
|
Hello,
You're right, the "echo" trick doesn't work, my shell doesn't hang however...
But I think your problem lies somewhere else.. I also have the min_freq set as
800MHz (AFAIR in windoze it's 600) and my fans are off most of the time until I
start doing something really hard...
I'm running cpuspeed -d everytime I launch the system. This daemon sets the
frequency according to the load, but it certainly needs some modules inserted,
don't remember exactly. Try to run it, it might help.
But for me it's not enough anyway. After a few minutes of hard working my laptop
shuts down (and it's not a system shutdown, I believe it's initiated by some kind
of thermal-alert procedures...) I have completely no idea what to do, somehow it's
impossible to check temperatures and fans' speeds  I'm pretty sure that it's
hardware issue - after rebooting to windoze the problem remains. Maybe someone
has a similar problem..? I would be glad if there were any possibility to work
it around by some software tricks until I get angry enough to have it repaired ;-)
Cheers!
Last edited by peyotl; 12-19-2005 at 05:40 AM.
|
|
|
04-12-2006, 06:44 AM
|
#11
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
heya,
i find a good thing to do it to try use the 'ondemand' governor when running on batteries or AC. It then will clock the CPU at the lowest frequency when idle and bump it up to the full speed when you put a load on the CPU.
If you have all the governors compiled into your kernel or ready as modules you can try type #
to activate ondemand.
You can set the TRIP POINTS for when the fan kicks in as well... This way you can set it up so the trip point is at a higher temperature than when your machine is idle....
Check out this thread, has heaps of info
http://www.linuxquestions.org/questi...your+pentium+m
|
|
|
04-12-2006, 06:45 AM
|
#12
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
also i your are using ACPI you can check temp with:
# cat /proc/acpi/thermal_zone/THRM/temperature
|
|
|
All times are GMT -5. The time now is 04:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|