RSS Bot Posted September 13 Share Posted September 13 Description This exposes the ITC content type provided by hdmi spec to v4l2. This allows user space applications to query the driver using V4L2_CID_DV_RX_IT_CONTENT_TYPE. This way user applications can see not only if a hdmi is plugged in or not, but also what type of video is being transmitted. For my use case specifically, I just want to know if the recieved type is no type (V4L2_DV_IT_CONTENT_TYPE_NO_ITC) or literally anything else. This would let me detect when my main computer's goes to sleep with the hdmi out from the main computer plugged into the OP5+ HDMI in. Without this patch, there's no way to tell that happened, as for my gpu/hdmi plug, it keeps the hot plug detection pin high the whole time. How Has This Been Tested? tested on orange pi 5 plus Checklist: [ x] I have performed a self-review of my own code [ x] My changes generate no new warnings View the full article Link to comment Share on other sites More sharing options...
Recommended Posts