CSI Manual on Pi 5: Difference between revisions

No edit summary
 
No edit summary
Line 3: Line 3:


1. Edit /boot/config.txt (sudo permission required).
1. Edit /boot/config.txt (sudo permission required).
: sudo nano /boot/config.txt
:<pre>sudo nano /boot/firmware/config.txt</pre>
:Add the following content:
:Add the following content:
: dtoverlay=tc358743
: <pre>dtoverlay=tc358743</pre>


:If your modules [[C790]] support audio, add the following content to enable audio support. If you use [[C779]], please ignore this step
:If your modules [[C790]] support audio, add the following content to enable audio support. If you use [[C779]], please ignore this step
: dtoverlay=tc358743-audio
: <pre>dtoverlay=tc358743-audio</pre>


: Then reboot the raspberry Pi.
: Then reboot the raspberry Pi.


2. Execute the following command to find the '''media node''' corresponding to the CSI as '''media0''', under the '''rp1-cfe (platform: 1f00128000.csi)''' field:
2. Execute the following command to find the '''media node''' corresponding to the CSI as '''media0''', under the '''rp1-cfe (platform: 1f00128000.csi)''' field:
: v4l2-ctl --list-devices
: <pre>v4l2-ctl --list-devices</pre>
<syntaxhighlight lang="python" line highlight="24,33">
<syntaxhighlight lang="python" line highlight="24,33">
blikvm@blikvm:~ $ v4l2-ctl --list-devices
blikvm@blikvm:~ $ v4l2-ctl --list-devices