Repository navigation
ucc-rusted v1.0.0-rc1
Pre-release
Pre-release
ucc-rusted v1.0.0-rc1 — Release Notes
English | Русский
v1.0.0-rc1 is the first release candidate of ucc-rusted — the complete Rust migration of Uniwill Control Center (UCC) for Uniwill, Clevo, Mechrevo, and TUXEDO laptops (x86_64 Linux-first, with L1/L2 Windows port verification in CI).
main (0.3.0) vs rust/migration (1.0.0-rc1)
Across 101 commits (716 files changed, +194,517 / -49,851 lines), the background daemon, hardware/sysfs/ioctl/BLE/NVML layers, lighting engine, CLI, system tray, session agent, sleep recovery helpers, and kernel driver have moved from the legacy C++/Python 0.3.0 fork to a hardened 10-crate Rust workspace (MSRV 1.89, edition 2021) plus an in-tree Rust-for-Linux kernel driver.
| Area | main (0.3.0) |
rust/migration (1.0.0-rc1) |
|---|---|---|
| Runtime stack | C++20 / Qt6 (uccd, ucc-cli, ucc-tray, ucc-session-agent) + legacy Python scripts in contrib/ |
10-crate Rust workspace (8 Rust binaries + xtask); legacy Python scripts in contrib/ removed |
| Kernel driver | External tuxedo-drivers-dkms (/dev/tuxedo_io) + Linux 7.3 patch |
In-tree clean-room kernel/uwcc-rs (GPL-2.0-only, /dev/uwcc, SMRW, PWUP, PWBT/PWDB, MXDS/MXDM, RamFan 1.5, D3cold-safe hwmon, KEY_F14); tuxedo-drivers compatibility retained |
| GUI & tray | Qt6 GUI + optional KDE Plasma KF6/QML applet (ucc-tray) |
Standalone on-demand C++20 Qt6::Widgets + Qt6::Charts GUI (0 KF6/QML/Qt6Bluetooth/libucc-dbus.so links, enforced by test_gui_ldd_invariants); Rust SNI tray (ucc-desktop-tray via ksni) |
| Lighting | Kernel ite_8291_lb sysfs only |
Direct USB hidraw & Windows HID transports (048D:600B, CE00, 7001, 7000) + per-key Mechrevo 126-key calibration + Lightbar & Lid Logo + 5 notification animations |
| IPC & security | 121 D-Bus methods, Polkit unix-process, direct file writes |
129 D-Bus methods + 7 signals, Polkit system-bus-name with per-sender/UID rate-limiting, O_NOFOLLOW sysfs, atomic openat/renameat config persistence, OffloadLanes, pidfd, cargo-audit/cargo-deny, strict SPDX (389/389) |
| Windows port | None (Linux only) | Level L1/L2 (WINDOWS_PORT.md): Named Pipe IPC, WindowsWmiEcBackend, WinRT BLE, Windows HID, SCM contracts, x86_64-pc-windows-gnu cross-check, native x86_64-pc-windows-msvc CI |
| Test coverage | 38 CTest targets | 1,067 Rust workspace tests (91 unit + 976 integration across 119 targets) + 12 no_std kernel tests in uwcc-rs (1,079 Rust tests) + 25 CTest targets (including 5 test_gui_audit_* shards and test_rust_uccd_interop) |
| Packaging | Arch PKGBUILD only |
Arch PKGBUILD (ucc-rusted + uwcc-dkms), Debian (debian/), RPM (ucc.spec), Nix (flake.nix), reproducible make dist with vendored crates, CycloneDX SBOM & RELEASE_MANIFEST.json |
Highlights
- Native Rust-for-Linux kernel driver (
kernel/uwcc-rs,GPL-2.0-only):/dev/uwccUAPI with strict EC write allowlist & atomic RMW masks, 350 ms cachedhwmon(CPU Fan,GPU Fan,CPU (EC),GPU (EC)with-ENODATAD3cold protection,pwm1/pwm2), tear-free 16-bit RPM reads,SMRW12-byteINOU0000power limits,PWUP(0..=7), NVIDIAPWBT/PWDB, Display MUX (MXDS/MXDM), and WMI hotkey ring buffer. - Hardware & telemetry (
ucc-hardware,ucc-lighting): Uniwill0x1A(MECHREVO X6AR55xY / Core Ultra 9 275HX + RTX 5080 Mobile) fullCustommode (CUME+UFME+RamFan 1.596-byte tables +pl4_doubledscaling +TCC0x0786/0x0463+ livecTGP/DB), D3cold-safe NVML with per-BDF metadata caching, cached PCI/DRM/hwmon/CPU telemetry, BLE LCT/Aquaris/OASIS water cooler (PumpStabilizer+ exponential backoff), and direct USB HID lighting. - Daemon & clients (
uccd,ucc-cli,ucc-desktop-tray,ucc-session-agent,ucc-gui): Transactional profile application with rollback, WMI hotkey remapper (ucc-cli hotkeys), live CPU/GPU limits & TCC 105 °C ceiling in Qt6 GUI, async D-Bus reads, and 22 fresh Qt6 UI screenshots (screenshots/current/).
Known Limitations
- Linux-first release: Full production runtime support targets Linux
x86_64(systemd, D-Bus, Polkit,/dev/uwccor/dev/tuxedo_io). - Windows port is L1/L2 (not end-user GA): Named Pipe IPC, WMI EC, WinRT BLE, Windows HID, and SCM abstractions compile and pass
x86_64-pc-windows-gnucross-check plus265/265nativex86_64-pc-windows-msvctests (ucc-core,ucc-config,ucc-dbus), but end-user Windows installer/runtime packaging is deferred past RC1. - Confirmed hardware scope: Deep live-hardware validation has been performed on MECHREVO X6AR55xY (Uniwill
0x1A, Intel Core Ultra 9 275HX + RTX 5080 Laptop GPU + BLE LCT/Aquaris/OASIS water cooler). Other Uniwill/Clevo/TUXEDO models rely on upstream register maps andtuxedo-driversfallback. - Intel iGPU temperature: Linux
i915/xedrivers do not expose ahwmontemperature sensor for integrated Arrow Lake-HX GPUs;ucc-cli/ GUI intentionally reportn/arather than substituting CPU package temperature.
Recovery & Rollback
- Emergency fan recovery: On a normal stop or crash of
uccd.service,ExecStopPostruns/usr/lib/ucc/ucc-hardware --fan-autoon a best-effort basis to return fans to firmware auto mode. To run it manually without racing the daemon, stopuccdfirst (sudo systemctl stop uccd.service && sudo /usr/lib/ucc/ucc-hardware --fan-auto). Note that neitherExecStopPostnorucc-hardwarecan recover a hard-hung EC — if the EC stops responding to ACPI/EC writes, perform a full power-off / EC reset. - Configuration rollback: Every atomic config write retains a
.bakbackup alongside/etc/ucc/settingsand~/.config/ucc/settings.json. Seedocs/MIGRATION_AND_RECOVERY.mdfor full offline recovery and kernel driver fallback (uwcc-dkms↔tuxedo-drivers) steps. - Package downgrade: On Arch (
ucc-rusted 1:1.0.0rc1), Debian (ucc 1:1.0.0~rc1), and RPM (ucc 1:1.0.0~rc1), prerelease versions sort strictly below stable1.0.0for seamless RC1 →1.0.0upgrades.
Licensing
- Userspace workspace, CLI, daemon, tray, session agent, GNOME extension, and Qt6 GUI: GPL-3.0-or-later (
COPYING). - In-tree Linux kernel module (
kernel/uwcc-rs/): GPL-2.0-only (WITH Linux-syscall-noteon UAPI headers).