I used AGX XAVIER. I aggregated 4 cameras to xavier PortA, which vc id is numbered 0,1,2,3. In xavier, I had got 4 video devices: video0, video1, video2, video3. But the 4 videos pictures are all from camera0, which means video1, video2, video3 are the same with video0.
I have test my driver in Jetpack4.6 and Jetpack4.6.1, both versions have this problem.
I have checked my device tree, and did not find problem. The attachment is my device tree.
Plase help. Thanks.
Don’t know your problem clear from your description.
And from the driver design should have 4 sensor connect to the aggregated instead of only 1, that could have problem when streaming control.
Hi, ShaneCCC,
Yes, we have 4 sensors connected to the aggregated portA. Only /dev/video0 preview is correct. The preview picture of /dev/video1, /dev/video2, /dev/video3 is also from camera0, not from camera1,camera2,camera3.
When camera1,camera2,camera3 can not preview, for example, camera plugged out, uart error log indicate that video1, video2, video3 is trying to get picture from " stream- 0 vc- 0"
[ 680.674845] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 680.675108] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 680.675710] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 680.675913] t194-nvcsi 13e10000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 680.676140] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 680.676320] t194-nvcsi 13e10000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 680.676769] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 683.234814] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
My conclusion is that all the 4 videos(/dev/video0, /dev/video1, /dev/video2, /dev/video3) are trying to get picture from camera0, vc0. They should try to get picture from vc0, vc1, vc2, vc3 respectively.
Can you help to analyze what reason may cause this problem?