Has the method for disabling the power LED changed for Bookworm?
- /RaspberryPi
- Corporate
- Posts: 2449
- Joined: Wed Jun 05, 2019 1:29 am
Has the method for disabling the power LED changed for Bookworm?
In the past, adding the following lines to the bottom of the /boot/config.txt file was enough to control the various onboard LEDs:
# Disable the PWR LED
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
# Disable the Activity LED
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
# Disable ethernet port LEDs
dtparam=eth_led0=4
dtparam=eth_led1=4
Since I've started using the latest Bookworm OS, I've noticed that that power LED is not turning off.
I've got a current work around by entering the following line via command prompt:
echo '1' | sudo tee /sys/class/leds/PWR/brightness
However, I'm hoping there must be some new format of the power led dtparam lines.
I tried to changing the lines to upper case PWR:
"dtparam=PWR_led_trigger=none"
"dtparam=PWR_led_activelow=off"
However, the power LED stayed on, and even the script no longer worked. Searching via Google and even this forum brings up many responses related to the older OSes, but nothing related to Bookworm.
Is anyone else having this problem? Does anyone have the newest information on how to update the config.txt file?
submitted by /u/BMLortz
[link] [comments]
Source: https://www.reddit.com/r/raspberry_pi/c ... power_led/
/RaspberryPi