Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can i control fan speed? On windows there is wonderful program called speedfan.

share|improve this question
Now follows a summary of the probes I have just done. Just press ENTER to continue: y Driver k10temp' (autoloaded): * Chip AMD Family 11h thermal sensors' (confidence: 9) No modules to load, skipping modules configuration. Unloading i2c-dev... OK Unloading cpuid... OK This is what I get. How to load modules now?? Next I get this......... admin@Compaq-Presario-CQ45:~$ sudo pwmconfig # pwmconfig revision 5857 (2010-08-22) This program will search your sensors for pulse width modulation (pwm) controls, and test each one to see if it controls a fan on your motherboard. Note that many motherboard – O_Anjum Mar 2 at 12:54

2 Answers

up vote 22 down vote accepted
  1. Install lm-sensorsInstall lm-sensors and fancontrolInstall fancontrol packages
  2. Configure lm-sensors

    1. In terminal type sudo sensors-detect and answer YES to all YES/no questions.
    2. At the end of sensors-detect, a list of modules that needs to be loaded will displayed. Type "yes" to have sensors-detect insert those modules into /etc/modules, or edit /etc/modules yourself.
    3. run sudo /etc/init.d/module-init-tools restart This will read the changes you made to /etc/modules in step 3, and insert the new modules into the kernel.
  3. Configure fancontrol

    1. In terminal type sudo pwmconfig . This script will stop each fan for 5 seconds to find out which fans can be controlled by which PWM handle. After script loops trought all fans, you can configure which fan corresponds to which temperature.
    2. In my case I set interval to 2 seconds.
  4. Run fancontrol

    1. sudo fancontrol and leave it open in console,

In my case for CPU I used:

   Settings for hwmon0/device/pwm2:  
  Depends on hwmon0/device/temp2_input  
  Controls hwmon0/device/fan2_input  
  MINTEMP=40  
  MAXTEMP=60  
  MINSTART=150  
  MINSTOP=0  
  MINPWM=0  
  MAXPWM=255 
share|improve this answer
15  
I tried to follow your guide, but got stuck at step three with this error: /usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed – tamale Dec 12 '11 at 15:54
7  
Mmm I have problems with sudo pwmconfig: /usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed – Brallan Aguilar Dec 21 '11 at 23:11
2  
I had the same problem with pwmconfig until I ran sudo sensors-detect – Gearoid Murphy Jan 1 '12 at 12:16
What to do if sudo sensors-detect doesn't come up with any sensors? --> Sorry, no sensors were detected. Either your system has no sensors, or they are not supported, or they are connected to an I2C or SMBus adapter that is not supported. If you find out what chips are on your board, check lm-sensors.org/wiki/Devices for driver status. – arno Aug 1 '12 at 8:23
it would be nice if you would explain how to make fancontrol running on boot. Also, I experience a problem after every reboot saying Configuration appears to be outdated, please run pwmconfig again when starting sudo fancontrol – 10robinho Feb 25 at 15:05

Install and configure the lm-sensorsInstall lm-sensors and fancontrolInstall fancontrol packages. This is a function that is supposed to be provided by ACPI compliant bios, but it seems that most motherboard vendors don't bother to follow the standard.

share|improve this answer
Can you provide more detailed instructions on how to install and use them? – Stefano Palazzo Jan 18 '11 at 14:43
You can find that in the man page, or at www.lm-sensors.org. – psusi Jan 18 '11 at 16:39
5  
I know, I just thought this answer could be better :) – Stefano Palazzo Jan 19 '11 at 13:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.