I see there are quite a few posts about this already but none seem to work for me.
I am running a pihole server on my RPi 3 and I would like to turn off the external power and LAN LEDs (green and orange) as they can be quite bright at night. I am running a Raspberry Pi 3 Model B Rev 1.2
I know it is possible to do as I managed to achieve this once before but it was a few years ago and I can't remember the steps I took. Also not sure if anything changed in the later versions of Raspbian.
I have tried methods mentioned in this thread: https://www.raspberrypi.org/forums/viewtopic.php?t=149126 as well as https://www.jeffgeerling.com/blogs/jeff-geerling/controlling-pwr-act-leds-raspberry-pi and Turning off LEDs on Raspberry Pi 3 and quite a few others but nothing seems to work for me.
One of the methods /boot/config.txt
# Disable Ethernet LEDs dtparam=eth_led0=14 dtparam=eth_led1=14 # 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
Has anyone achieved this on a Pi 3 Model B and could share the method?
$ cat /sys/class/leds/led0/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 cpu1 cpu2 cpu3 default-on input panic actpwr mmc1 mmc0 rfkill-any rfkill-none rfkill0 rfkill1