Power & Source of Big Ideas

Is it possible to disable the blinking blue LED?

Moderators: chensy, FATechsupport

Hi,

Is there a way to disable the blinking blue LED? In the night it is too bright.

Thanks.
There are two "easy" options, but I think you are looking for the third ;-)
1. physically remove the LED (eg. with screwdriver), I did similar with dangerous diode for battery charged RTC module
2. Disable blinking code in firmware and rebuild it
3. find some command/setting that allows to disable/enable blinking

Perhaps somebody from Friendlyarm can help on 3?

Hermann.
Found it out.

To turn the heartbeat off:

Code: Select all

echo none > /sys/class/leds/blue_led/trigger


To turn it back on:

Code: Select all

echo heartbeat > /sys/class/leds/blue_led/trigger
Thanks for that information!
Doing "cat" of that file seems to give the allowed values, with current value in square brackets:

Code: Select all

root@FriendlyARM:/sys/class/leds/blue_led# cat trigger
none mmc0 timer heartbeat backlight [gpio] default-on
root@FriendlyARM:/sys/class/leds/blue_led#


none, time, heartbeat and default-on have obvious visible effects.
If you want it crazy you can let blue led on heartbeat and set green led (from "defaut-on") to timer ;-)

Not sure what mmc0, backlight and gpio are good for.
Is there any spec or document where this infomation can be found?

Hermann.

Who is online

In total there are 44 users online :: 0 registered, 0 hidden and 44 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 44 guests