Add video_off_hdmi option to power down HDMI on idle timeout (#1110)

When video_off_hdmi=1 is set in MiSTer.ini, the ADV7513 HDMI
transmitter is powered down via I2C when the video_off timeout
expires, allowing the connected monitor to enter sleep mode.
HDMI is restored when user activity is detected (OSD opens).
This commit is contained in:
Timothy Redaelli
2026-03-08 20:05:58 +01:00
committed by GitHub
parent 74ac680640
commit 6b21918ce2
6 changed files with 23 additions and 0 deletions

View File

@@ -1239,6 +1239,7 @@ void HandleUI(void)
{
off_timeout = 0;
video_menu_bg(user_io_status_get("[3:1]"), 3);
if (cfg.video_off_hdmi) video_hdmi_power(0);
}
if (c || menustate != MENU_FILE_SELECT2)
@@ -1248,6 +1249,7 @@ void HandleUI(void)
{
c = 0;
menu_visible = 1;
if (cfg.video_off_hdmi) video_hdmi_power(1);
video_menu_bg(user_io_status_get("[3:1]"));
OsdMenuCtl(1);
}