This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: v4l-utils: test-media: connect the hdmi input to the output
Author:  Hans Verkuil <hverk...@xs4all.nl>
Date:    Tue Jun 25 09:19:22 2024 +0200

Now that vivid is able to virtually connect HDMI inputs
to HDMI outputs, that also means that by default the CEC
devices no longer are connected, and you need to set up that
loopback configuration manually in test-media.

Add the necessary commands for that.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 contrib/test/test-media | 7 +++++++
 1 file changed, 7 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=a0fd7261492d3ffeb33a3ad2e25e3642a23e01a2
diff --git a/contrib/test/test-media b/contrib/test/test-media
index 5895cf0422dd..156503a0d1c9 100755
--- a/contrib/test/test-media
+++ b/contrib/test/test-media
@@ -214,8 +214,15 @@ if ! $v4l2_ctl -z platform:vivid-002 -d vivid-002-vid-cap 
; then
        exit 0
 fi
 
+# Connect input HDMI 000-0 to output HDMI 000-0
+# This ensures an EDID is available at the output side, and that CEC
+# can be tested.
+$v4l2_ctl -z platform:vivid-000 -d vivid-000-vid-cap -c 
hdmi_000_0_is_connected_to=2
 $v4l2_ctl -z platform:vivid-000 -d vivid-000-vid-cap -i3 -v 
width=3840,height=2160,pixelformat=NV24
 $v4l2_ctl -z platform:vivid-000 -d vivid-000-vid-out -o1 -x 
width=3840,height=2160,pixelformat=NV24
+# Connect input HDMI 001-0 to output HDMI 001-0
+# This ensures an EDID is available at the output side.
+$v4l2_ctl -z platform:vivid-001 -d vivid-001-vid-cap -c 
hdmi_001_0_is_connected_to=3
 $v4l2_ctl -z platform:vivid-001 -d vivid-001-vid-cap -i3 -v 
width=3840,height=2160,pixelformat=NM16
 $v4l2_ctl -z platform:vivid-001 -d vivid-001-vid-out -o1 -x 
width=3840,height=2160,pixelformat=NM16
 $v4l2_ctl -z platform:vivid-002 -d vivid-002-vid-cap -i3 -v 
width=3840,height=2160,pixelformat=NV24

Reply via email to