Hardware related stuff on the PC Engines apu2 board
apu2 front LEDs
I wrote a kernel module to access the 3 front LEDs on the apu2 board and a small daemon to use LEDs 2 and 3 as network up/downstream indicators. Download is here, just runmakeI use LED 1 as a load indicator:
modprobe ledtrig_default_on; modprobe ledtrig_heartbeatand run apuled like this:
echo heartbeat > /sys/class/leds/apu2:1/trigger
apu2led eth0 -c nrt -f
a 2024 daduke production. all rights reserved.