LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-12-2008, 02:30 PM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
sensors fanspeed and all that jazz


Running Slackware 12 on a desktop and a laptop.

Is it normal practice or advisable to configure the system to load the sensors and use them to control fan speed? Am I best off with it or without it? Is it genuinely useful for making the system quieter?
 
Old 01-12-2008, 03:37 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Most laptops usually handle their own cooling settings. Not all work though. You can look under /proc/acpi and the items under to see what there is. Example on mine.
cat /proc/acpi/fan/FAN0/state
Many many files under there but all systems very. Have seen some not show much at all and that is because of using non standard acpi controls.

Brian
 
Old 01-12-2008, 03:57 PM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
And desktops?

alan@Lavankossot:~$ cat /proc/acpi/fan/FAN0/state
cat: /proc/acpi/fan/FAN0/state: No such file or directory
 
Old 01-12-2008, 04:48 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Well the question is. Is there a /proc/acpi/fan/FAN0 directory? Like I said it varies from machine to machine as to what is under /proc/acpi. Desktop do the same as well.

Brian
 
Old 01-12-2008, 04:59 PM   #5
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Not desktop fans are controlled by ACPI. I think, that those who are powered directly from the power supply unit can't be controlled.
 
Old 01-12-2008, 05:29 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
It depends on the board but some like tyan server boards can see rpm of the fan. But have not seen any that can actually control the on and off of a fan on Desktop machine.

Brian
 
Old 01-12-2008, 08:18 PM   #7
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
most modern fans can be controlled ... run sensors-detect and load the correct modules and then run fancontrol. IT will work fine.

its not done usually cos most modern mobos do this automatically and you don't have to care about it.
 
Old 01-13-2008, 05:24 AM   #8
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
This is really confusing. I have a fairly modern setup
ASUS A8N-VM - Nforce 410 PCI-Express Mainboard - Micro ATX
I hear the fan going, I do not know if anything is controlling it. I do not know if there is any point in taking this any further.

I have tried running sensors-detect and then making the changes to my system. I then ran pwmconfig which found two fans which can be controlled. But I do not know which of about five temperature readings each fan control should be looking at or what the temperature readings should be to trigger the fans.
 
Old 01-13-2008, 09:10 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If you don't know, then just let the BIOS handle it. If you don't specifically want to control the fans, it is done automatically by the BIOS.
 
Old 01-14-2008, 03:18 AM   #10
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Quote:
I hear the fan going, I do not know if anything is controlling it. I do not know if there is any point in taking this any further.
it is pretty obvious. If the fan speed increases when you heat up the room or reduces when it is really cold outside (additionally when you don't use too much of cpu the fan speed should decrease) then you can know someone is controlling fan speed. If the fan speed remains constant regardless of whether you are compiling the kernel or just reading a txt file then I guess no one is controlling.


your mobo should I think support fan speed control. Open the BIOS Settings (DEL key at startup etc.) and tinker around there somewhere (additionally read the mobo manual).
 
Old 01-15-2008, 03:21 AM   #11
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
I have has a look in the Bios. There is something called Athlon Cool N'Quiet which is enabled in the Bios. I believe that there are linux kernel modules that are supposed to deal with us but I have no idea if they are loaded or what to do to get this working.

In the Hardware monitor section there is

CPU Q-Fan control which is disabled. Enabling it gives a range of CPU Fan Ratios including auto and values between 90 and 60%
 
Old 01-15-2008, 03:21 AM   #12
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
I have had a look in the Bios. There is something called Athlon Cool N'Quiet which is enabled in the Bios. I believe that there are linux kernel modules that are supposed to deal with us but I have no idea if they are loaded or what to do to get this working.

In the Hardware monitor section there is

CPU Q-Fan control which is disabled. Enabling it gives a range of CPU Fan Ratios including auto and values between 90 and 60%
 
Old 01-15-2008, 09:30 AM   #13
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
yeah enabling that should do it imho
 
Old 01-16-2008, 07:34 AM   #14
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
Well I believe that I have cool'n'quiet working. Had to uncomment a couple of lines in rc.modules and add a few lines to rc.local. The system monitor shows that cpu frequency drops 50% when idling and temperatures fall as well.

However I cannot hear any change in the fan speed so I suspect that this isn't being handled in the BIOS. I could probably get thos to work with pwmconfig but I am worried about the risk of toasting my processor and I am not sure that it is worthwhile.
 
Old 01-16-2008, 08:36 AM   #15
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
the quiet part is what I was talking about. I never thought you also wanted to reduce frequency. Infact, I think there is a KDE widget kcpufrequency or something . Read up on scaling governors and cpu scaling in the kernel documentation. You can change the scaling governor on the fly btw.

changing frequency will get you cool, to get quiet you need to reduce fan speed. run sensors-detect and then fancontrol. To understand which temp sensor is for the cpu, the heuristic I use is that the CPU is generally the hottest temp you will see, the mobo is usually little cooler .

but as I said, play around with your mobo bios, this should all happen automagically by the firmware.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with lm-sensors and sensors-applet in gnome fakie_flip Linux - Hardware 5 07-15-2007 02:00 PM
GNOME Sensors Applet says NO SENSORS FOUND! badgerbox76 Linux - Newbie 2 12-24-2005 11:58 AM
Help with the basics, and all that jazz. JustTheFax Linux - Newbie 25 09-25-2005 11:22 AM
jazz++ barbqer Linux - Software 0 05-29-2004 04:25 AM
CPU fanspeed monitoring! DVDke Linux - Software 0 05-11-2003 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration