Skip to content

fix(report): use current settings and udev rule paths - #273

Open
Ziusz wants to merge 2 commits into
Lexonight1:mainfrom
Ziusz:fix-report-output
Open

fix(report): use current settings and udev rule paths#273
Ziusz wants to merge 2 commits into
Lexonight1:mainfrom
Ziusz:fix-report-output

Conversation

@Ziusz

@Ziusz Ziusz commented Aug 14, 2026

Copy link
Copy Markdown

Summary

Small cleanup for two misleading sections in trcc report. Both issues were spotted in the diagnostic output attached to #272.

Changes:

  • read settings from trcc.json instead of the old config.json path
  • look for 99-trcc-lcd.rules in the standard system, runtime, local, and distro package locations
  • update the hint from the obsolete 99-trcc.rules name to the current 99-trcc-lcd.rules filename
  • add regression tests for both fixes

This prevents existing settings files and udev rules from being incorrectly reported as missing.

Checklist

  • Tests pass (pytest -v --tb=short)
  • Linter clean (ruff check .)
  • Tested on hardware (if device-specific change)
  • New tests added (if adding functionality)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant