Skip to content

Customised fan curve for radxa rock5a #469

Answered by stevepringle
stevepringle asked this question in Q&A
Discussion options

You must be logged in to vote

So after checking various sources, I managed to work out how to customise the pwm fan curve for the rock 5a.

The kernel has a pwm-fan kernel driver to deal with the fan control. The supplied configuration for the rock 5a board has seven cooling levels (indexed 0 to 6) which are by default set to the following PWM values:-

cooling-levels = <100 160 190 200 215 235 255>;

The lowest level with a pwm value of 100 was insufficent for my fan to spool up, so I carried out some tests to determine the minimum pwm value for the fan to spin.

Here is how to do it:

Login to root, and set the thermal policy to user_space:

echo user_space > /sys/class/thermal/thermal_zone0/policy

Then you can set the f…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by stevepringle
Comment options

You must be logged in to vote
2 replies
@bhouseski
Comment options

@nobara256
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants