0
seif

Hot to set red LED trigger in fex?

Recommended Posts

I've been trying to learn how to do that by looking at the [leds_para] in https://linux-sunxi.org/Fex_Guide#.5Bleds_para.5D but the [leds_para] in the script.bin of my Orange Pi PC are very different:

 

[leds_para]
leds_used = 1
green_led = port:PL10<1><default><default><1>
green_led_active_low = 0
red_led = port:PA15<1><default><default><0>
red_led_active_low = 0

 

I'm lost... Can you help me?

 

It's an Orange Pi PC with ARMBIAN 5.60 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i

 

Thanks.

Share this post


Link to post
Share on other sites

I've put red_led = port:PA15<1><default><default><1> in the fex file, did a fex2bin, replaced script.bin, and now it's not mmc0 trigger, but at least the red led stays on until I can do the proper echo mmc0 > /path/to/led/trigger in /etc/rc.local.

 

I'm happy with that: now the red led means: don't pull the plug now!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0