Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 812 Bytes

ReadMe.md

File metadata and controls

45 lines (34 loc) · 812 Bytes

Fan-control

A tool to control fan speed by temperature automatically for ROCK5B.

Features

  1. Control fan speed by temperature. (above 45 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

configuration file locations is /etc/fan-control.json, Configuration parameter description:

Configuration 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