I am trying to control the fan on my router(Netgear WNDR4700/OpenWrt 18.06.4) following the guide posted here. But in my case it only seems to work for about 30 seconds, then the fan gets controlled by something else.
Also when I manually set the pwm to 0 it stops the fan for a short time(5..30secs), but then it turns on by itself:
echo "0" > /sys/class/hwmon/hwmon1/pwm1
If I set the pwm level to 255 or 100 or whatever value it also resets back(to 77) by itself.
There are no cron jobs and there is no /sbin/fan_ctrl.sh file affecting the fan. I can't figure out what is controlling it and how to stop it. Any ideas?