Fix LY protocol integration gaps + missing PM/FBL resolution mappings
LY Protocol Fixes (addresses #45)
LY protocol (0416:5408/5409) was added in v6.1.8 but several code paths only checked for bulk, silently skipping LY devices:
- GUI invisible:
find_lcd_devices()didn't handlelyprotocol — devices couldn't be seen in GUI - Wrong encoding: JPEG encoding paths sent 1.7MB raw RGB565 instead of ~15KB JPEG
- Display path: CLI showed "No device path found" for LY devices
- udev rules: Wrong rule type generated for LY devices
- Debug report:
trcc reportskipped LY handshake diagnostics
Resolution Pipeline (from v2.1.2 C# audit)
- Add 8 new PM→FBL override entries (PM 13-17, 50, 66, 68, 69)
- FBL 192 multi-resolution disambiguation: PM 68→1280x480, PM 69→1920x440
- FBL 224 expanded: 960x320, 640x172, 960x540
- Extract reusable
discover_resolution()for API device select
Stats
- 2481 tests passing
- 16 files changed, +361 -47