Turn off LED lights Rasp Pi 3

  • Is there a script that can turn off the 2 LED lights on the front of the Rasp Pi 3? I find them very bright and distracting as the Pi sits under my TV. I'm running LibreELEC (Krypton) v7.95.2 BETA


    Thank you.

    Edited once, last by diameter ().

  • According to the RaspberryPi forums:

    Code
    1. echo 0 >/sys/class/leds/led0/brightness #Turn on
    2. echo 0 >/sys/class/leds/led1/brightness #Turn off
    3. led0 = green one
    4. led1 = red one


    Put the echo lines in .config/autostart.sh and "It should work!" (tm)


    Other than that, there is nothing that a roll of duct tape cannot fix.

    Edited once, last by Klojum ().


  • Regarding the power LED on the Pi 3, it cannot be switched off... See here :


    Missign control for RED "Power LED" · Issue #1332 · raspberrypi/linux · GitHub

    Edited once, last by diameter ().