OrangePi PC on board LEDs on ARMBIAN Stretch 4.14.84-sunxi


SaiHou
 Share

0

Recommended Posts

Dear experts,

 

I would like to make my OrangePi PC on board LEDs works like power (Green: Default ON) and status (Red:heartbeat blinking).

 

root@orangepipc:~# ls -1 /sys/class/leds/
orangepi:green:pwr
orangepi:red:status
root@orangepipc:~#
 

Any experts can assist me on this matter on edit in /etc/rc.local to get it works. Thanks in advance and appreciated your help.

 

Regards,

Sai Hou

Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

6 hours ago, guidol said:

now back at home:


echo 'heartbeat'  > /sys/class/leds/orangepi:red:status/trigger
echo 'default-on' > /sys/class/leds/orangepi:green:pwr/trigger

 

 

Hi guidol,

 

Thanks for the reply.

 

Yes, I did as per above stated.

 

Regards,

SaiHou

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

0