1

the default situation with the two LEDs on my Raspberry Pi 4 is as such:

[situation now]

Green LED: read and write activity of my SD card
Red LED: Power 

I would like to change the the LEDs to:

[desired situation]

Green LED: Power 
Red LED: Read and write activity of my SD card

How would I accomplish this swap of the LED indicators?

Thanks in advance for a hint.

jsotola
  • 705
  • 1
  • 9
  • 13
wechsler
  • 13
  • 4

1 Answers1

1

QUESTION - How to change LED function:

Green LED: Power (indicate power is applied)
Red LED: (indicate) Read and write activity of my SD card

ANSWER:

Add the following lines to your /boot/config.txt file:

dtparam=act_led_trigger=default-on 
dtparam=pwr_led_trigger=mmc0

Before adding these lines, you should verify that there are no other dtparam statements in /boot/config.txt that address act_led_trigger or pwr_led_trigger. Also verify that there are no dtoverlay=act-led statements.

After saving the edited /boot/config.txt file, exit your editor & reboot your system.

Seamus
  • 23,558
  • 5
  • 42
  • 83