Hello, So, pwmconfig fails to configure fancontrol because it fails to stop the CPU fan. Probably because the command # echo "0" > /sys/class/hwmon/hwmon1/pwm2 actually makes the CPU fan rotate full speed. As does 255. I found no way to stop the fan completely, but the command # echo "30" > /sys/class/hwmon/hwmon1/pwm2 makes it rotate very slowly, practically silently, and when I stop it with the finger it does not rotate again. This same slow "finger-stoppable" speed is there for about 29 to 50; with 25 or 60 it does restart if stopped by finger. So I assume that 30 gets me the minimum speed. I'd love to be able to stop it completely, but probably the mobo does not allow it? Or is there something I can try? Anyway - the CPU is a Pentium G2120. Under idle, which is really what I have most of the time, I get a CPU temperature of about 32 degrees even with the CPU fan stopped (though once it was stopped I did not close the case, and it's not very hot here, not over 20 degrees I think). I started stress -c 2 and glxgears (to give some GPU load). The temperature of the CPU (CPUTIN) rose very slowly with a stopped fan, crawling to 48 degrees in half an hour. Once I started the fan at the "30" minimum speed, the temperature "under stress" started falling.. And at that moment I get: # cat /sys/class/hwmon/hwmon1/fan2_input 0 If I raise the speed a bit, the fan2_input gets very erratic: # echo "70" > /sys/class/hwmon/hwmon1/pwm2 # cat /sys/class/hwmon/hwmon1/fan2_input 270000 # echo "100" > /sys/class/hwmon/hwmon1/pwm2 # cat /sys/class/hwmon/hwmon1/fan2_input 1942 # echo "30" > /sys/class/hwmon/hwmon1/pwm2 # cat /sys/class/hwmon/hwmon1/fan2_input 0 And as for the temperature sensor, I found it's this: # cat /sys/class/hwmon/hwmon1/temp2_input 42000 corresponds to a CPU temperature of 42 degrees. So, if there is no way to stop the fan, here is what I want fancontrol to do: - autostart, obviously, but I did find in google it's about enabling fancontrol.service - send 30 to /sys/class/hwmon/hwmon1/pwm2 usually, as the closest to a stop I can get - If the CPU temperature is over 48 degrees start raising the speed gently - and if it is over 55 degrees raise it all the way to 255, to protect the CPU I tried googling this and came up with this content for /etc/fancontrol: == INTERVAL=10 DEVPATH=hwmon1=devices/platform/nct6775.656 DEVNAME=hwmon1=nct6776 FCTEMPS=hwmon1/pwm2=hwmon1/temp2_input FCFANS=hwmon1/pwm2=hwmon1/fan2_input MINTEMP=48 MAXTEMP=55 MINSTART=60 MINSTOP=30 = Unfortunately fancontrol errors out, seemingly failing to read most of the configuration: == # fancontrol Loading configuration from /etc/fancontrol ... Common settings: INTERVAL=10 /usr/sbin/fancontrol: line 112: [: : integer expression expected /usr/sbin/fancontrol: line 124: [: : integer expression expected /usr/sbin/fancontrol: line 130: [: : integer expression expected Settings for hwmon1/pwm2: Depends on hwmon1/temp2_input Controls hwmon1/fan2_input MINTEMP= MAXTEMP= MINSTART= MINSTOP= MINPWM=0 MAXPWM=255 Enabling PWM on fans... Starting automatic fan control... /usr/sbin/fancontrol: line 403: let: mint=*1000: syntax error: operand expected (error token is "*1000") /usr/sbin/fancontrol: line 404: let: maxt=*1000: syntax error: operand expected (error token is "*1000") /usr/sbin/fancontrol: line 474: ((: 38000 <= : syntax error: operand expected (error token is "<= ") /usr/sbin/fancontrol: line 476: ((: 38000 >= : syntax error: operand expected (error token is ">= ") /usr/sbin/fancontrol: line 480: (38000-)*(255-)/(-)+: syntax error: operand expected (error token is ")*(255-)/(-)+") == What can I do to fix this? Alternatively, as a stop-gap measure, where can I put a command that will be executed at startup? In the days before systemd I'd just write some init script but not sure what to do now. I would just echo 30 to pwm2 and hope it will always be enough. Though of course it would be better with fancontrol! -- Yours, Mikhail Ramendik Unless explicitly stated, all opinions in my mail are my own and do not reflect the views of any organization -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org