This worked for me for a while but has stopped. Not sure why.
I had a script which runs on boot with the following
Code: Select all
#Power LED off
sudo sh -c 'echo 0 > /sys/class/leds/led1/brightness'
sudo sh -c 'echo none > /sys/class/leds/led1/trigger'
#Activity LED off
sudo sh -c 'echo 0 > /sys/class/leds/led0/brightness'
But it no longer works for the power LED on my Pi3B+.
If I sudo and edit the brightness with vi changing 255 to 0 and then save. It's still 255 when I cat it out.
Something just writes the original values back into the place.
Any thoughts on why this is happening?
Led0 works LED1 (Power) doesn't and it's crazy bright. I am using this for an install of hassbian and have it in a main room to control my home automation. So the light is quite distracting.
Next step will be to replace my clear case with a solid one but I was hoping to not spend money to fix. Seems there should be a way to solve my the software solution isn't working for me anymore.