CSI Manual on Pi 5: Difference between revisions

No edit summary
No edit summary
Line 63: Line 63:


2.1 Create an EDID file using the following content.  
2.1 Create an EDID file using the following content.  
sudo nano edid60.txt
sudo nano edid60.txt
<pre>
<pre>
00 ff ff ff ff ff ff 00 52 62 00 37 00 00 00 00
00 ff ff ff ff ff ff 00 52 62 00 37 00 00 00 00
Line 83: Line 83:
</pre>
</pre>
Copy the following content into the file edid.txt and then save it.
Copy the following content into the file edid.txt and then save it.
2.2 Loading the EDID data with the following command:
For the Debian version 12 (Bookworm),
v4l2-ctl -d /dev/v4l-subdev2 --set-edid=file=/home/pi/1080P60EDID.txt --fix-edid-checksums
For the Debian version 13 (trixie),
v4l2-ctl -d /dev/v4l-subdev2 --set-edid=file=/home/pi/1080P60EDID.txt
PS:Pay attention to the directory of your edid file


3. Locate the node corresponding to tc358743 as v4l-subdev2, and the pad0 of rp1-cfe-csi2_ch0 as video0:
3. Locate the node corresponding to tc358743 as v4l-subdev2, and the pad0 of rp1-cfe-csi2_ch0 as video0: