Skip to content

lukaszsobala/fan-control-rock5b

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fan-control

A tool to control fan speed by temperature automatically for ROCK5B. Forked to modify the fan curve, as it made very little sense for the Radxa fan.

Features

  1. Control fan speed by temperature. (above 40 degrees)
  2. Set fan speed manually

Build & install

make package
dpkg -i fan-control*.deb

Usage

systemctl enable fan-control
systemctl start fan-control

Configuration

The location of the configuration file is /etc/fan-control.json. Configuration parameters:

Parameter Description
pwmchip pwmchip id, 1 for auto scan
gpio gpio id, 0 is default gpio
pwm-period PWM period
temp-map temperature configuration table
temp temperature, in degrees Celsius
duty duty ratio
duration duration, in second

License

MIT License

About

PWM fan speed control for Radxa Rock 5B

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 82.9%
  • Shell 11.4%
  • Makefile 5.7%