0

I'm trying to configure a raspberry pi's LED indicators Green and Red onboard LEDs. I've changed the trigger between none and default-on.

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

Expected behaviour none = off and default-on = on. However it continues to blink, I know the arguments must be passing.

I've also tried setting the brightness to 1 and 0.

The most I've been able to achieve is I can see the lights flickering when I call `echo 1 > /sys/class/leds/led0/brightness'

I've spent a couple hours looking at other methods of controlling the LED's and I've at most been able to get the light to flicker.

  • Why? What are you trying to achieve? There is an (limited) ability to change triggers via DeviceTree in config.txt, but poking at /sys/class/leds may have transient effects, but the driver will continue to manage LED. – Milliways Apr 5 '18 at 7:27
  • I would like to show if it is currently running 3G, or on Wifi. What driver manages the LED's? What driver currently controls the Pi's lights? – krux Apr 9 '18 at 1:34

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.