Re: APU2xx leds as a heartbeat...
Erich Titl <[email protected]> Mon, 21 Nov 2022 18:04:44 +0100
| Newsgroups | gmane.linux.leaf.user |
|---|---|
| Message-ID | <[email protected]> |
Hi JRB Am 21.11.2022 um 17:58 schrieb Jean-Roch Blais: > 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 ! I did this a few years back on an ALIX and even on WRAPS this is possible if you include the drivers. But the to really make it useful you should probably trigger it from somewhere, for example when init finishes or as soon as the serial output is initialized or maybe when the WiFi board is initialized or when data is sent/received. cheers ET > > 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/ ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
OpenPGP_signature
(application/pgp-signature, 840 B) - not displayed