Thursday, August 30, 2018

Turning off LEDs on Raspberry Pi 3 Model B

I found the solution here: https://raspberrypi.stackexchange.com/questions/70593/turning-off-leds-on-raspberry-pi-3 and it works for Raspberry Pi 3 Model B too. The following lines should be added to /etc/rc.local:

sudo sh -c 'echo none > /sys/class/leds/led0/trigger'
sudo sh -c 'echo none > /sys/class/leds/led1/trigger'
sudo sh -c 'echo 0 > /sys/class/leds/led0/brightness'
sudo sh -c 'echo 0 > /sys/class/leds/led1/brightness'


The other method with /boot/config.txt didn't work for me.