APU2xx leds as a heartbeat...

Jean-Roch Blais <[email protected]> Mon, 21 Nov 2022 11:58:22 -0500
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
Hello List,

For those of you owning an APU2xx here is what I did to enable one of the leds as a reassuring and fun heartbeat. The modules are already part of the distribution anyway. I agree this is not the most serious subject but I have to write it down somewhere before I forget about it, and who knows someone else might find it useful and fun too !

In /etc/modules add:

# for APU2C2 et APU2E4 et LEAF pour heartbeat des leds ...
pcengines_apuv2
ledtrig_heartbeat

in /etc/default/local.start add:

#
# Commands that will be executed at the end of booting process
#
/usr/sbin/upsmon -u nut   (never mind this …)
echo "heartbeat" > /sys/class/leds/apu:green:1/trigger

Cheers
jrb.

------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/