Fan config isn't persisted after reboot

Hi there! I’m having the problem that my fan is really loud.

I fixed this problem about a year ago, but recently the issue appeared again. When I run pwmconfig and then restart fancontrol, the fan gets quiet enough that it doesn’t bother me. However, this is only temporary: When I reboot the PC, the fan is really loud again.

systemctl status fancontrol reveals the following error after a reboot:

Okt 01 20:24:57 ludwig-pc fancontrol[515]:   MINSTART=150
Okt 01 20:24:57 ludwig-pc fancontrol[515]:   MINSTOP=0
Okt 01 20:24:57 ludwig-pc fancontrol[515]:   MINPWM=0
Okt 01 20:24:57 ludwig-pc fancontrol[515]:   MAXPWM=255
Okt 01 20:24:57 ludwig-pc fancontrol[515]:   AVERAGE=1
Okt 01 20:24:57 ludwig-pc fancontrol[515]: Device path of hwmon4 has changed
Okt 01 20:24:57 ludwig-pc fancontrol[515]: Device name of hwmon4 has changed
Okt 01 20:24:57 ludwig-pc fancontrol[515]: Configuration appears to be outdated, please run pwmconfig again
Okt 01 20:24:57 ludwig-pc systemd[1]: fancontrol.service: Main process exited, code=exited, status=1/FAILURE
Okt 01 20:24:57 ludwig-pc systemd[1]: fancontrol.service: Failed with result 'exit-code'.

Do you know how to fix this?

Click to see (hopefully useful) system information

Screenfetch:

/usr/bin/screenfetch: Zeile 1802: 3315867648-: Syntaxfehler: Operator erwartet. (Fehlerverursachendes Zeichen ist "-").

 ██████████████████  ████████     ludwig@ludwig-pc
 ██████████████████  ████████     OS: Manjaro 21.1.4 Pahvo
 ██████████████████  ████████     Kernel: x86_64 Linux 5.13.19-2-MANJARO
 ██████████████████  ████████     Uptime: 46m
 ████████            ████████     Packages: 1735
 ████████  ████████  ████████     Shell: fish 3.3.1
 ████████  ████████  ████████     Resolution: 1920x1080
 ████████  ████████  ████████     DE: KDE 5.86.0 / Plasma 5.22.5
 ████████  ████████  ████████     WM: KWin
 ████████  ████████  ████████     GTK Theme: Dracula [GTK2/3]
 ████████  ████████  ████████     Icon Theme: breeze-dark
 ████████  ████████  ████████     Disk: 88G / 102G (91%)
 ████████  ████████  ████████     CPU: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G @ 4x 3.1GHz
 ████████  ████████  ████████     GPU: AMD KAVERI (DRM 2.50.0, 5.13.19-2-MANJARO, LLVM 12.0.1)
                                  RAM: 3315867648-

Here’s the content of /etc/fancontrol:

# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon4=devices/platform/it87.2608
DEVNAME=hwmon4=it8772
FCTEMPS=hwmon4/pwm3=hwmon4/temp1_input
FCFANS= hwmon4/pwm3=hwmon4/fan2_input
MINTEMP=hwmon4/pwm3=20
MAXTEMP=hwmon4/pwm3=60
MINSTART=hwmon4/pwm3=150
MINSTOP=hwmon4/pwm3=0

Here’s the output of sensors:

it8772-isa-0a30
Adapter: ISA adapter
in0:         828.00 mV (min =  +0.00 V, max =  +3.06 V)
in1:           1.51 V  (min =  +0.00 V, max =  +3.06 V)
in2:           2.04 V  (min =  +0.00 V, max =  +3.06 V)
in3:           2.08 V  (min =  +0.00 V, max =  +3.06 V)
in4:           1.12 V  (min =  +0.00 V, max =  +3.06 V)
in5:           1.12 V  (min =  +0.00 V, max =  +3.06 V)
in6:           2.22 V  (min =  +0.00 V, max =  +3.06 V)
3VSB:          3.29 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:          3.34 V  
fan1:           0 RPM  (min =   11 RPM)  ALARM
fan2:        2445 RPM  (min =   22 RPM)
fan3:           0 RPM  (min =   19 RPM)  ALARM
temp1:        +41.0°C  (low  = +85.0°C, high = +90.0°C)  sensor = thermistor
temp2:        +40.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +10.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal diode
intrusion0:  ALARM

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +10.0°C  (high = +70.0°C)
                       (crit = +70.0°C, hyst = +69.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +10.0°C  (crit = +127.0°C)

radeon-pci-0008
Adapter: PCI adapter
temp1:        +11.0°C  (crit = +120.0°C, hyst = +90.0°C)

fam15h_power-pci-00c4
Adapter: PCI adapter
power1:           N/A  (crit =  65.19 W)

Summary of sensors-detect:

Now follows a summary of the probes I have just done.
Just press ENTER to continue: 

Driver `k10temp' (autoloaded):
  * Chip `AMD Family 15h thermal sensors' (confidence: 9)

Driver `it87':
  * ISA bus, address 0xa30
    Chip `ITE IT8772E Super IO Sensors' (confidence: 9)

Driver `fam15h_power' (autoloaded):
  * Chip `AMD Family 15h power sensors' (confidence: 9)

Do you want to overwrite /etc/conf.d/lm_sensors? (YES/no): 

Content of /etc/conf.d/lm_sensors:

# Generated by sensors-detect on Fri Oct  1 20:17:49 2021
# This file is sourced by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded.
#
# The format of this file is a shell script that simply defines variables:
# HWMON_MODULES for hardware monitoring driver modules, and optionally
# BUS_MODULES for any required bus driver module (for example for I2C or SPI).

HWMON_MODULES="it87"
1 Like
  • Kernel 5.13 is EOL so please install both 5.4 and 5.10 LTS (Long Term Support) and see which one of the two troubles you least.

:crossed_fingers:

Thank you, @Fabby! Switching to Linux 5.10 and then running pwmconfig did the trick.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.