Can I disable the yellow (PWR?) LED on the Pi Zero?
I've tried setting the brightness to 0 of led1 (it starts life as 255) and led0 is already 0 but I still get the LED glow.
Out of interest, I only managed to set the brightness file to zero by running the following from /etc/rc.local
echo 0 > /sys/class/leds/led1/brightness
Verified after booting with the following.
$ cat /sys/class/leds/led1/brightness
0
If I try as the pi user or even via sudo, I get the following error. Even after chmod. Any ideas why?
-bash: /sys/class/leds/led0/brightness: Permission denied
ACTnext to it :) – Toby Jan 04 '16 at 20:16stdoutto the/sys/class/leds/led1/brigthnessfile) occurs before the sudo command is run so it does not get the sought for privileged elevation. There is a (somewhat funky) way around it with ateecommand but I do not have the details to hand...! – SlySven Jan 05 '16 at 16:11bash -c 'echo 0 > ...with the same affect (it doesn't work). I can't quiet remember but I think there's a difference between trueroot(which will be the user forrc.localno?) andsudo. Anyway... I'd have to do some reading to remind myself :D – Toby Jan 05 '16 at 18:06