I have a Jetson nano development kit (the one with two csi ports) and want to use two raspberrypi cameras for stereo vision. One of the cameras is detected but the other one is not detected, I have change the csi-cables, the port it is connected to, and changing the sensor_mode variable always opens the same camera. I tested the cameras on a raspberrypi and they work perfectly. I have no idea how to fix it.
I am using the CSI-Camera repository on Github (GitHub - JetsonHacksNano/CSI-Camera: Simple example of using a CSI-Camera (like the Raspberry Pi Version 2 camera) with the NVIDIA Jetson Developer Kit) to read the camera on the terminal using.the command “gst-launch-1.0 nvarguscamerasrc sensor_mode=0 ! ‘video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! nvegltransform ! nveglglessink -e”. I have attached the image of the terminal with the output.
Hi ShaneCCC,
Thanks for your time, Just to clarify I have a fresh installation of the Nvidia OS and I have dupgraded all updates available to the OS. Regarding to your questions,
-
This is the kernel message
dmesg | grep -i imx219
[ 1.245151] imx219 7-0010: tegracam sensor driver:imx219_v2.0.6
[ 1.269975] imx219 8-0010: tegracam sensor driver:imx219_v2.0.6
[ 1.293338] imx219 8-0010: imx219_board_setup: error during i2c read probe (-121)
[ 1.293367] imx219 8-0010: board setup failed
[ 1.293427] imx219: probe of 8-0010 failed with error -121
[ 1.438491] vi 54080000.vi: subdev imx219 7-0010 bound
-
Regarding the v4l2-ctl --list-devices, only one camera is detected and cheese app does not detect any camera
-
I did not find the tegra-camera-platform or anything that indicates there are two modules. All lines say warning and the recurrent messages are:
has a reg or ranges property, but no unit name
has a unit name, but no reg property
has a reg or ranges property, but no unit name
Once again thank you for your time
Are we good to close this topic?
From the log the second sensors not detected could be HW problem.
What do you men by a hardware problem, is the camera faulty ?
but the camera runs fine on the raspberrypi, or you mean the jetson nano is faulty ?
I can’t tell what going on with, just know the host can’t communicate with the sensor via i2c bus.
You may need to narrow it and may need to probe the board to check the power and reset pin for the sensor.