2011-02-03

Loud fans... WHAT?


Before becoming deaf, I thought it would be a nice idea to check what can be done to slow down the fans. The good keywords are 'fancontrol' and 'pwmconfig'. With these, plenty of setup descriptions can be found.


To resume quickly:
  1. check what sensors you can use: sudo sensors-detect
  2. copy the drivers like indicated. A manual copy is better to avoid duplicate entries in your /etc/modules
  3. (optional) Some sudo modprobe work can be necessary if the drivers are not loaded
  4. now, a call to sudo pwmconfig will configure the fan speeds. Follow the proposed steps, it is well explained
  5. now the /etc/fancontrol file was created
  6. running sudo fancontrol & activates the fan speed regulation based on the settings made with pwmconfig

Unfortunately, executing the command sudo fancontrol & got me an error in /usr/sbin/fancontrol at line 402... Looking there, I was middle in a UpdateFanSpeed function, and one the the variables got invalid value. Since this section looks like it reads the settings made in the /etc/fancontrol file, I looked there. The problem could be solved easily using information from pwmconfig about what temperature sensor name to use, since this was missing.

The fan control worked once I corrected the /etc/fancontrol from
FCTEMPS= hwmon0/device/pwm2=
to
FCTEMPS= hwmon0/device/pwm2=hwmon0/device/temp1_input

Note that hwmon0/device/temp1_input was my preferred sensor, chosen based on the measured temperatures shown during pwnconfig set-up. This is probably only valid for my box.

No comments:

Post a Comment