Hi there,
We are porting our system from TX1(L4T r24.2.1) to TX2. we have a customize board which only have one TC358840 chip to “tegra-camera-platform” on CSIA port, and the drive seems work ok. But when I run gstreamer command to capture the video, I got following error. Let me know if you know where the issue is.
[ 560.566854] tegra-vi4 15700000.vi: No VI channel available!
[ 560.566856] tegra-vi4 15700000.vi: Failed to setup VI Notifier, err = -14
[ 560.567675] tc358840 2-000f: I2C read 0x8A08 = 0x31
[ 560.567749] tegra-vi4 15700000.vi: No VI channel available!
[ 560.567751] tegra-vi4 15700000.vi: Failed to setup VI Notifier, err = -14
here are the output for sudo media-ctl -p
nvidia@tegra-ubuntu:~$ sudo media-ctl -p
Media controller API version 0.1.0
Media device information
[ 87.025472] tc358840 2-000f: tc358840_query_dv_timings: 1920x1080p60.0 (2200x1125)
------------------------
driver tegra-vi4
model [ 87.038512] tc358840 2-000f: tc358840_query_dv_timings: 1920x1080p60.0 (2200x1125)
NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 0.0.0
Device topology
- entity 1: 150c0000.nvcsi-0 (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
<- "tc358840 2-000f":0 [ENABLED]
pad1: Source
-> "vi-output, tc358840 2-000f":0 [ENABLED]
- entity 2: tc358840 2-000f (2 pads, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: Source
[fmt:UYVY/3840x2160 field:none]
[dv.caps:BT.656/1120 min:1x1@0 max:10000x10000@297000000 stds:CEA-861,DMT,CVT,GTF caps:interlaced,progressive,reduced-blanking,custom]
[dv.detect:BT.656/1120 1920x1080p60 (2200x1125) stds: flags:]
[dv.current:BT.656/1120 3840x2160p30 (4400x2250) stds:CEA-861 flags:can-reduce-fps,CE-video]
-> "150c0000.nvcsi-0":0 [ENABLED]
pad1: Source
[dv.caps:BT.656/1120 min:1x1@0 max:10000x10000@297000000 stds:CEA-861,DMT,CVT,GTF caps:interlaced,progressive,reduced-blanking,custom]
[dv.detect:BT.656/1120 1920x1080p60 (2200x1125) stds: flags:]
[dv.current:BT.656/1120 3840x2160p30 (4400x2250) stds:CEA-861 flags:can-reduce-fps,CE-video]
- entity 3: vi-output, tc358840 2-000f (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "150c0000.nvcsi-0":1 [ENABLED]