Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Graphics, sound and multimedia • Re: Cannot open device /dev/video0 on Pi 5 HDMI to CSI (TC358743)

$
0
0
It seems like my Pi keeps defaulting to using unicam for some reason and I am not sure how to fix it (I assume this is why I keep getting "Cannot open device /dev/video0, exiting").
I've checked out viewtopic.php?p=2155828.

When I run dmesg | grep tc35, I get

Code:

[    0.064784] /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000[    0.064810] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f[    0.064920] /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000[    0.064946] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f[    0.453853] /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000[    0.468912] /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000[    0.468930] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f[    2.717812] tc358743 11-000f: tc358743 found @ 0x1e (Synopsys DesignWare I2C adapter)
When I run dmesg | grep -I csi, I get

Code:

[    0.068778] /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000[    0.068804] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f[    0.068914] /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000[    0.068940] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f[    0.073044] SCSI subsystem initialized[    0.277504] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)[    0.315932] Loading iSCSI transport class v2.0-870.[    0.449958] /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000[    0.465022] /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000[    0.465039] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/tc358743@f[    2.470894] unicam 1f00128000.csi: bcm2712_iommu_of_xlate: MMU 1000005280.iommu[    2.470902] unicam 1f00128000.csi: bcm2712_iommu_probe_device: MMU 1000005280.iommu[    2.470907] unicam 1f00128000.csi: bcm2712_iommu_device_group: MMU 1000005280.iommu[    2.470912] unicam 1f00128000.csi: Adding to iommu group 2[    2.470917] unicam 1f00128000.csi: bcm2712_iommu_attach_dev: MMU 1000005280.iommu[    2.470979] unicam 1f00128000.csi: probe with driver unicam failed with error -2

When I run lsmod | grep tc358743, I get

Code:

tc358743               65536  0cec                    65536  2 vc4,tc358743v4l2_dv_timings        65536  2 bcm2835_unicam_legacy,tc358743v4l2_fwnode            49152  2 bcm2835_unicam_legacy,tc358743v4l2_async             49152  3 v4l2_fwnode,bcm2835_unicam_legacy,tc358743videodev              344064  8 v4l2_async,v4l2_fwnode,bcm2835_unicam_legacy,pisp_be,rpi_hevc_dec,videobuf2_v4l2,tc358743,v4l2_mem2memmc                     81920  9 v4l2_async,videodev,bcm2835_unicam_legacy,pisp_be,rpi_hevc_dec,videobuf2_v4l2,videobuf2_common,tc358743,v4l2_mem2mem
It seems to keep trying to use unicam. I have reinstalled Pi OS 64 Bit regular and lite several times and have made no changes to it besides updating it and adding the device tree overlay "dtoverlay=tc358743" (I also tried dtoverlay=tc358743,4lane=1) to /boot/firmware/config.txt.

Following on with the topic/thread you shared, when I try to use the edid using v4l2-ctl -d /dev/v4l-subdev2 --set-edid=file=1080P60EDID.txt --fix-edid-checksums, I get

Code:

Cannot open device /dev/v4l-subdev2, exiting.
This behavior happens on both my Geekworm X1300 and C790, across the 2 csi ports, and multiple csi cables.
uname -a reports "Linux rpi 6.12.20-v8-16k+ #1867 SMP PREEMPT Wed Mar 26 12:49:06 GMT 2025 aarch64 GNU/Linux"

Is there a way to force using rp1-cfe instead of unicam? Thank you so much for the help.

Statistics: Posted by sihochoii — Fri Mar 28, 2025 10:45 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles