What controls red LED9 keep alive

Just about everything about Red Pitaya
Post Reply
abregnsbo
Posts: 10
Joined: Wed Dec 14, 2022 11:38 am

What controls red LED9 keep alive

Post by abregnsbo » Mon Oct 30, 2023 2:47 pm

What Linux software controls the red LED9 which makes a double blink every 1.3 second on STEMlab125-14 ?

abregnsbo
Posts: 10
Joined: Wed Dec 14, 2022 11:38 am

Re: What controls red LED9 keep alive

Post by abregnsbo » Mon Oct 30, 2023 2:59 pm

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";
};
};

User avatar
redpitaya
Site Admin
Posts: 912
Joined: Wed Mar 26, 2014 7:04 pm

Re: What controls red LED9 keep alive

Post by redpitaya » Thu Nov 09, 2023 3:35 pm

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

Post Reply
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 101 guests