Table of Contents

, ,

Temperature control CentOS / Fedora

Control the fan speed to reduce noise.

Retrieve useful information

Configure with pwmconfig

fancontrol service

pwmconfig generated configuration file

/etc/fancontrol

# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon2=devices/platform/it87.656
DEVNAME=hwmon2=it8728
FCTEMPS= hwmon2/device/pwm1=hwmon2/device/temp3_input
FCFANS=hwmon2/device/pwm3=hwmon2/device/fan1_input  hwmon2/device/pwm1=hwmon2/device/fan1_input
MINTEMP= hwmon2/device/pwm1=25
MAXTEMP= hwmon2/device/pwm1=60
MINSTART= hwmon2/device/pwm1=80
MINSTOP= hwmon2/device/pwm1=50
MINPWM=hwmon2/device/pwm1=0

Addition information

List hwmon sensors

ls /sys/class/hwmon/ -al

total 0
drwxr-xr-x.  2 root root 0  8 jun 12:40 .
drwxr-xr-x. 52 root root 0  8 jun 12:40 ..
lrwxrwxrwx.  1 root root 0  8 jun 10:15 hwmon0 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon0
lrwxrwxrwx.  1 root root 0  8 jun 10:16 hwmon1 -> ../../devices/platform/coretemp.0/hwmon/hwmon1
lrwxrwxrwx.  1 root root 0  8 jun 12:39 hwmon2 -> ../../devices/platform/it87.656/hwmon/hwmon2

Show labels

Does not work on all (newer?) systems.

cd /sys/class/hwmon/hwmon2/device
grep "" temp*label

temp1_label:SYSTIN
temp2_label:CPUTIN
temp3_label:AUXTIN
temp6_label:PECI Agent 0

Supermicro / CentOS 6

I had to change /usr/sbin/fancontrol to set value 5 on reset instead of 0

        # Try pwmN_enable=5
        echo 5 > $ENABLE 2> /dev/null
        if [ `cat $ENABLE` -eq 5 ]