[RPi5] How to disable HDMI port?

  • Hi All,

    I would like to completely disable HDMI port on RPi5 using perhaps SSH. Reason for that is that HDMI CEC on my display device is not working 100% correct so i am using function which turns on my display device whenever signal is detected on any of HDMI ports. So i am turning on my XBOX, display gets on, I am connecting my Windows PC, dispaly gets on. The problem is that if any of the connected devices is on, then my display device is not turning on for whatever reason (probably becasue it already sense connected device which in this case in LE box). So when my LE box is connected, even i have screen set to turn off after 5 minutes, my display device is not turning on when i turn on XBOX for example. So I would like to try to turn off/disable HDMI to test it and if it work then perhaps i could program one of my remote buttons to turn on/off HDMI port on my RPi5 where i host LE. If anyone knows how to turn of one or both HDMI ports on RPi5 please let me know.

    Thank you.

  • Probably a CEC setting, check what you have enabled/disabled in settings.

    I went through entire series of troubleshooting. Settings are correct. It is knows issue that XBOX X cannot turn on quite large amount of devices via CEC.

    Does anyone know how to disable HDMI on RPi5 on LE?

  • Code
    video=HDMI-A-1:d

    This kernel boot param ^ will disable the DRM connector at boot time. I've no idea if it can be done post-boot through /sys, but that might be worth exploring.