SaiHou Posted January 6, 2019 Share Posted January 6, 2019 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 comment Share on other sites More sharing options...
guidol Posted January 6, 2019 Share Posted January 6, 2019 you can take a look at this thread: https://forum.armbian.com/topic/143-enable-led-blinking-for-cubietruck-kernel-412/ Link to comment Share on other sites More sharing options...
SaiHou Posted January 6, 2019 Author Share Posted January 6, 2019 1 hour ago, guidol said: you can take a look at this thread: https://forum.armbian.com/topic/143-enable-led-blinking-for-cubietruck-kernel-412/ Thanks for the info. It works now. Cheers. Link to comment Share on other sites More sharing options...
guidol Posted January 6, 2019 Share Posted January 6, 2019 7 hours ago, SaiHou said: Thanks for the info. It works now. Cheers. now back at home: echo 'heartbeat' > /sys/class/leds/orangepi:red:status/trigger echo 'default-on' > /sys/class/leds/orangepi:green:pwr/trigger Link to comment Share on other sites More sharing options...
SaiHou Posted January 6, 2019 Author Share Posted January 6, 2019 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 comment Share on other sites More sharing options...
Recommended Posts