miskcoo/ugreen_leds_controller

DXP2800

Balkoth opened this issue · 6 comments

Does this work on the DXP2800?

I don't know since I don't have such a device. You can test it if you have one, but theoretically it should work.

Can confirm that the command-line tool is working and LEDs are fully configurable. Naturally, there's only leds power, netdev, disk1 and disk2 available.

@Logian can you check whether the product name dmidecode --string system-product-name starts with DXP2800? I can add this model to the scripts so that you won't see some warning like your device is untested.

@miskcoo Output of dmidecode is in fact "DXP2800". Nothing more, nothing less.

I'm lacking in knowledge to enable this.

I am now able to build the cli on my OMV with debian12. However, still stuck at enabling the LED so it work like normal.
the dkms has errors with kernel headers. So i'm stuck there.

nas@omvnas:/home/ugnas/ugreen_dx4600_leds_controller$ sudo dkms add -m led-ugreen -v 0.1
Creating symlink /var/lib/dkms/led-ugreen/0.1/source -> /usr/src/led-ugreen-0.1
nas@omvnas:/home/ugnas/ugreen_dx4600_leds_controller$ sudo dkms build -m led-ugreen -v 0.1
Sign command: /lib/modules/6.1.0-22-amd64/build/scripts/sign-file
Binary /lib/modules/6.1.0-22-amd64/build/scripts/sign-file not found, modules won't be signed
Error! Your kernel headers for kernel 6.1.0-22-amd64 cannot be found at /lib/modules/6.1.0-22-amd64/build or /lib/modules/6.1.0-22-amd64/source.
Please install the linux-headers-6.1.0-22-amd64 package or use the --kernelsourcedir option to tell DKMS where it's located.

Please install the linux-headers-6.1.0-22-amd64 package or use the --kernelsourcedir option to tell DKMS where it's located.

@aqsede Hi, do you forget to install this apt install linux-headers-6.1.0-22-amd64?