Has the method for disabling the power LED changed for Bookworm?

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Has the method for disabling the power LED changed for Bookworm?

Post by /RaspberryPi »


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
Post Reply

Return to “Raspberry Pi Forum”