Fan Control on Armbian's Ubuntu 20.04 ROCKPro64 Server Image
When my old desktop PC that was acting as a home server failed on me recently, I switched back to using my ROCKPro64 for the job. Previously I’d used it with ayufan’s Debian Buster image, but this time I decided to try out Armbian’s Ubuntu 20.04 server image based on the 5.9 Linux kernel. Everything went beautifully – even installing the ZFS DKMS module – except that there doesn’t seem to be any built-in fan control.
Thankfully, this forum post had all the information I needed to eventually get ATS working. However, it took some digging and experimentation, so I’ve documented the process below. (All of these commands should be run as root.)
# modprobe pwm-fan
# apt install lua5.3 liblua5.3-dev luarocks gcc make # luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-0.2-0.rockspec
# sed -i 's/hwmon0/hwmon3/' /etc/ats.conf
[Last updated January 20, 2021]