Code: Select all
# pwmconfig
# pwmconfig revision 6243 (2014-03-20)
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 motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.
We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.
Found the following devices:
hwmon0 is acpitz
hwmon1 is coretemp
hwmon2 is nct6776
Found the following PWM controls:
hwmon2/pwm1 current value: 255
hwmon2/pwm2 current value: 255
Giving the fans some time to reach full speed...
Found the following fan sensors:
hwmon2/fan1_input current speed: 1235 RPM
hwmon2/fan2_input current speed: 1290 RPM
Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue:
Testing pwm control hwmon2/pwm1 ...
hwmon2/fan1_input ... speed was 1235 now 0
It appears that fan hwmon2/fan1_input
is controlled by pwm hwmon2/pwm1
Would you like to generate a detailed correlation (y)?
PWM 255 FAN 1204
PWM 240 FAN 1236
PWM 225 FAN 1222
PWM 210 FAN 1146
PWM 195 FAN 1115
PWM 180 FAN 1062
PWM 165 FAN 980
PWM 150 FAN 904
PWM 135 FAN 834
PWM 120 FAN 782
PWM 105 FAN 693
PWM 90 FAN 625
PWM 75 FAN 0
Fan Stopped at PWM = 75
hwmon2/fan2_input ... speed was 1290 now 1298
no correlation
Testing pwm control hwmon2/pwm2 ...
hwmon2/fan1_input ... speed was 1235 now 1221
no correlation
hwmon2/fan2_input ... speed was 1290 now 0
It appears that fan hwmon2/fan2_input
is controlled by pwm hwmon2/pwm2
Would you like to generate a detailed correlation (y)?
PWM 255 FAN 1243
PWM 240 FAN 1255
PWM 225 FAN 1278
PWM 210 FAN 1208
PWM 195 FAN 1160
PWM 180 FAN 1089
PWM 165 FAN 1012
PWM 150 FAN 922
PWM 135 FAN 884
PWM 120 FAN 787
PWM 105 FAN 700
PWM 90 FAN 637
PWM 75 FAN 0
Fan Stopped at PWM = 75
Testing is complete.
Please verify that all fans have returned to their normal speed.
The fancontrol script can automatically respond to temperature changes
of your system by changing fanspeeds.
Do you want to set up its configuration file now (y)?
What should be the path to your fancontrol config file (/etc/fancontrol)?
Loading configuration from /etc/fancontrol ...
Select fan output to configure, or other action:
1) hwmon2/pwm2 3) Change INTERVAL 5) Save and quit
2) hwmon2/pwm1 4) Just quit 6) Show configuration
select (1-n): 5
Saving configuration to /etc/fancontrol...
Configuration saved
# systemctl start fancontrol.service
Job for fancontrol.service failed because the control process exited with error code.
See "systemctl status fancontrol.service" and "journalctl -xe" for details.
# systemctl status fancontrol.service -l
â fancontrol.service - fan speed regulator
Loaded: loaded (/lib/systemd/system/fancontrol.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-03-14 19:10:40 CET; 4min 23s ago
Docs: man:fancontrol(8)
man:pwmconfig(8)
Process: 5350 ExecStartPre=/usr/sbin/fancontrol --check (code=exited, status=1/FAILURE)
Mar 14 19:10:40 leon-host systemd[1]: Starting fan speed regulator...
Mar 14 19:10:40 leon-host fancontrol[5350]: Loading configuration from /etc/fancontrol ...
Mar 14 19:10:40 leon-host fancontrol[5350]: Some mandatory settings missing, please check your config file!
Mar 14 19:10:40 leon-host systemd[1]: fancontrol.service: Control process exited, code=exited status=1
Mar 14 19:10:40 leon-host systemd[1]: Failed to start fan speed regulator.
Mar 14 19:10:40 leon-host systemd[1]: fancontrol.service: Unit entered failed state.
Mar 14 19:10:40 leon-host systemd[1]: fancontrol.service: Failed with result 'exit-code'.