X1300 Software: Difference between revisions

Replace <comments/> with <comment-streams />
 
(4 intermediate revisions by 3 users not shown)
Line 8: Line 8:




Now assumes you've already set up a Raspberry Pi with Raspbian12('''bookworm'''). For help installing the Debian-based OS on your Pi, check out the docs on https://www.raspberrypi.com/
Now assumes you've already set up a Raspberry Pi with Raspbian12('''bookworm''') or Debian 13('''trixie'''). For help installing the Debian-based OS on your Pi, check out the docs on https://www.raspberrypi.com/


To check the kernel version, execute the following command: (OS kernel upgrades often bring about some uncertain issues)
To check the kernel version, execute the following command: (OS kernel upgrades often bring about some uncertain issues)
Line 17: Line 17:




1. To enable the device tree overlay in the '''/boot/firmware/config.txt'''
1. '''To enable the device tree overlay in the /boot/firmware/config.txt'''
  sudo nano /boot/firmware/config.txt
  sudo nano /boot/firmware/config.txt
Add two lines at the end of the file that reads like this:
Add two lines at the end of the file that reads like this:
Line 33: Line 33:




2. Reboot the Raspberry Pi 5 for the settings to take effect
2. '''Reboot the Raspberry Pi 5 for the settings to take effect'''
  sudo reboot
  sudo reboot




3.  Check video devices list
3.  '''Check video devices list'''
  v4l2-ctl --list-devices
  v4l2-ctl --list-devices
[[File:X1300v1.0-setting3.png]]
[[File:X1300v1.0-setting3.png]]




4.  Create an 1920*1080P EDID txt file to setup the HDMI to CSI adapter before you can connect it to a HDMI source. This EDID file will enable the video and audio mode supported.
4.  '''Create an 1920*1080P EDID txt file to setup the HDMI to CSI adapter before you can connect it to a HDMI source. This EDID file will enable the video and audio mode supported.'''
  sudo nano 1080P60EDID.txt
  sudo nano 1080P60EDID.txt
Copy below EDID data and paste to 1080P60EDID.txt, or download EDID data from [https://github.com/6by9/CSI2_device_config/blob/master/1080P60EDID.txt EDID link 1] or [https://github.com/FearL0rd/RPi5_hdmi_in_card/tree/main/hdmi2csi2card EDID link 2](EDID link 2 Provides more EDID options)
Copy below EDID data and paste to 1080P60EDID.txt, or download EDID data from [https://github.com/6by9/CSI2_device_config/blob/master/1080P60EDID.txt EDID link 1] or [https://github.com/FearL0rd/RPi5_hdmi_in_card/tree/main/hdmi2csi2card EDID link 2](EDID link 2 Provides more EDID options)
Line 65: Line 65:




5. Loading the EDID data
5. '''Loading the EDID data'''
  v4l2-ctl -d /dev/v4l-subdev2 --set-edid=file=1080P60EDID.txt --fix-edid-checksums
 
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
'''PS''':Pay attention to the directory of your edid file


Line 137: Line 145:


<!--Add review function! -->
<!--Add review function! -->
<comments />
<comment-streams id="main" />


<!--Please choose the  -->
<!--Please choose the  -->