I’m setting up my Rock Pi with a Penta SATA hat inside a larger, custom case. It would be great if I could bring several “status” LEDs to the front panel of the case. Specifically, I’m looking for:
Power “On”
“any” drive activity
“any” LAN (Ethernet) activity https://kodi.software/ https://dltutuapp.com/tutuapp-download/
Looked through all of the online docs & PDFs that I could find, as well as the topics posted here, but was unable to find an answer. Is this even possible? Easily possible? I couldn’t find any documentation on the ten pin cable that normally goes to the optional display. Any help / links would be very much appreciated!
The easiest way would be to to pass the 2 LEDs of the Rock board to the front of your case. At least one can be programmed, the events supported by the kernel can be looked up by
The one in brackets [] is the current trigger. Just write the one you like to have:
echo "netdev" > /sys/class/leds/user-led/trigger
might be one of the value you want. Test if these events are want you want. If yes, you could add more LEDs driven by GPIO. This should be possible by just add an overlay, see