pymumu / fan-control-rock5b

PWM fan speed control for rock5B; ROCK5B风扇速度控制软件。
MIT License
103 stars 31 forks source link

fan control with rock 5a #6

Open jordirs2004 opened 1 year ago

jordirs2004 commented 1 year ago

hello,

I tried your program on my rock 5a and it doesn't work is there anything to activate it?

regards

pymumu commented 1 year ago

Not tested on rock5A, so might not work, and I don't have rock5A either, cannot modify the code.

You can read the official guide to turn on the fan. Maybe, you can try this: https://forum.radxa.com/t/how-to-enable-fan-for-rock-5a/16834

jordirs2004 commented 1 year ago

Thx for answer If you are interested, I can maker some test, I'm free during the week-end. Otherwise, i'll try the official method Regards

pymumu commented 1 year ago

you can run the following command, and attach the log.

fan-control
jordirs2004 commented 1 year ago

root@rock-5a:/home/jordi/Téléchargements# fan-control pwmchip: -1 gpio: 0 pwm-period: 10000 temp-map: speed: 0, temp: 40, duty: 0, duration: 20 speed: 1, temp: 44, duty: 5500, duration: 25 speed: 2, temp: 49, duty: 6000, duration: 35 speed: 3, temp: 54, duty: 7000, duration: 45 speed: 4, temp: 59, duty: 8000, duration: 60 speed: 5, temp: 64, duty: 9000, duration: 120 speed: 6, temp: 67, duty: 10000, duration: 180 Failed to export GPIO, No such file or directory Failed to export GPIO, No such file or directory Failed to export GPIO, No such file or directory Failed to export GPIO, No such file or directory Failed to export GPIO, No such file or directory Failed to export GPIO, No such file or directory Failed to init GPIO

pymumu commented 1 year ago

try this

https://docs.radxa.com/rock5/rock5b/accessories-guides/heatsink-4012#%E9%85%8D%E7%BD%AE

jordirs2004 commented 1 year ago

I followed the differents steps, but the fan didn't move...

Dual-0 commented 7 months ago

try this

https://docs.radxa.com/rock5/rock5b/accessories-guides/heatsink-4012#%E9%85%8D%E7%BD%AE

This works for me. I can change the speed manually with echo 2 > /sys/class/thermal/cooling_device0/cur_state