One more topic about FAN

Hello guys!
I have rock 5b+ with radxa fan.
Connection is solid, nothing is lose.
When I plug power fan makes half a rotation, so I assume that wires are OK.
I tried various solutions provided here on forum, but none works for me.
Can anyone assist me and help start my fan?

When I try to change governor back to ‘powe_allocatror’ it gives me

power_allocator governor is incompatible with pwm_fan driver. │
│ Please disable it and try again.

Can anyone assist?

I’m running this on my 5B+ to control the fan and it’s a nice application and service.

2nd that. Great app.

radxa@debsrvr:~/Desktop$ ./test_fan_run.sh
Trun on Fan
./test_fan_run.sh: line 4: echo: write error: Device or resource busy
./test_fan_run.sh: line 5: /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip*/pwm0/period: No such file or direct
ory
./test_fan_run.sh: line 6: /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip*/pwm0/duty_cycle: No such file or di
rectory
./test_fan_run.sh: line 7: /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip*/pwm0/polarity: No such file or dire
ctory
./test_fan_run.sh: line 8: /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip*/pwm0/enable: No such file or direct
ory

Script from wiki is not working.

Guys, I tried everything from this forum. Also fan control is not working for me>
fan is good 100% - tested on gpio pins.

These are the cli commands I use for debian build:

wget https://github.com/pymumu/fan-control-rock5b/releases/download/1.2.1/fan-control-rock5b.1.2.1.arm64.deb

sudo dpkg -i fan-control-rock5b.*.arm64.deb

systemctl enable fan-control
systemctl start fan-control

Do not work for me…

Any other solutions? I saw something regarding kernel update but not sure if I am diggin into right direction

What does lsmod|grep pwm show?

radxa@rock-5b-plus:~$ lsmod|grep pwm
pwm_fan 20480 0

adxa@rock-5b-plus:~$ ls /sys/class/thermal/cooling_device*/type
/sys/class/thermal/cooling_device0/type /sys/class/thermal/cooling_device3/type
/sys/class/thermal/cooling_device1/type /sys/class/thermal/cooling_device4/type
/sys/class/thermal/cooling_device2/type /sys/class/thermal/cooling_device5/type
radxa@rock-5b-plus:~$ cat /sys/class/thermal/cooling_device*/type

devfreq-dmc
devfreq-fb000000.gpu
cpufreq-cpu0
cpufreq-cpu4
cpufreq-cpu6
pwm-fan
radxa@rock-5b-plus:~$ ls /sys/class/thermal/cooling_device5/type
/sys/class/thermal/cooling_device5/type
radxa@rock-5b-plus:~$ cat /sys/class/thermal/cooling_device5/type
pwm-fan
radxa@rock-5b-plus:~$ sudo cp /sys/class/thermal/cooling_device5/max_state /sys/class/thermal/cooling_device5/
cur_state
[sudo] password for radxa:
radxa@rock-5b-plus:~$ lsmod|grep pwm
pwm_fan 20480 0

So you are using the kernel driver. The pymumu script won’t work as it is in userspace.