Skip to content

wenyinos/Rock5B_Naive_Pwm_Fan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rock5B Naive Pwm Fan

For official cooling fan from allnet or the same fan from Li Xue Fan installed on Rock Pi 5 Model B. Modify the pwm values/logic in file fan_pwm to build your own PWM curve or fit other fan.

How to use

  1. Clone or download this repo
  2. Ensure you are at root shell
  3. Copy file 'fan_pwm' to '/usr/local/bin/.': cp fan_pwm /usr/local/bin/.
  4. Allow executable if needed: sudo chmod +x /usr/local/bin/fan_pwm
  5. Copy service file 'fan_pwm.service' to '/etc/systemd/system/.': cp fan_pwm.service /etc/systemd/system/.
  6. Reload service: systemctl daemon-reload
  7. Start service: systemctl start fan_pwm
  8. Enable service to start after boot: systemctl enable fan_pwm

About

For official fan from allnet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%