luxonis / depthai-python

DepthAI Python Library
MIT License
362 stars 192 forks source link

USB2 before initialization #852

Closed mheyrman closed 9 months ago

mheyrman commented 1 year ago

I am currently having a similar issue with an OAK-D pro, however I cannot seem to get it to connect as USB 3.0. I am using a USB C-C cable and get the same dmesg -w output no matter which USB port I use in my host machine (USB 3.2 Gen 2 Type C). I have tried with several cables (of length <1m) but it connects as USB 2.0. I'm using this to upload a custom blob model with in/out streams.

The output to dmesg -w is as follows:

[  813.775438] usb 1-4: new high-speed USB device number 12 using xhci_hcd
[  813.924347] usb 1-4: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[  813.924362] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  813.924367] usb 1-4: Product: Movidius MyriadX
[  813.924371] usb 1-4: Manufacturer: Movidius Ltd.
[  813.924375] usb 1-4: SerialNumber: 03e72485
[  894.359024] usb 1-4: USB disconnect, device number 12

Thank you.

Originally posted by @mheyrman in https://github.com/luxonis/depthai-python/issues/318#issuecomment-1609671903

Erol444 commented 1 year ago

@mheyrman OAK camera will always present itself as USB2 by default, as bootloader doesn't support USB3. On initialization (via depthai's Device()), it will switch to USB3 if possible.