<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CommentStreams%3A5139742ce7ec7df2a5d3a9cca84469aa</id>
	<title>CommentStreams:5139742ce7ec7df2a5d3a9cca84469aa - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CommentStreams%3A5139742ce7ec7df2a5d3a9cca84469aa"/>
	<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CommentStreams:5139742ce7ec7df2a5d3a9cca84469aa&amp;action=history"/>
	<updated>2026-06-21T03:31:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geekworm.com/index.php?title=CommentStreams:5139742ce7ec7df2a5d3a9cca84469aa&amp;diff=35496&amp;oldid=prev</id>
		<title>24.124.19.139: Migrated comment #6178</title>
		<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CommentStreams:5139742ce7ec7df2a5d3a9cca84469aa&amp;diff=35496&amp;oldid=prev"/>
		<updated>2025-12-17T04:49:05Z</updated>

		<summary type="html">&lt;p&gt;Migrated comment #6178&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This works for me with an input from a NES little box from walmart.&lt;br /&gt;
The sleep after loading the EDID file is important!&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
set -x&lt;br /&gt;
sudo rm -rf csitest.yuv&lt;br /&gt;
&lt;br /&gt;
MEDIA_DEVICE=&amp;quot;/dev/media0&amp;quot;  # change this if your media node differs&lt;br /&gt;
&lt;br /&gt;
v4l2-ctl -d &amp;quot;/dev/v4l-subdev2&amp;quot; --set-edid=file=&amp;quot;/home/rkeene/source/retroshark/X1301files/1080p60EDID.txt&amp;quot;&lt;br /&gt;
# Must sleep here to let the HDMI HAT sync with the video signal.&lt;br /&gt;
sleep 2&lt;br /&gt;
&lt;br /&gt;
v4l2-ctl -d /dev/v4l-subdev2 --query-dv-timings&lt;br /&gt;
v4l2-ctl -d /dev/v4l-subdev2 --set-dv-bt-timings query&lt;br /&gt;
&lt;br /&gt;
v4l2-ctl --list-devices&lt;br /&gt;
media-ctl -d &amp;quot;${MEDIA_DEVICE}&amp;quot; -r&lt;br /&gt;
&lt;br /&gt;
media-ctl -d &amp;quot;${MEDIA_DEVICE}&amp;quot; -l &amp;quot;&amp;#039;csi2&amp;#039;:4 -&amp;gt; &amp;#039;rp1-cfe-csi2_ch0&amp;#039;:0 [1]&amp;quot;&lt;br /&gt;
media-ctl -d &amp;quot;${MEDIA_DEVICE}&amp;quot; -V &amp;quot;&amp;#039;csi2&amp;#039;:0 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]&amp;quot;&lt;br /&gt;
media-ctl -d &amp;quot;${MEDIA_DEVICE}&amp;quot; -V &amp;quot;&amp;#039;csi2&amp;#039;:4 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
sudo rm -rf csitest.yuv&lt;br /&gt;
v4l2-ctl -v width=1920,height=1080,pixelformat=RGB3&lt;br /&gt;
v4l2-ctl --verbose -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=&amp;#039;RGB3&amp;#039; --stream-mmap=4 --stream-skip=3 --stream-count=60 --stream-to=csitest.yuv --stream-poll&lt;br /&gt;
ffplay -f rawvideo -video_size 1920x1080 -pixel_format bgr24 csitest.yuv&amp;lt;!-- migrated from Comments; original IP: 24.124.19.139 --&amp;gt;&lt;/div&gt;</summary>
		<author><name>24.124.19.139</name></author>
	</entry>
</feed>