CSI Manual on Pi 5: Difference between revisions
No edit summary |
No edit summary |
||
| Line 61: | Line 61: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''PS''': Please remember '''the media number''' in line 33. The following commands must use the same media number. | '''PS''': Please remember '''the media number''' in line 33. The following commands must use the same media number. | ||
2.1 Create an EDID file using the following content. | |||
sudo nano edid60.txt | |||
<pre> | |||
00 ff ff ff ff ff ff 00 52 62 00 37 00 00 00 00 | |||
01 1b 01 03 80 46 28 78 0a cf 74 a3 57 4c b0 23 | |||
09 48 4c 21 08 00 b3 00 95 00 a9 40 90 40 81 00 | |||
81 80 81 40 01 01 02 3a 80 18 71 38 2d 40 58 2c | |||
45 00 00 d0 52 00 00 1e 02 3a 80 d0 72 38 2d 40 | |||
10 2c 45 80 00 d0 52 00 00 1e 00 00 00 fc 00 33 | |||
32 46 48 44 5f 4c 43 44 5f 54 56 0a 00 00 00 fd | |||
00 30 3e 0f 46 11 00 0a 20 20 20 20 20 20 01 38 | |||
02 03 30 f1 52 10 9f 04 13 05 14 03 02 11 12 20 | |||
21 22 15 16 01 06 07 2c 09 07 07 15 07 50 57 06 | |||
00 3f 06 c0 83 01 00 00 67 03 0c 00 10 00 b0 2d | |||
01 1d 80 3e 73 38 2d 40 7e 2c 45 80 00 d0 52 00 | |||
00 1e 01 1d 80 d0 72 1c 2d 20 10 2c 25 80 00 d0 | |||
52 00 00 9e 01 1d 00 bc 52 d0 1e 20 b8 28 55 40 | |||
00 d0 52 00 00 1e 01 1d 80 18 71 1c 16 20 58 2c | |||
25 00 00 d0 52 00 00 9e 00 00 00 00 00 00 00 8f | |||
</pre> | |||
Copy the following content into the file edid.txt and then save it. | |||
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: | ||