The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Add LEDs on/off in System menu
#1
Particularly if you leave your moOde-y Pi on all the time, having the two main LEDs on can be annoying.

Hardware solutions exist - i.e. covering them with tape or permanently painting over them Smile - but turning them off with software is almost trivial and it is useful to be able to turn them back on again.

The 'almost' is because the method to turn them off in /boot/config.txt seems to vary with model, however on a version 1.2 Pi 3 B, root sending zero to

/sys/class/leds/led0/brightness
/sys/class/leds/led1/brightness

turns them off during 'runtime' rather than from boot. I do not currently have a Pi 4 to check if it works on those.

Being able to turn off the ethernet LED would also be useful, but that is less of a problem (it's not so bright, it's easier to cover, and a more useful diagnostic) and, again, the method seems to vary between Pi versions.
Reply


Messages In This Thread
Add LEDs on/off in System menu - by MooicIan - 07-30-2022, 08:21 AM
RE: Add LEDs on/off in System menu - by MooicIan - 07-30-2022, 02:55 PM
RE: Add LEDs on/off in System menu - by MooicIan - 07-30-2022, 04:09 PM

Forum Jump: