Skip to content
fubar-coderPublic

About

Linux library, CLI and D-Bus service for the segment LCD of the Thermaltake LB360-S ARGB Sync AIO cooler – reverse-engineered USB HID protocol, live CPU/GPU temperatures (.NET, Native AOT). Not affiliated with Thermaltake.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SegLcd – Thermaltake LB360-S ARGB Sync segment LCD on Linux

English · Deutsch

SegLcd is an independent project and not affiliated with Thermaltake. "Thermaltake" is a trademark of Thermaltake Technology Co., Ltd.; the name is used only to identify the supported hardware.

Protocol documentation, library and tools to drive the segment LCD on the pump block of the Thermaltake LB360-S ARGB Sync (USB 5131:200e) on Linux – from reverse engineering the USB HID protocol to a systemd service that shows the CPU and GPU temperature live on the display.

📖 Documentation: https://fubar-coder.github.io/SegLcd/ (Deutsch)

  • seglcd – CLI for testing, sending and analysing (list, send, live, probe, decode, …)
  • seglcdd – systemd service with D-Bus interface and TOML configuration
  • seglcd-gtk – GTK/libadwaita settings app: values, intervals, sensor selection
  • Sensors for AMD, Intel and NVIDIA (hwmon, RAPL, NVML, DRM), Native AOT, English/German
Path Contents
docs/ Hugo/Hextra documentation (cd docs && hugo server)
udev/70-seglcd.rules access without root + USB passthrough under qemu:///session
udev/72-rapl-energy-read.rules optional: CPU package power (RAPL) for group rapl
vm/lb360s-usb-hostdev.xml libvirt hostdev for a Windows VM
tools/ usbmon capture, packet extraction, package test (test-package.sh)
src/SegLcd.Core library (.NET 11, AOT, HidApi.Net → native hidapi)
src/SegLcd.Linux Linux sensors (hwmon, procfs, cpufreq, RAPL, NVML, DRM)
src/SegLcd.Localization gettext localization (po/: English → German)
src/SegLcd.Tool CLI seglcd (DotMake.CommandLine, Native AOT)
src/SegLcd.Daemon service seglcdd (systemd, D-Bus, TOML configuration)
src/SegLcd.Client D-Bus client of seglcdd (used by the GUI)
src/SegLcd.Gtk settings app seglcd-gtk (Gir.Core, GTK 4/libadwaita, Native AOT)
data/ desktop file, AppStream metadata and icon of seglcd-gtk
man/ man pages seglcd(1), seglcdd(1), seglcd-gtk(1), seglcdd.toml(5) – English and German (man/de/)
packaging/ packages (AUR, RPM, DEB), system/user units, D-Bus policy, example configuration, install-user.sh / uninstall-user.sh
tests/SegLcd.Tests TUnit tests, including the test vectors from the documentation
git submodule update --init
sudo pacman -S hidapi                # native dependency (libhidapi-hidraw.so.0)
sudo install -m 644 udev/70-seglcd.rules /etc/udev/rules.d/
sudo udevadm control --reload
sudo udevadm trigger --action=change --subsystem-match=hidraw --subsystem-match=usb

dotnet test
dotnet publish src/SegLcd.Tool -c Release -r linux-x64
# -> artifacts/publish/SegLcd.Tool/release_linux-x64/seglcd
artifacts/publish/SegLcd.Tool/release_linux-x64/seglcd list
artifacts/publish/SegLcd.Tool/release_linux-x64/seglcd send --cpu-temp 42 --gpu-temp 57 --duration 20

Install the service:

  • system-wide as package (system service from boot, user seglcd, system bus): Arch (AUR), Fedora/openSUSE (RPM), Debian/Ubuntu (DEB) – see packaging/README.md; the service starts automatically when the display is present;
  • per user without root (systemd user service, session bus):
packaging/install-user.sh          # --help, --reset-config, --no-start, --no-gui
journalctl --user -u seglcdd -f
packaging/uninstall-user.sh        # --purge also removes ~/.config/seglcd

License

GPL-3.0-or-later – see LICENSE.

About

Linux library, CLI and D-Bus service for the segment LCD of the Thermaltake LB360-S ARGB Sync AIO cooler – reverse-engineered USB HID protocol, live CPU/GPU temperatures (.NET, Native AOT). Not affiliated with Thermaltake.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages