How to check the HDMI interface status after the boot， Check whether the HDMI interface is working properly
I am not sure what do you mean “HDMI interface is working properly”.
You can use /sys/devices/virtual/switch/hdmi/state to check if it is connected.
Thank you very mach!
I looked at the state values is 1, This 1 represents an HDMI interface or the state of the connection on?
Yes, it means connected.
To detect the HDMI we can use /sys/devices/virtual/switch/hdmi/state
But How can we check the resolution of HDMI device connected to HDMI slot.
Please help to open a new topic.