User LEDs control

Hi all,

I am trying to change the user LEDs but I am unable to make permanent changes to the files in /sys/devices/platform/leds/leds. Can someone help me out?

Thanks in advance.

Also, I figure that I process is controlling the blinking of user LED 1 since that is the only one I cannot change. Can anyone tell me what this process is and if I can stop it from controlling LED 1?

I’m not sure what board you have or what kernel you are running, however on a Beaglebone Black running a 4.19 kernel, the LED settings are located in the bone-common.dtsi file:
Note: From the BBB schematic, led1 is connected to the Ethernet port, so perhaps you are trying to control usr0 LED.

This may be off topic, but I have some notes on how to switch a GPIO pin to be an LED.