Connecting Stereo Labs ZED 2i Camera to Jetson Orin Nano Super Developer Kit

I am trying to use the ZED 2i Camera with the Jetson Orin Nano Super Developer Kit. I connected it via a USB-C to USB-C wire but it did not work. I also tried all 4 USB-A ports. Both my wires support USB 3.0.

This is the lsusb output:

Bus 002 Device 002: ID 0bda:0489 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 13d3:3549 IMC Networks Bluetooth Radio
Bus 001 Device 020: ID 413c:2003 Dell Computer Corp. Keyboard SK-8115
Bus 001 Device 019: ID 413c:301a Dell Computer Corp. Dell MS116 Optical Mouse
Bus 001 Device 002: ID 0bda:5489 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
Bus 001 Device 037: ID 2b03:f881 STEREOLABS ZED-2i HID INTERFACE
Bus 001 Device 038: ID 2b03:f880 STEREOLABS ZED 2i
Bus 001 Device 036: ID 0424:2512 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

And this is the lsusb -t output:

/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 10000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 480M
|__ Port 1: Dev 36, If 0, Class=Hub, Driver=hub/2p, 480M
|__ Port 1: Dev 38, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 38, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 2: Dev 37, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 20, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 19, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 3, If 0, Class=Wireless, Driver=rtk_btusb, 12M
|__ Port 3: Dev 3, If 1, Class=Wireless, Driver=rtk_btusb, 12M

*** Please note that this reply is generated by LLM automatically ***

To address the issue of using the ZED 2i camera with the Jetson Orin Nano Super Developer Kit, let’s break down the information provided and analyze the potential steps and solutions.

Understanding the Setup

  1. Hardware: The Jetson Orin Nano Super Developer Kit is being used with a ZED 2i camera. The camera is connected via a USB-C to USB-C wire, and all four USB-A ports have been tried. The wires support USB 3.0.

  2. Software and Drivers: The lsusb and lsusb -t outputs provide insights into the USB devices recognized by the system. The ZED 2i camera is listed with IDs 2b03:f881 and 2b03:f880, indicating that the system detects the camera.

Potential Issues and Solutions

  1. USB Connection and Ports: Although the camera is detected, the issue might be related to the USB connection or the specific port used. Ensure that the USB-C to USB-C wire is properly connected and that the port used supports the required USB version (in this case, USB 3.0) for optimal performance.

  2. Driver Support: The lsusb -t output shows that the camera is recognized with the uvcvideo driver, which is a standard driver for USB video devices. This suggests that the system has basic support for the camera. However, specific functionalities or higher performance might require additional or proprietary drivers from the camera manufacturer.

  3. Camera API and Software: For advanced camera functionalities, especially with the ZED 2i which is a stereo camera, specific software or APIs might be required. The Camera Software Development Solution mentioned in the context could be relevant, especially components like the Camera API Matrix, which might provide insights into compatible APIs for the ZED 2i camera.

  4. GStreamer and V4L2: The context mentions GStreamer with the nvarguscamerasrc plugin and V4L2 source plugin, which are related to video capture and processing. If the application involves video streaming or processing, ensuring that GStreamer and V4L2 are properly configured and supported might be necessary.

  5. System Configuration and Updates: Ensure that the Jetson Orin Nano’s operating system and all related packages are up to date. Sometimes, updates can resolve connectivity or compatibility issues.

  6. Kernel and Driver Updates: If the issue persists, checking for updates to the kernel or specific drivers related to USB or video capture might be necessary. The Compile-Time Configuration and Kernel Boot Time Optimization could be relevant in ensuring the system is optimized for the camera’s requirements.

  7. Developer Kit Specifics: Since the Jetson Orin Nano Super Developer Kit is being used, any specific guidelines or recommendations from NVIDIA for using external cameras should be consulted. The Jetson developer kit documentation might provide insights into known issues or specific configurations required for certain cameras.

Conclusion

Given the information provided, the next steps would involve:

  • Verifying the USB connection and trying different ports to ensure the issue isn’t related to the specific port used.
  • Checking for any specific driver requirements for the ZED 2i camera and ensuring that the system has the latest updates.
  • Consulting the camera manufacturer’s documentation for any specific software or API requirements.
  • Reviewing NVIDIA’s documentation for the Jetson Orin Nano Super Developer Kit to ensure all recommended configurations for external cameras are followed.

If the issue persists after these steps, more detailed debugging, potentially involving the camera’s API, GStreamer configurations, or even kernel and driver modifications, might be necessary.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Not helpful at all. I already said in my message that I tried all ports. Why are you telling me to try them again?
None of the other tips are specific enough for me to know what to do next

hello anay.gokhale123,

please share your test pipeline, and also the error logs for reference.

hello

could you clarify what you mean by test pipeline and the error logs?

If I understand correctly, you want me to detail the steps I took? In that case: I went to the following website ZED SDK 5.0 - Download | Stereolabs
and downloaded the version that is recommended for Jetpack 6.2 which is what I am running. I did chmod +x [file name] to make it executable and then ran it with ./[file name]. Once the installation was done, I rebooted the jetson as they recommended. Then I connected my camera to the jetson’s usb c port and launched the ZED_Depth_Viewer however it said “waiting for camera”. Since this did not work, I got a new wire and connected the camera to each of the 4 USB A ports. None of them worked. I asked chatgpt and it only told me to try with a new wire however I know the wire is not the issue as it is the same one I used to flash my jetson and for other past projects as well.

In the lsusb -t output I sent earlier, it shows that the devices in Bus 002 are using USB 3.0 and device 1 is the 4 port USB hub as per the lsusb output. How can I make sure this is being used instead of the USB 2.0 hub?

I don’t know exactly what you mean by error logs. Please let me know so I can send the necessary information.

hello anay.gokhale123,

please refer to developer guide, Applications Using GStreamer with V4L2 Source Plugin.
for instance,
$ gst-launch-1.0 -v v4l2src device=/dev/video1 ! video/x-raw,framerate=30/1,width=640,height=480 ! xvimagesink

or.. you may also try with v4l2 IOCTLs.
for instance,
$ v4l2-ctl -d /dev/video0 --list-formats-ext
$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=MJPG --stream-mmap --stream-count=1 --stream-to=usb.mjpg

it’s dmesg to gather the kernel logs.
you may saving it as single text file, and attach it here for quick checking.
i.e. $ dmesg > klogs.txt

Neither of these worked. They each threw a different error when I ran them.

Here is the logs file generated right after I connected the camera
klogs.txt (60.2 KB)

hello anay.gokhale123,

may I know the error logs?
is it even checking the sensor format with.. $ v4l2-ctl -d /dev/video0 --list-formats-ext has failed?

[  326.564584] usb 1-1.1: Found UVC 1.10 device ZED 2i (2b03:f880)
[  326.581975] input: ZED 2i: ZED 2i as /devices/platform/bus@0/3610000.usb/usb1/1-1/1-1.1/1-1.1:1.0/input/input7
[  326.582198] usbcore: registered new interface driver uvcvideo

according to the kernel logs, it has register a video node for your ZED camera.
please also check which video node it is.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.