Open jordirs2004 opened 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
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
you can run the following command, and attach the log.
fan-control
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
I followed the differents steps, but the fan didn't move...
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
hello,
I tried your program on my rock 5a and it doesn't work is there anything to activate it?
regards