11

I'd like to build a small internet radio out of my pi, but I'd like to use it at night, when the flashing LEDs would be disturbing. Is there any way to disable them?

4

3 Answers 3

6

No

Unfortunately not. The PWR LED, for example, is directly wired to the 5V rail and other LEDs are controlled by closed-binaries.

2
  • 5
    Sigh, electrical tape it is then.
    – Tom Medley
    Commented Jan 9, 2013 at 16:33
  • Now possible - see this Q&A
    – Seamus
    Commented Jun 11, 2021 at 6:29
13

I know this may sound silly, but a piece of electricians tape over the top would work. Alternatively, put it in a case or box.

1
  • The best and most simple solution!
    – ikku
    Commented Jan 10, 2013 at 0:32
6

There is answer in How do I control the system LEDs using my software?

For Power led, if you have RPI 2, then you can turn it off by using

echo 0 > /sys/class/leds/led1/brightness # Power LED

It is taken from the last answer from post I referred.

2
  • 2
    Does not work RPI 3
    – akhmed
    Commented Jun 2, 2016 at 6:59
  • @akhmed You can only turn off the activity (yellow) light in the PR3 using echo 0 > /sys/class/leds/led0/brightness while logged in as root.
    – Mint
    Commented Mar 11, 2017 at 1:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.