Repository navigation
feat: HDMI-CEC — wake the TV, remote keys - #5
Merged
madeofpendletonwool merged 1 commit intoOct 15, 2026
Merged
Conversation
- boxd claims the playback logical address on the CEC adapters at start (cec-ctl, not libcec) and watches the bus with a monitor per adapter - playing bridge events wake the TV and switch it to the box, once per playback start and at most every 5 minutes - the TV remote's keys (arrows, OK, Back, Play/Pause) become Chromium key events through an injected uinput keyboard - a 3 s OK hold opens the setup window and shows the box's IP and version on the TV - cec_standby=on puts a TV the box switched on into standby after cec_standby_minutes idle, unless someone else has taken the input - cec group + udev rule grant /dev/cec* and /dev/uinput without relying on root; smoke test covers the new stage - docs: ADR 0009, docs/hardware.md TV matrix (pending bench), CEC gauntlet in docs/testing.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.
MAD-807. HDMI-CEC through the kernel framework (cec-ctl, not libcec): the TV wakes and switches to the box when music starts, the TV remote drives /tv through injected uinput keys, a 3 s OK hold opens setup and shows the box's IP and version, and an optional standby (off by default) puts a box-owned TV to sleep when the room goes quiet.