We provide software support to help you control PoE fan, and a one-click installation script and manual installation steps are provided on PoE HAT.
If you use Rasbian on Raspberry Pi or an officially supported system on ROCK Pi 4, you can use the one-click installation script. We are adding more system support to the installation script.
Here are the detailed steps to manually install the software on Armbian of ROCK Pi 4.
1. Enable hardware resources
We provide a dtbo file, please follow these steps to install it in Armbian to enable PWM and ADC.
sudo mkdir -p /boot/overlay-user
curl -sL https://rock.sh/rockpi-poe-dtbo -o rockpi-poe.dtbo
sudo mv rockpi-poe.dtbo /boot/overlay-user/rockpi-poe.dtbo
Then edit /boot/armbianEnv.txt and add rockpi-poe to user_overlays.
2. Install GPIO control library
Please install libmraa-rockpi4 from testing repo of Radxa APT.
3. Download package and install
wget https://cos.setq.me/rockpi/deb/rockpi-poe-0.13.deb
sudo dpkg -i rockpi-poe-0.13.deb
4. Enable service
sudo systemctl enable rockpi-poe.service