Turn off leds of Raspberry Pi

Mauro Midolo picture Mauro Midolo · Nov 8, 2013 · Viewed 43.7k times · Source

I would like to turn off the leds of my Raspberry Pi.

I tried modifying the file echo none >/sys/class/leds/led0/trigger but nothing changed.

Is this possible?

Answer

user1932768 picture user1932768 · Nov 8, 2013

According to the RaspberryPi forums:

echo 1 >/sys/class/leds/led0/brightness #Turn on
echo 0 >/sys/class/leds/led0/brightness #Turn off