04-05-2019, 04:29 PM
(04-05-2019, 01:05 PM)Luke Wrote: Sorry, I wasn't clear. I want the fan to activate first when the SOC reaches 60*C and I want it to work continually at a temperature of 70*C.
I set the values accordingly in the config:
Code:-- Max Temperature Allowed for adjusting fan pwm( On this threshold, and above, fan is always on MaxValue )
MAX_CONTINUOUS_THERMAL_TEMP = 70,
-- Min Temperature threshold to activate/deactivate Fan
MIN_CONTINUOUS_THERMAL_TEMP = 60,
I checked with armbianmonitor that the SOC (which isn't really doing anything at the moment) hovers around ~45*C (max).
Despite this, the fan powers on for approx 2 seconds every minute or two.
I'll monitor whats happening using ats -t
Try, point 3) and 4) on my last comment,
Ans show at least point 3)
ats -t , with the service running
I noticed in the past that, kernels above 4.4.138-1097, do some interference in pwm.
I don't know if that could be the case here..
One way of testing it,
Would be stopping ats service and monitor pwm..
Something like:
Code:
while true;do pwm=$( cat /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1);if [ ${pwm} -ne 0 ];then echo "--->${pwm}"; fi; done
In this way, you can sort out if pwm automatically activates..
