Can someone guide me on how to set up a PWM fan? I am able to control it manually with changing the values for period:
echo 0 > /sys/class/pwm/pwmchip0/export sleep 0.2 echo 40000 > /sys/class/pwm/pwmchip0/pwm0/period sleep 0.2 echo 10000 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle sleep 0.2 echo normal > /sys/class/pwm/pwmchip0/pwm0/polarity sleep 0.2 echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable
But how can I set up different values for different temperatures automatic on boot?
Thank you in advance!