Skip to content

HDMI-CEC via ADV7513#1098

Closed
misteraddons wants to merge 2 commits intoMiSTer-devel:masterfrom
misteraddons:hdmi_cec
Closed

HDMI-CEC via ADV7513#1098
misteraddons wants to merge 2 commits intoMiSTer-devel:masterfrom
misteraddons:hdmi_cec

Conversation

@misteraddons
Copy link
Contributor

HDMI-CEC support via the ADV7513 integration path, with conservative defaults and low runtime chatter.

Features:

  • Enable/disable CEC - default disable (hdmi_cec)
  • Device name (hdmi_cec_name)
  • Automatically switch TV to correct input on boot/wake
  • TV remote inputs control MiSTer menu (hdmi_cec_input_mode)
    • Up, Down, Left, Right, OK
    • Back (also default OSD) (hdmi_cec_osd_key)
  • Wake TV (power on or cold reboot) or with controller input when system is idle (hdmi_cec_wake)
  • Sleep TV (hdmi_cec_sleep) when idle timeout is reached (video_off)
    • Note: video_off previously sent black frames when OSD is visible and osd_timeout was reached, with simple enable/disable option. Now, video_off will sleep video regardless of OSD state, and has presets 1-4 (1=15m, 2=30m, 3=45m, 4=60m, >5=timeout duration in minutes)

Note: DE10-nano requires hardware modification to enable CEC - missing CEC 12MHz clock. Feature was tested on third party hardware.

Add HDMI-CEC support via ADV7513 (Playback identity, OSD name, periodic physical address announce) with configurable remote input handling.

CEC config: hdmi_cec, hdmi_cec_input_mode, hdmi_cec_osd_key, hdmi_cec_name, hdmi_cec_announce_interval, hdmi_cec_sleep, hdmi_cec_wake.

Add global input-activity idle timer: video_off blanks video after inactivity across any core (presets 1-4 = 15/30/45/60m; other values are minutes). Optional HDMI-CEC sleep/wake uses the same timer.

External integration: when log_file_entry=1, create /tmp/IDLE while idle (removed on activity).

Docs: HDMI_CEC.md + MiSTer.ini comments.
@TheJesusFish
Copy link
Contributor

Confirmed that this works on a QMTech clone board.

@Kitrinx
Copy link
Member

Kitrinx commented Feb 17, 2026

This works great on some clone boards, and theoretically the de10 itself could be modded to also support it. Great change.

@sorgelig
Copy link
Member

It's not possible on original HW, it's waste of CPU power and make code complicated.
Bought new TV receintly and already got problems with CEC even on originally supported devices. Most popular solution for CEC fixes is CEC blocker :)

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants