seif Posted November 10, 2018 Posted November 10, 2018 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.
seif Posted November 10, 2018 Author Posted November 10, 2018 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!
Recommended Posts