SlackwareThis Forum is for the discussion of Slackware 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.
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.
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?
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:
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.
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:
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.
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:
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.
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.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
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).
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%
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%
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.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.