Hi,
When I boot my jetson agx xavier it’s not detecting zed mini camera but after removing the camera and plugging it back in, it starts to detect.
lsub after boot:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter Bus 001 Device 002: ID 2b03:f681 STEREOLABS ZED-M Hid Device Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
After replugging:
Bus 002 Device 002: ID 2b03:f682 Technologies, Inc. ZED-M Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter Bus 001 Device 004: ID 2b03:f681 STEREOLABS ZED-M Hid Device Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Jetson Agx Xavier (JetPack 5.0.2)
Zed Mini (SDK 3.8.1)
Using usb c port on xavier and I know ZED Mini Type-C connector is NOT reversible .
Myzhar
November 2, 2022, 9:58am
2
Hi @Mekala02
if you connect to the typeC port of the xavier, you won’t have the issue as the typeC to typeC works in both direction.
However you can try to use this tool to reset the USB controller and re-initialized the camera after the boot:
Simple tool to perform a USB power cycle on Jetson Nano/NX devkit
I’m using AGX Xavier so it’s not working
I found that reboot()
function fixes this issue on ZED2
But I can’t use that function with zed mini as mentioned in api referance:
https://www.stereolabs.com/docs/api/python/classpyzed_1_1sl_1_1Camera.html#a3b8ebb0f00ca71636407170780720281
Note
This function only works for ZED2 and ZED2i cameras.
Why reboot function not working with zed mini.
I can’t find any other solution to fix this issue which is really annoying, every time i reboot the device i have to manually unplug and replug the camera.
@Myzhar
Myzhar
November 23, 2022, 11:05am
5
I’m sorry, but the ZED Mini is not equipped with the electronic circuit required by the restart API function to work.
The USB power trick is the only working solution for ZED Mini.
Then how can I do the USB power trick on jetson agx xavier ?
Myzhar
November 24, 2022, 8:54am
7
You must get information about the usb controller used on the devkit and apply it to the tool that I linked
How can I find usb controller information ?
lsusb -v output:
Bus 002 Device 002: ID 2b03:f682 Technologies, Inc. ZED-M
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 9
idVendor 0x2b03
idProduct 0xf682
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0150
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 512mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 2
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.10
wTotalLength 0x004f
dwClockFrequency 150.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 4
iTerminal 0
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
bUnitID 3
bSourceID 1
wMaxMultiplier 0
bControlSize 3
bmControls 0x00003eff
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
White Balance Component
Gain
Power Line Frequency
Hue, Auto
White Balance Temperature, Auto
White Balance Component, Auto
iProcessing 2
bmVideoStandards 0x00
VideoControl Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {2ccb0bda-6331-4fdb-850e-79054dbd5671}
bNumControl 2
bNrPins 1
baSourceID( 0) 3
bControlSize 1
bmControls( 0) 0x03
iExtension 2
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 9
bMaxBurst 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 0x00bf
bEndPointAddress 129
bmInfo 0
bTerminalLink 2
bStillCaptureMethod 0
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 4
guidFormat {32595559-0000-0010-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 2560
wHeight 720
dwMinBitRate 442368000
dwMaxBitRate 1769472000
dwMaxVideoFrameBufferSize 3686400
dwDefaultFrameInterval 166666
bFrameIntervalType 3
dwFrameInterval( 0) 166666
dwFrameInterval( 1) 333333
dwFrameInterval( 2) 666666
VideoStreaming Interface Descriptor:
bLength 42
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 1344
wHeight 376
dwMinBitRate 121282560
dwMaxBitRate 808550400
dwMaxVideoFrameBufferSize 1010688
dwDefaultFrameInterval 100000
bFrameIntervalType 4
dwFrameInterval( 0) 100000
dwFrameInterval( 1) 166666
dwFrameInterval( 2) 333333
dwFrameInterval( 3) 666666
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 3840
wHeight 1080
dwMinBitRate 995328000
dwMaxBitRate 1990656000
dwMaxVideoFrameBufferSize 8294400
dwDefaultFrameInterval 333333
bFrameIntervalType 2
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 4416
wHeight 1242
dwMinBitRate 1316321280
dwMaxBitRate 1316321280
dwMaxVideoFrameBufferSize 10969344
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
I have the same issue with Xavier NX platform and 5.0.2 jetpack. Did you fix it? Is there any solution to this? The tool by the way is not working.
I’m still facing the same issue with no solution found yet.
Any one solve the unplug/plug problem with the Zed mini? I have three of these cameras and very frustrated that they will not reset after a restart of my jetson nx processor. I have to unplug/replug the connector before the sdk recognizes the camera - this is a non-starter for my embedded application. Appreciate hearing from any that has solved this problem with the Zed mini.