Jump to content

Recommended Posts

Posted

Hi, I decided to switch from Ubuntu 20.04 to 22.04 on my MVR9 (Rockchip 3328).

 

The previous version (Armbian_20.10_Arm-64_focal_current_5.9.0.img.xz) that I had used, had been realized by Balbes150.

Today, I installed the image for the Station M1 by Balbes150 (Armbian_23.02.0-trunk_Station-m1_jammy_edge_6.2.0.img.xz) on my MVR9, and everything works except the blue front led that no longer automatically turns on when I agree the PC.

 

I wanted to know if you can tell me which files it is necessary to modify so that the blue LED turns on when the PC is on and that turns off when the PC is turned off. MVR9 has only one LED (Blue).

It seems that only the LEDs for the M1 station are defined, I tried to trigger them but as had to be expected, the LED does not turn on.

 

If it becomes necessary to edit source files, it is not a problem for me to compile armbian myself.


@balbes150, please, can you help me?

 

 

With Ubuntu 22.04:

Quote

 

# ls /sys/devices/platform/leds/leds/

firefly:blue:power

firefly:yellow:user

 

Quote

 

# sudo ls /sys/class/leds/

firefly:blue:power

firefly:yellow:user

input0::capslock

input0::compose

input0::kana

input0::numlock

input0::scrolllock

 

 

With Ubuntu 20.04:

DTB used: rk3328-box-trn9.dtb

Quote

 

# ls /sys/devices/platform/leds/leds/

power

 

Quote

 

# sudo ls /sys/class/leds/

input1::capslock

input1::compose

input1::kana

input1::numlock

input1::scrolllock

power

 

 

<
Posted
15 часов назад, Tod сказал:

please, can you help me?

look for the difference and create your own DTB.

Posted (edited)
9 hours ago, balbes150 said:

look for the difference and create your own DTB.

 

Thanks for the reply.

 

I compared the files, there is a considerable number of differences.

 

1) Should I just copy only the led section from the rk3328-box-trn9.dtb to the rk3328-roc-pc.dtb?

 

From rk3328-box-trn9.dts:

Quote

    leds {
        compatible = "gpio-leds";

        power {
            gpios = <0x6e 0x00 0x01>;
            linux,default-trigger = "default-on";
            default-state = "on";
        };
    };

 

Here I uploaded the two dtb and the two dts.

 

2) Do you have the sources of the dtb file: rk3328-box-trn9.dtb?

I searched among the story of your Github "Build" repo, but I couldn't find it.

 

Edited by Tod
Posted
13 часов назад, Tod сказал:

Do you have the sources of the dtb file: rk3328-box-trn9.dtb?

No, I don't keep old versions.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines