Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Where is "default_trigger" set at boot for red LED Allwinner H5

Featured Replies

Hi, I searched a lot, but no cure. I want to switch off the redLED heartbeat on an Allwinner H5 OrangePi zero+ under Debian buster. I can temporary echo it off, but it restarts again after boot. I want it off permanently. Rather than switching it off every time in rc.local, I want to eliminate the part, where its switched ON, but I can't find it.

Solved by Hans Kurscheidt

Hi Hans

 

decompile .dtb to .dts

dtc -I dtb -O dts /boot/dtb/allwinner/sun50i-h5-orangepi-zero-plus.dtb -o /boot/dtb/allwinner/sun50i-h5-orangepi-zero-plus.dts

 

edit (nano) the .dts (replace heartbeat with none) in the led-1 part:

        leds {
                compatible = "gpio-leds";

                led-0 {
                        label = "orangepi:green:pwr";
                        gpios = <0x37 0x00 0x0a 0x00>;
                        linux,default-trigger = "default-on";
                };

                led-1 {
                        label = "orangepi:red:status";
                        gpios = <0x0e 0x00 0x11 0x00>;
                        linux,default-trigger = "heartbeat";
                };
        };

 

recompile .dts to .dtb (this will gibe many non-problematic warning onscreen):

dtc -I dts -O dtb /boot/dtb/allwinner/sun50i-h5-orangepi-zero-plus.dts -o /boot/dtb/allwinner/sun50i-h5-orangepi-zero-plus.dtb

 

then reboot ;)

PS: maybe you would "apt-mark hold " your dtb-package (find it with

dpkg -l|grep dtb
)

 

sun50i-h5-orangepi-zero-plus.dtb sun50i-h5-orangepi-zero-plus.dts

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.