Skip to content

frame: add optional HDMI-CEC device handling - #352

Merged
saviq-work merged 26 commits into
core26from
MIRENG-2199-hdmi-cec-power-support
Oct 19, 2026
Merged

saviq-work merged 26 commits into
core26from
MIRENG-2199-hdmi-cec-power-support

Conversation

@saviq-work

@saviq-work saviq-work commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

With the cec-control option enabled and a CEC adapter supported by libcec, Frame will manage power and route input on connected, CEC-enabled displays.

This will work on any libcec-supported device, tested on a Raspberry Pi on Ubuntu 26.04.

Testing might require root, or at least video membership, outside of snap - or with snapd from the snap-files-arm64-default-test artifact from the PR adding the hdmi-cec interface.


Stack created with GitHub Stacks CLI • Give Feedback 💬

@saviq-work
saviq-work added this pull request to stack #353 October 3, 2026 12:27
@saviq-work
saviq-work force-pushed the MIRENG-2199-hdmi-cec-power-support branch 2 times, most recently from c4612ad to aae4463 Compare October 3, 2026 18:05
@saviq-work
saviq-work force-pushed the MIRENG-2199-hdmi-cec-power-support branch 2 times, most recently from f079fdc to 1422f00 Compare October 4, 2026 11:59
@saviq-work
saviq-work removed this pull request from stack #353 October 6, 2026 17:17
@saviq-work
saviq-work requested a balanced review from Copilot October 6, 2026 17:57

This comment was marked as outdated.

Base automatically changed from workshop-coverage to core26 October 6, 2026 18:20
@saviq-work
saviq-work force-pushed the MIRENG-2199-hdmi-cec-power-support branch from 510e64e to 19c04e9 Compare October 7, 2026 09:47
@saviq-work
saviq-work changed the base branch from core26 to forward-port-core24 October 7, 2026 09:47
@saviq-work
saviq-work added this pull request to stack #357 October 7, 2026 09:47
@saviq-work
saviq-work force-pushed the MIRENG-2199-hdmi-cec-power-support branch 2 times, most recently from fc897da to d9551f2 Compare October 7, 2026 11:04
@saviq-work
saviq-work removed this pull request from stack #357 October 7, 2026 11:20
@saviq-work
saviq-work force-pushed the MIRENG-2199-hdmi-cec-power-support branch from d9551f2 to 26d9bd2 Compare October 7, 2026 11:20
@saviq-work
saviq-work changed the base branch from forward-port-core24 to ordered-snap-packages October 7, 2026 11:20
@saviq-work
saviq-work added this pull request to stack #359 October 7, 2026 11:20
@saviq-work
saviq-work force-pushed the MIRENG-2199-hdmi-cec-power-support branch 3 times, most recently from 70f5aa0 to 9ce051f Compare October 7, 2026 14:40
@saviq-work
saviq-work marked this pull request as ready for review October 7, 2026 14:42
@saviq-work
saviq-work requested a review from a team as a code owner October 7, 2026 14:42
Comment thread docs/release-notes.md
Comment thread src/tests/test_cec_manager.cpp Outdated
Comment thread src/tests/test_cec_manager.cpp

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread src/cec_manager.cpp
Comment thread docs/release-notes/snap553-mir2-31-0.md
@saviq-work
saviq-work force-pushed the MIRENG-2199-hdmi-cec-power-support branch from 6cbec36 to e35683d Compare October 15, 2026 10:05
Comment thread src/tests/mock_icec_adapter.h
Base automatically changed from ordered-snap-packages to core26 October 19, 2026 15:23
@github-actions

Copy link
Copy Markdown

TICS Quality Gate

✔️ Passed

ubuntu-frame

Coding Standards: ✔️ Passed

✔️ Condition “No new Coding Standard Violations for level 1, 2, 3 with respect to Previous analysis” passed.

See the results in the TICS Viewer

The following files have been checked for this project
  • src/cec_adapter.h
  • src/cec_manager.cpp
  • src/cec_manager.h
  • src/cec_output_configuration.cpp
  • src/cec_output_configuration.h
  • src/cec_output.cpp
  • src/cec_output.h
  • src/frame_main.cpp
  • src/libcec_adapter.cpp
  • src/libcec_adapter.h

TICS / TICS / tics-github-action

@AlanGriffiths AlanGriffiths left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's behind a feature flag, so safe to land without extensive testing against random kit

@saviq-work
saviq-work merged commit 0427869 into core26 Oct 19, 2026
11 of 16 checks passed
@saviq-work
saviq-work deleted the MIRENG-2199-hdmi-cec-power-support branch October 19, 2026 16:55
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.

5 participants