Long time reader, first time poster.
I’m trying to get two tc358743 HDMI to CSI-2 adapaters running at the same time on my Xavier NX board and have hit a wall. After months of reading, tweaking, and re-compiling code I have ben un-able to get the second video interface to be recognized. The first interface works flawlessly, appears as /dev/vidoe0 and I can capture video from the device. The second camera appears to be discovered but /dev/video1 does not get created.
media-ctrl -p shows that we almost find the second camera, but the links are never made and /dev/video1 never shows up.
# lsmod | grep tc358743
tc358743 43792 2
# media-ctrl -p
Media controller API version 0.1.0
Media device information
------------------------
driver tegra194-vi5
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 0.0.0
Device topology
- entity 1: 15a00000.nvcsi--2 (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
<- "tc358743 9-000f":0 [ENABLED]
pad1: Source
-> "vi-output, tc358743 9-000f":0 [ENABLED]
- entity 4: 15a00000.nvcsi--1 (2 pads, 0 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
pad1: Source
- entity 7: tc358743 9-000f (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev2
pad0: Source
[fmt:UYVY8_1X16/1920x1080 field:none colorspace:smpte170m]
[dv.caps:BT.656/1120 min:1x1@0 max:10000x10000@165000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
[dv.detect:BT.656/1120 1280x720p60 (1650x750) stds: flags:]
[dv.current:BT.656/1120 1920x1080p60 (2200x1125) stds:CEA-861,DMT flags:can-reduce-fps,CE-video]
-> "15a00000.nvcsi--2":0 [ENABLED]
- entity 9: vi-output, tc358743 9-000f (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "15a00000.nvcsi--2":1 [ENABLED]
- entity 23: tc358743 10-000f (1 pad, 0 link)
type V4L2 subdev subtype Sensor flags 0
pad0: Source
I’ve been using the SDK running on Parallels on Mac OS X Catalina (10.15) to build the software, kernel objects, dtsi files, and disk images using files from other threads on the support forums ( like Jetson Nano - CSI-2 bridge - #12 by andrew.pease as one of many examples). I’ve gotten this set up working on a Jetson Nano and was hoping to duplicate it on the Xaiver.
I do not know what my next step is. The drivers are loaded and working, the dtsi passes, v4l2 almost registers it (??) - but I never see “tc358743 10-000f: Calling tc358743_get_fmt” in dmesg.
Can you offer any suggestions of where I should look next or how to figure out what is failing?
Thank you