SystemLED *ON* on boot
#1
Lightbulb 
Hi, just want to share a little tip:
How to turn the systemLED ("LED") to *ON* when the board is booting (loading the system).

[Image: DSC_0045-photo-led.jpg]

My 1GB Pine64 Board sometimes start booting process and sometimes don't... so I have to way and "see" activities on the screen or LAN interface...

So, I decided to put an LED on the systemLED holes (label "LED"), and switch it to ON when booting...

[Image: pine64-drawing-v2-p6.jpg]

When using without a monitor (remote) this LED is very helpful...

These 3 lines of script turn the LED to "ON":

Code:
echo "359" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio359/direction
echo "0"   > /sys/class/gpio/gpio359/value


Full instructions on the link below:
http://www13.plala.or.jp/pskitty/pine64-sysled.html

Drawings, source code, high quality photo, etc, on GitHub:
https://github.com/valterfukuoka/pine64-sysled

Regards all,
Valter
  Reply


Messages In This Thread
SystemLED *ON* on boot - by ecolezen - 06-09-2017, 06:53 PM
RE: SystemLED *ON* on boot - by MarkHaysHarris777 - 06-09-2017, 10:42 PM
RE: SystemLED *ON* on boot - by ecolezen - 06-11-2017, 12:33 AM
RE: SystemLED *ON* on boot - by pfeerick - 06-11-2017, 03:16 AM
RE: SystemLED *ON* on boot - by ecolezen - 06-11-2017, 05:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  +LTS/SOPINE Clusterboard, U-Boot, PL7 LED Pine 0 1,298 03-09-2021, 07:07 PM
Last Post: Pine

Forum Jump:


Users browsing this thread: 1 Guest(s)