Jump to content

[Lamobo R1 jessie next] How to control the red LED?


Recommended Posts

5.0x Lamobo R1 / Banana Pi M2 jessie next 4.4.3

 

As described in this thread http://forum.armbian.com/index.php/topic/691-banana-pro-testers-wanted-sata-drive-not-working-on-some-boards/?p=5641 /etc/rc.local successfully controls the Banana Pi M2's red, green and blue LEDs and the Lamobo R1's green LED. But how to control the behavior of the Lamobo R1's red LED?

At the moment, Armbian 5.0x, the red LED doesn't turn off after shutdown. An older image, I'm still using, I guess 4.8x or 4.9x, turns the red LED off after shutdown by default without any manual configuration.

I'm using a green heartbeat as workaround to indicate the power status but I would appreciate to use red as power and green as mmc0.

 

$oldImage: uname -a

 

Linux lamobo-r1 4.4.1-sunxi #28 SMP Thu Feb 11 01:56:34 CET 2016 armv7l GNU/Linux
 

$oldImage: ls /sys/class/leds/

 

bananapi:green:usr
 

$5.04: uname -a

 

Linux lamobo-r1 4.4.3-sunxi #13 SMP Thu Mar 3 04:07:12 CET 2016 armv7l GNU/Linux
 
$5.04: ls /sys/class/leds/
bananapi:green:usr
 
 
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines