Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fan control with rock 5a #6

Open
jordirs2004 opened this issue Jun 11, 2023 · 7 comments
Open

fan control with rock 5a #6

jordirs2004 opened this issue Jun 11, 2023 · 7 comments

Comments

@jordirs2004
Copy link

hello,

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

regards

@pymumu
Copy link
Owner

pymumu commented Jun 12, 2023

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
Copy link
Author

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
Copy link
Owner

pymumu commented Jun 14, 2023

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

fan-control

@jordirs2004
Copy link
Author

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
Copy link
Owner

pymumu commented Jun 17, 2023

@jordirs2004
Copy link
Author

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

@Dual-0
Copy link

Dual-0 commented Nov 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants