When the zed mini camera is inserted into the Jetson AXG Orign and restarted, it cannot recognize the zed mini camera. lsusb -t does not have zed mini, but when unplugged and unplugged, there is a high probability that it will be detected. We are using Ubuntu 20.04/Ubuntu 22.04
Hi,
For the camera basic functionality first needs to check the device and driver configuration.
You can reference to below program guide for the detailed information of device tree and driver implementation.
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/CameraDevelopment/SensorSoftwareDriverProgramming.html?highlight=programing#sensor-software-driver-programming
Please refer to Applications Using V4L2 IOCTL Directly by using V4L2 IOCTL to verify basic camera functionality.
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/CameraDevelopment/SensorSoftwareDriverProgramming.html?highlight=programing#to-run-a-v4l2-ctl-test
Once confirm the configure and still failed below link help to get log and some information and some tips for debug.
https://elinux.org/Jetson/l4t/Camera_BringUp#Steps_to_enable_more_debug_messages
Thanks!
The zed-mini camera is a UVC device and requires separate configuration of the device tree, etc?
hello guoyanzhang,
it’s going though USB interface.
may I have your booting logs for checking, for instance, did it detect zed mini camera while system restart?
sudo dmesg | grep ZED
[sudo] password for dobot:
[ 9.861125] usb 1-4.4: Product: ZED-M Hid Device
[ 9.899387] hid-generic 0003:2B03:F681.0001: hiddev96,hidraw0: USB HID v1.11 Device [STEREOLABS ZED-M Hid Device] on usb-3610000.xhci-4.4/input0
hello guoyanzhang,
is this the logs even the zed mini camera has detected, but it’s not working?
may I also know what’s the failure messages.
{
“AI Models”: {
“valid”: [
“MULTI CLASS DETECTION is optimized”,
“MULTI CLASS MEDIUM DETECTION is optimized”,
“MULTI CLASS ACCURATE DETECTION is optimized”,
“HUMAN BODY FAST DETECTION is optimized”,
“HUMAN BODY MEDIUM DETECTION is optimized”,
“HUMAN BODY ACCURATE DETECTION is optimized”,
“HUMAN BODY 38 FAST DETECTION is optimized”,
“HUMAN BODY 38 MEDIUM DETECTION is optimized”,
“HUMAN BODY 38 ACCURATE DETECTION is optimized”,
“PERSON HEAD DETECTION is optimized”,
“PERSON HEAD ACCURATE DETECTION is optimized”,
“REID ASSOCIATION is optimized”,
“NEURAL DEPTH is optimized”,
“NEURAL PLUS DEPTH is optimized”
]
},
“Camera Test”: {
“InternalDevicesCount”: 1,
“ZEDCount”: 1,
“error”: [
“Camera not detected
Flip the Type-C USB cable connected to the ZED or replug the camera. Make sure to use a USB 3.0 port.”
]
},
“Devices”: {
“CorruptedFirmware”: false,
“GMSL driver”: “”,
“GMSL driver compatiblity”: “Unknown”,
“GMSLList”: [
],
“MCUDetected”: true,
“USBList”: [
{
“USB_path”: “/3”,
“idProduct”: “0x0420”,
“idVendor”: “0x0bda”
},
{
“USBMode”: 2,
“USB_path”: “/4/4”,
“bDescriptorType”: 1,
“bDeviceProtocol”: 0,
“bLength”: 18,
“bMaxPacketSize0”: 64,
“bNumConfigurations”: 1,
“bcdDevice”: “2.5”,
“bcdUSB”: “2.0”,
“bcdUSBClass”: 0,
“bcdUSBSubClass”: 0,
“busNumber”: 1,
“device”: “ZED mini MCU”,
“iManufacturer”: 1,
“iProduct”: 2,
“iSerial”: 3,
“idProduct”: “0xf681”,
“idVendor”: “0x2b03”
},
{
“USB_path”: “/4/1/3”,
“idProduct”: “0x301a”,
“idVendor”: “0x413c”
},
{
“USB_path”: “/4/1/2”,
“idProduct”: “0x608c”,
“idVendor”: “0x17ef”
},
{
“USB_path”: “/4/1”,
“idProduct”: “0x7250”,
“idVendor”: “0x214b”
},
{
“USB_path”: “/4”,
“idProduct”: “0x5420”,
“idVendor”: “0x0bda”
},
{
“USB_path”: “/3”,
“idProduct”: “0x3549”,
“idVendor”: “0x13d3”
}
],
“USBMode”: 3,
“ZED MCU Module Detected”: 63105,
“warning”: [
“No GMSL driver found.
USB camera are not impacted by this.”
]
},
“Graphics Card”: {
“deviceCount”: 1,
“deviceDriverVersion”: 11040,
“devices”: [
{
“arch”: “Ampere”,
“computeCapability”: “8.7”,
“cores”: 2048,
“name”: “Orin”,
“totalMemoryBytes”: “65829572608”,
“totalMemoryMB”: 62779.97265625
}
],
“glx_info”: “OpenGL vendor string: Mesa/X.org\nOpenGL renderer string: llvmpipe (LLVM 12.0.0, 128 bits)\nOpenGL core profile version string: 4.5 (Core Profile) Mesa 21.2.6\nOpenGL core profile shading language version string: 4.50\nOpenGL core profile context flags: (none)\nOpenGL core profile profile mask: core profile\nOpenGL core profile extensions:\nOpenGL version string: 3.1 Mesa 21.2.6\nOpenGL shading language version string: 1.40\nOpenGL context flags: (none)\nOpenGL extensions:\nOpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.6\nOpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20\nOpenGL ES profile extensions:\n”,
“initResult”: 0,
“valid”: [
“Graphics card: Orin”
]
},
“Processor”: {
“L4T version”: “35.6.0”,
“OS”: "Ubuntu 20.04.6 LTS “,
“avxSupported”: false,
“coreCount”: “12”,
“cpu”: " ARMv8 Processor rev 1 (v8l)”,
“datetime”: “2024-11-01 11:15:39 AM”,
“hyperThreading”: “0”,
“motherboard”: “Jetson, NVIDIA”,
“ramCapacity”: “65.829573”,
“ramUsage”: “”,
“ramUsed”: “3.781177”,
“threadCount”: “12”,
“valid”: [
“Processor: ARMv8 Processor rev 1 (v8l)”,
“Motherboard: Jetson, NVIDIA”
]
},
“ZED SDK”: {
“CUDA Toolkit version”: “V11.4.315 -->located in /usr/local/cuda-11.4/bin/nvcc”,
“CUDA loading”: false,
“ZED SDK Version (Diag)”: “4.2.1”,
“ZED SDK Version (RT)”: “4.2.1”,
“ai”: {
“checkAI”: true,
“cudaVersion”: 11040,
“cudnnCudartVersion”: 11040,
“cudnnVersion”: 8600,
“cudnnVersionExpected”: 8600,
“tensorVersion”: 8502
},
“binFiles”: [
“libsl_ai.so”,
“libsl_zed.so”,
“libsl_zed_static.a”
],
“resourcesFiles”: [
“neural_depth_3.6.model”,
“objects_accurate_3.2.model”,
“objects_medium_3.2.model”,
“objects_performance_3.2.model”,
“person_head_accurate_2.4.model”,
“person_head_performance_2.4.model”,
“person_reid_1.4.model”,
“skeleton_body18_3.2.model”,
“skeleton_body38_3.5.model”
],
“resourcesFilesExpected”: [
“objects_performance_3.2”
],
“valid”: [
“ZED SDK version: 4.2.1”,
“CUDA version: V11.4.315”
]
}
}
hi JerryChang,
The above information comes from the ZED Diagnostic tool - ZED_Diagnostic.
hello guoyanzhang,
please use V4L2 IOCTL to verify basic camera functionality.
please check developer guide, Applications Using V4L2 IOCTL Directly.
v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0
Cannot open device /dev/video0, exiting.
hi JerryChang,
Is it a bug in agx orin that currently cannot recognize Zed mini cameras?
hello guoyanzhang,
we’ve test ZED camera + l4t-r35.6 + AGX-Orin, which has worked normally.
that’s has confirmed the low-level driver, hence, please check the issue on sensor side. (i.e. zed mini camera.)
This issue has been resolved through the following tool and confirmed to be a bug in the zed mini camera. It is necessary to reset the zed mini camera.
obraun-sl/usb_power_cycle: Simple tool to perform a USB power cycle on Jetson Nano/NX devkit
thanks for status update, we should be able to close this discussion thread.