github Lexonight1/thermalright-trcc-linux v9.5.2

6 hours ago

PyPI re-release of v9.5.1 — same content. Use this version for pip install --upgrade trcc-linux.

v9.5.1 source landed cleanly but PyPI rejected the upload (per-project 10 GB storage cap). Freed space on PyPI side; v9.5.2 ships the identical fixes via pip.

What's fixed (same as v9.5.1)

  • Bulk / HID / LY / LED handshake on every non-SCSI device (#131, #132, #133): DeviceInfo was missing the addr: UsbAddress | None field that the factory's bulk/hid/ly/led lambdas read. Fixed. Regression coverage parametrized over every entry in ALL_DEVICES.
  • AMD GPU detection on Windows (#131): WMI Win32_VideoController fallback added — AMD cards now appear in trcc gpus even without LibreHardwareMonitor running.
  • API /devices/{id}/select 404 fixed: silently broken since the Trcc facade landed; api/devices.py rewritten Trcc-native.

Architecture (paving for v9.6)

  • make_platform() chokepoint — single OS-detection site, honors TRCC_MOCK=1 / TRCC_MOCK=path.json
  • for_current_os() runtime call sites collapsed from 22+ to 1
  • TrccApp composes Trcc internally — single source of truth for connected devices
  • Pythonic Trcc — __slots__, container protocol, context manager, read-only views
  • 12+ CLI sites migrated from TrccApp.get() to _boot.trcc()
  • dev/mock_* scripts drop the ControllerBuilder.for_current_os monkey-patch — pure DI

Upgrade

  • Arch / Manjaro: wget -c https://github.com/Lexonight1/thermalright-trcc-linux/releases/latest/download/trcc-linux-latest-any.pkg.tar.zst && sudo pacman -U trcc-linux-*.pkg.tar.zst
  • Fedora / RHEL: wget -c https://github.com/Lexonight1/thermalright-trcc-linux/releases/latest/download/trcc-linux-latest.noarch.rpm && sudo dnf install ./trcc-linux-*.rpm
  • Debian / Ubuntu: wget -c https://github.com/Lexonight1/thermalright-trcc-linux/releases/latest/download/trcc-linux-latest_all.deb && sudo dpkg -i trcc-linux_*.deb
  • Older Debian / glibc < 2.39: wget -c https://github.com/Lexonight1/thermalright-trcc-linux/releases/latest/download/trcc-linux-latest.legacy_all.deb && sudo dpkg -i trcc-linux_*.legacy_all.deb
  • pip: pip install --upgrade trcc-linux

If this project helps you, consider buying me a beer 🍺 or Ko-fi

Don't miss a new thermalright-trcc-linux release

NewReleases is sending notifications on new releases.