luxonis / depthai-core

DepthAI C++ Library
MIT License
235 stars 127 forks source link

[Problem with USB2] {Problem with USB2} #600

Open AdarshShukla-04 opened 2 years ago

AdarshShukla-04 commented 2 years ago

Describe the bug The thing is we are using usb2 cable and added usb2Mode=True. Yet the device is not responding. After plugging in usb3 cable it is working properly. What could be the possible explanation? or is there any way we can use USB2 without any issue?

themarpe commented 2 years ago

@AdarshShukla-04

Does other USB Devices work with this same USB2 cable? We haven't observed issues with USB2 only cabling yet. Its possible that its a charging only USB cable (no USB2 D+/- lines)

brmarkus commented 2 years ago

@AdarshShukla-04 which exact OAK device do you use?

USB2 versus USB3 is about speed/bandwidth as well as power-transfer.

Do you use a device, which supports an external power-supply (some OAK-device do allow to optionally connect a power-supply)?

Can you try to use an actively powered USB(2)-hub between your machine and your OAK device?

AdarshShukla-04 commented 2 years ago

@brmarkus I am using OAK-1. With USB-2 sometimes it works properly and sometime not like in object detection or while capturing the images.

brmarkus commented 2 years ago

Do you have a chance to use an actively powered USB-hub between your machine and your OAK-1 device, have you already tried? Your machine might not provide enough power via the USB2-port - is it powered by battery or by a power-supply?