Repository navigation
Prepare scene playback for every layout and add Pro Max and SONiC groundwork - #48
Merged
Merged
Conversation
…undwork The resident scene compiler moves to resident_scene.py and uses the canonical connector count of the hardware profile, so a scene covers every connector of all 25 layouts without stacking or internal records. The player script gets its port count and optical masks from the profile, the AWK renderer takes the port count as an argument, and reconnecting checks the renderer's hash as well as the player's before reusing a running player. On the Pro XG 8 PoE the scene data and the player commands are unchanged; switch playback stays limited to that model. pro_max.py adds a bounded packet codec and transaction planner for the six Pro Max connector layouts, sonic_lighting.py decodes Campus Aggregation/Core MCU snapshots, and tools/device-helpers/pro-max-io.c holds a fixed-device I2C transfer core whose test build excludes device access. None of them performs I/O from EE or enables output on those models. HARDWARE-QUALIFICATION.md records what each establishes and what remains.
…work # Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This finishes the uncommitted work left after #33: scene playback data for every connector layout, and offline groundwork for Pro Max and Campus Aggregation/Core (SONiC) lighting. Supported switches do not change. Switch playback stays limited to the USW-Pro-XG-8-PoE, and Pro Max and SONiC output stays blocked.
Resident scenes
resident_scene.pytakes over the scene compiler fromdevice_playback.pyand uses the hardware profile's canonical connector count, so a scene covers every connector of all 25 layouts without stacking or internal records. It rejects ports outside the profile, duplicate ports and an optical sync source that is not copper.player.shgets its port count and optical masks from the profile through a generated layout block, andframes.awktakes the port count as an argument. A player started by an earlier version passes no count and keeps the ten-port format.resident/player.sh.Pro Max and SONiC groundwork
pro_max.py: a bounded packet codec and transaction planner for the six Pro Max connector layouts. It separates transfer acceptance from a matching register snapshot, checks exact lengths, bounds read retries and never retransmits an uncertain write. It performs no I/O.tools/device-helpers/pro-max-io.c: the fixed-deviceI2C_RDWRtransfer core. The test build excludes device access and the Linux device wrapper needs an explicit build macro. EE does not package or run it.sonic_lighting.py: binds the captured MCU hash and board ID to the 54- or 32-port layout and decodes the selector/RGBW snapshot. It adds no transport.docs/HARDWARE-QUALIFICATION.mdrecords what each part establishes and what remains before output on those models: target integration, controller ownership and physical acceptance.docs/DEVELOPMENT.mdlists the C compiler the helper tests need.Verification
ruff checkclean.tools/check-repository.pyandtools/check-fixtures.pypassed.