49 Commits

Author SHA1 Message Date
Berthold Höllmann
c33c05ae67 Add support for setting power LED via systemctl (#60)
Some checks failed
Build kernel module for TrueNAS / build-and-run (push) Has been cancelled
* Add support for setting power LED via systemctl

* Add documentation for rudimentary ugreen-power-led.service

* Add "Type=oneshot" and "RemainAfterExit=true" as suggested
2025-06-12 10:14:48 +08:00
Yuhao Zhou
e8e5a28c3f Update README.md (#13)
Some checks failed
Build kernel module for TrueNAS / build-and-run (push) Has been cancelled
Add a link to an install script for TrueNAS.
2025-01-13 11:24:53 +08:00
docgalaxyblock
15dbae0f8f fix systemd services (#51)
Some checks failed
Build kernel module for TrueNAS / build-and-run (push) Has been cancelled
* move systemd scripts to their own subfolder

* move probe-leds to its own oneshot service

* README improvements
2025-01-11 21:50:36 +08:00
tooomm
b789a67793 Readme: small tweaks (#46)
Some checks failed
Build kernel module for TrueNAS / build-and-run (push) Has been cancelled
* small tweaks

* Clarify chassis LED ID
2025-01-03 13:04:18 +08:00
tooomm
39511eb639 Readme: Add DXP4800 to list of supported devices (#44)
Some checks failed
Build kernel module for TrueNAS / build-and-run (push) Has been cancelled
2024-12-01 20:01:53 +08:00
Yuhao Zhou
e0bbe9ee50 Improve the disk standby check (#40)
Some checks failed
Build kernel module for TrueNAS / build-and-run (push) Has been cancelled
2024-11-01 21:36:19 +08:00
Yuhao Zhou
b49da0d890 Add an optional compiled disk activities monitor to reduce the CPU usage (#38)
Some checks are pending
Build kernel module for TrueNAS / build-and-run (push) Waiting to run
2024-10-31 18:24:48 +08:00
tooomm
241ff6bfa2 README: Update & Small improvements (#32)
Some checks failed
Build kernel module for TrueNAS / build-and-run (push) Has been cancelled
* repo rename

* layout and wording

* wording
2024-10-22 01:11:45 +08:00
tooomm
3ed3393681 fix a link in README.md (#29) 2024-10-15 23:58:33 +08:00
Yuhao Zhou
c36d62f217 Update README.md 2024-08-22 23:49:09 +08:00
Yuhao Zhou
6efa12e962 Update README.md 2024-08-22 20:41:50 +08:00
tooomm
05acef7f2c README: Add DX4700 (#22)
Saw 3646dd1fd7, but the device is not mentioned in the compatible section in the readme yet.

What I found, the device name is `DX4700+`
2024-07-14 10:55:13 +08:00
Yuhao Zhou
e5d191d905 Update README.md 2024-06-30 00:50:55 +08:00
Yuhao Zhou
10d62c1594 add DXP2800 series (#19) 2024-06-28 03:02:35 +08:00
Yuhao Zhou
33106f9179 Update README.md 2024-06-22 14:28:04 +08:00
Yuhao Zhou
522f93b8cf add ATA disk mapping, zpool check, netdev check, and a config file (#15)
1. Add the config file /etc/ugreen-leds.conf for environment variables used in ugreen-diskiomon (see scripts/ugreen-leds.conf)
2. Make the blinking of netdev activities, colors of different disk states / NIC link speeds configurable
3. Add the check of zpool health
4. Add the check of gateway connectivity and the link speed of network device
5. Split the systemd service to ugreen-diskiomon.service and ugreen-netdevmon@<device name>.service
6. HCTL mapping will fail in some cases (hctl mapping for SATA drives only #14), UGOS uses ATA number to map disks to slots. I changed the default mapping to ATA, which can be shown by the following scripts:
2024-06-22 03:26:26 +08:00
Yuhao Zhou
f161948c51 update the doc about HCTL mapping (#9) 2024-06-17 19:35:57 +08:00
Yuhao Zhou
5955ad1473 support specifying the network device in the systemd service configuration (#7) 2024-06-12 21:07:10 +08:00
Yuhao Zhou
e0be054404 Update README.md 2024-06-11 22:18:28 +08:00
Yuhao Zhou
77700243c5 Update README.md 2024-06-10 02:19:23 +08:00
Yuhao Zhou
31b463a796 Update README.md 2024-06-08 13:36:27 +08:00
Yuhao Zhou
d7f9e85d96 Update README.md 2024-06-08 03:55:24 +08:00
Yuhao Zhou
ee2195e834 Update README.md 2024-06-07 19:22:47 +08:00
Yuhao Zhou
32243e0dc0 reorganize scripts and add a systemd service for monitoring diskio 2024-06-07 19:13:56 +08:00
Yuhao Zhou
784925cdc5 add a kernel module.
Squashed commit of the following:

commit 48ad47c2cb990c7550325e798064cfab612c3e7e
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Fri Jun 7 01:51:01 2024 +0800

    update README.md

commit 576cc1e21d629e83ac589cd7f806698814da4858
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Fri Jun 7 01:23:31 2024 +0800

    update makefiles

commit 577e2fc326df4d8edc8c303a89bde89ceca90949
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Fri Jun 7 00:29:26 2024 +0800

    change the i2c device name

commit 303a05e1f4695dcc0bc117c412b0e668dd7bb2a5
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Thu Jun 6 22:46:18 2024 +0800

    add the status attribute

commit ca1a51522b9ad28b04dc12d6012994bc6dce022c
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Thu Jun 6 22:34:33 2024 +0800

    fix including filename

commit 4684bd1aaaa0de089537686d65caee4352df3bcf
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Thu Jun 6 22:18:11 2024 +0800

    add dkms.conf

commit 4925eec10259c5c626c9459a65a7abeb115c4050
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Thu Jun 6 19:35:37 2024 +0800

    Update the manual of the kernel module

commit e07f1570efab507221092d9f2d09d6b98e32f2eb
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Thu Jun 6 16:25:30 2024 +0800

    add a netdev monitoring script

commit 813884f0bd928424b3e5be9053a7cc9289ab2263
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Thu Jun 6 15:33:28 2024 +0800

    support blink and breath

commit 991db7c11521a2b7e2f841bf5916ff58003b951a
Merge: a4e540c c3e6324
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Thu Jun 6 13:35:16 2024 +0800

    Merge branch 'master' into kmod

commit a4e540cbbde41d6a8570881a85bbfebab9def1ad
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Thu Jun 6 13:20:28 2024 +0800

    add a script of monitoring diskio

commit 5b65173ec68d2a9ebc952d120935e0f533f6760f
Author: Yuhao Zhou <miskcoo@gmail.com>
Date:   Wed Jun 5 23:26:09 2024 +0800

    add a kernel driver of leds
2024-06-07 01:51:15 +08:00
Yuhao Zhou
c3e6324d05 Update README.md 2024-06-06 00:49:04 +08:00
Yuhao Zhou
5511d0e392 Update README.md 2024-06-03 01:43:09 +08:00
Yuhao Zhou
708ef31152 Update README.md 2024-06-03 01:42:28 +08:00
Yuhao Zhou
8dc9532dd5 Update README.md 2024-06-02 14:40:55 +08:00
Yuhao Zhou
a28c7e6a14 update readme 2024-06-02 14:37:30 +08:00
Yuhao Zhou
8e093f2c69 Update README.md 2024-06-02 05:14:14 +08:00
Yuhao Zhou
744ee0c02a Update README.md 2024-06-02 00:52:58 +08:00
Yuhao Zhou
94f108d352 Update README.md 2024-06-01 03:52:40 +08:00
Yuhao Zhou
5d3720f629 Update README.md 2024-06-01 01:38:19 +08:00
Yuhao Zhou
ebbc2f31ae Update README.md 2024-05-12 21:37:05 +08:00
Yuhao Zhou
2b95d395fe update readme 2024-05-12 10:59:23 +08:00
Yuhao Zhou
5be29d1770 breath control 2024-05-12 10:52:55 +08:00
Yuhao Zhou
9366584e44 Update README.md 2024-05-12 00:22:30 +08:00
Yuhao Zhou
121dc00f49 Update README.md 2024-05-12 00:08:59 +08:00
Yuhao Zhou
05b5e71f85 Update README.md 2024-05-12 00:07:03 +08:00
Yuhao Zhou
86e09dac4d Update README.md 2024-05-11 22:59:48 +08:00
Yuhao Zhou
f44f02b751 Update README.md 2024-05-11 22:54:58 +08:00
Yuhao Zhou
5aea62984f Update README.md 2024-05-11 21:58:07 +08:00
Yuhao Zhou
d7750cda74 Update README.md 2024-05-11 21:53:04 +08:00
Yuhao Zhou
9de3cfff1b Update README.md 2024-05-11 21:45:39 +08:00
Yuhao Zhou
82beab9339 Update README.md 2024-05-11 21:43:04 +08:00
Yuhao Zhou
af8059a897 Update README.md 2024-05-11 21:35:19 +08:00
Yuhao Zhou
f8e1be3e8c Update README.md 2024-05-11 21:25:44 +08:00
Yuhao Zhou
4e133c3b23 add the README file, change the cli tool name 2024-05-11 21:25:12 +08:00