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?
-
Is a pair of pliers an inappropriate answer? – Alex Chamberlain Jan 9 '13 at 16:30
-
1@AlexChamberlain Fine, a way that doesn't void the warranty! – Tom Medley Jan 9 '13 at 16:31
-
1Possible duplicate: raspberrypi.stackexchange.com/q/697/797 – Morgan Courbet Jan 9 '13 at 16:34
No
Unfortunately not. The PWR LED, for example, is directly wired to the 5V rail and other LEDs are controlled by closed-binaries.
-
5
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.
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.
-
1
-
@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 Mar 11 '17 at 1:09