What controls red LED9 keep alive
-
- Posts: 10
- Joined: Wed Dec 14, 2022 11:38 am
What controls red LED9 keep alive
What Linux software controls the red LED9 which makes a double blink every 1.3 second on STEMlab125-14 ?
-
- Posts: 10
- Joined: Wed Dec 14, 2022 11:38 am
Re: What controls red LED9 keep alive
Looking around in the file system I found the following in /opt/redpitaya/dtraw.dts:
led-system {
compatible = "gpio-leds";
led-8-yellow {
default-state = "off";
gpios = <0x7 0x0 0x0>;
label = "led8";
linux,default-trigger = "mmc0";
};
led-9-red {
default-state = "off";
gpios = <0x7 0x7 0x0>;
label = "led9";
linux,default-trigger = "heartbeat";
};
};
led-system {
compatible = "gpio-leds";
led-8-yellow {
default-state = "off";
gpios = <0x7 0x0 0x0>;
label = "led8";
linux,default-trigger = "mmc0";
};
led-9-red {
default-state = "off";
gpios = <0x7 0x7 0x0>;
label = "led9";
linux,default-trigger = "heartbeat";
};
};
- redpitaya
- Site Admin
- Posts: 912
- Joined: Wed Mar 26, 2014 7:04 pm
Re: What controls red LED9 keep alive
Hello abregnsbo,
Thank you for writing on the forum and sorry for the late reply.
The Heartbeat LED is controlled by Linux. The dtraw.dts file is the most likely to turn it off.
Otherwise, you can read more about controlling LEDs and GPIO through Linux here:
https://redpitaya.readthedocs.io/en/lat ... o-and-leds
Thank you for writing on the forum and sorry for the late reply.
The Heartbeat LED is controlled by Linux. The dtraw.dts file is the most likely to turn it off.
Otherwise, you can read more about controlling LEDs and GPIO through Linux here:
https://redpitaya.readthedocs.io/en/lat ... o-and-leds
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 86 guests