RPi-Distro / raspi-config

Configuration tool for the Raspberry Pi
Other
570 stars 209 forks source link

cannot disable power LED (model 2 rev b) #148

Closed davewood closed 2 years ago

davewood commented 3 years ago

Raspberry Pi Model B Rev 2

cat /etc/debian_version 
10.7

I just installed the newest raspbian on my pi and I am trying to disable the power LED. I think this used to work like 2 year ago.

If I select the option in raspi-config I get The LED behaviour cannot be changed on this model of Raspberry Pi followed by There was an error running option S8 Power LED

raspi-config checks /sys/class/leds/led0/trigger https://github.com/RPi-Distro/raspi-config/blob/master/raspi-config#L1134 and it seems on my model the path is different:

pi@raspberrypi:~ $ cat /sys/class/leds/default-on/trigger 
none rc-feedback kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock timer oneshot heartbeat backlight gpio cpu cpu0 [default-on] input panic actpwr mmc0 rfkill-any rfkill-none phy0rx phy0tx phy0assoc phy0radio rfkill0
lurch commented 2 years ago

The LED behaviour cannot be changed on this model of Raspberry Pi

That's correct. As it says at https://gpiozero.readthedocs.io/en/stable/recipes_advanced.html#controlling-the-pi-s-own-leds "On the original Pi 1 (model A or B), the activity LED can be controlled with GPIO16 (after disabling its trigger as above) but the power LED is hard-wired on."

no-response[bot] commented 2 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.