DietPi Config ASUS TB heartbeat-led Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
@lone
Posts: 5
Joined: Thu Jun 18, 2020 11:00 am

DietPi Config ASUS TB heartbeat-led

Post by @lone »

Good morning,

I use DietPi in my ASUS ASUS Tinker Board.

To stop ASUS TB heartbeat led from flashing I change heartbeat-led option in DietPi Config (Display Options -> LED Control) to "none" ("DietPi Config ASUS TB LED HB Off.png"). It works perfectly but as soon as I reboot the board it changes back to "heartbeat" ("DietPi Config ASUS TB LED HB On.png").

Can you please tell me if there's a way to make option "none" reboot resistant?

Tank you.

Best regards,

Paulo Reis
Attachments
DietPi Config ASUS TB LED HB On.png
DietPi Config ASUS TB LED HB Off.png
User avatar
Joulinar
Posts: 2072
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi Config ASUS TB heartbeat-led

Post by Joulinar »

Hi,

many thanks for your message. Looks like similar to this post viewtopic.php?f=11&t=7792
Even it's not the same board, but somehow LED settings reverted back to default on reboot.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: DietPi Config ASUS TB heartbeat-led

Post by MichaIng »

Many thanks for your report. LED triggers should be applied via udev rules on early boot once those are recognised. Can you please do the following after a reboot with LEDs back to default:

Code: Select all

cat /etc/udev/rules.d/dietpi-led_control.rules
cat /sys/class/leds/led{0,1}/trigger
udevadm trigger -c add /sys/class/leds/led0
udevadm trigger -c add /sys/class/leds/led1
cat /sys/class/leds/led{0,1}/trigger
User avatar
Joulinar
Posts: 2072
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi Config ASUS TB heartbeat-led

Post by Joulinar »

A fix will implemented with coming DietPi version v6.31

https://github.com/MichaIng/DietPi/issu ... -652509568
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
@lone
Posts: 5
Joined: Thu Jun 18, 2020 11:00 am

Re: DietPi Config ASUS TB heartbeat-led

Post by @lone »

Good afternoon,

Thank you for your quick reply, and specially for DietPi.

Best regards,

Paulo Reis
Post Reply