Hi,
Is fan control still broken?
Linux rockpro64 5.7.15-rockchip64 #20.08 SMP PREEMPT Mon Aug 17 00:26:28 CEST 2020 aarch64 aarch64 aarch64 GNU/Linux
echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon2/pwm1
echo 0 > /sys/devices/platform/pwm-fan/hwmon/hwmon2/pwm1
Commands line above work, but writing anything between (like 240, 200, etc.) does not.
I can hear noise imho coming from fan coils when I write 253 to pwm1, maybe it's pwm frequency too high/too low?
I checked two different 80x80mm fans, same result.
Fans start to spin connected to DC ~4V, so they should work for sure.
From kernel side there is pwm-fan module, but it can't take any parameters imho.
Every kernel version I checked comes with it's own values (lol), for. example:
https://github.com/ayufan-rock64/linux-kernel/pull/40/commits/5d9fbef9cfa01846dd0b4d66249df55c85fa344f