Hi Luxonis Team,
Thank you for the nice work!
We recently bought two OAK-D W and were planning to buy more for several projects we are doing. However, we have had quite some problems with the USB connectivity/bootloader/stability.
As suggested, we use only the USB cables delivered with the camera which we assume to be USB 3.2 and connect to appropriate ports on the host machine. We have set udev rules as described.
Now, it was generally very hard to get stable 60 FPS for the stereo cameras, especially based on the Depthai-ros node.
Now the actual question: I wanted to factory reset one camera as I thought this might help solve the problem(s) but the device_manager has been stuck for 10 minutes now (see output below).
```
DEPTHAI_DEBUG=1 python device_manager.py
[2024-05-21 15:14:18.882] [depthai] [info] DEPTHAI_DEBUG enabled, lowered DEPTHAI_LEVEL to 'debug'
[2024-05-21 15:14:18.882] [depthai] [debug] Python bindings - version: 2.25.1.0 from build: 2024-04-22 11:00:54 +0000
[2024-05-21 15:14:18.882] [depthai] [debug] Library information - version: 2.25.1, commit: c21bdd3746c4ad7134b67c2c75a11fbdd0a01c40 from 2024-04-22 10:57:36 +0200, build: 2024-04-22 10:42:28 +0000, libusb enabled: true
[2024-05-21 15:14:18.884] [depthai] [debug] Initialize - finished
[2024-05-21 15:14:18.967] [depthai] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.27.tar.xz' open: 1ms, archive read: 81ms
[2024-05-21 15:14:19.917] [depthai] [debug] Resources - Archive 'depthai-device-fwp-c7127782f2da45aac89d5b5b816d04cc45ae40be.tar.xz' open: 1ms, archive read: 1032ms
[2024-05-21 15:14:31.917] [depthai] [debug] Searching for booted device: DeviceInfo(name=1.2, mxid=1944301001DE722700, X_LINK_BOOTLOADER, X_LINK_USB_VSC, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
[2024-05-21 15:14:49.920] [depthai] [warning] Monitor thread (device: 1944301001DE722700 [1.2]) - ping was missed, closing the device connection
[2024-05-21 15:14:49.921] [depthai] [debug] XLinkResetRemote of linkId: (0)
Exception in /home/lukas/oss/depthai-python/utilities/device_manager.py, line 385; Couldn't read data from stream: '__bootloader' (X_LINK_ERROR)
[2024-05-21 15:16:30.022] [depthai] [debug] Searching for booted device: DeviceInfo(name=1.2, mxid=1944301001DE722700, X_LINK_BOOTLOADER, X_LINK_USB_VSC, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
[2024-05-21 15:16:30.493] [depthai] [debug] Connected bootloader version 0.0.27
after connecting to device, <depthai.DeviceBootloader object at 0x72b9742ad270>
[2024-05-21 15:16:45.033] [depthai] [debug] DeviceBootloader about to be closed...
[2024-05-21 15:16:46.163] [depthai] [debug] XLinkResetRemote of linkId: (1)
[2024-05-21 15:16:46.993] [depthai] [debug] DeviceBootloader closed, 1960
[2024-05-21 15:16:47.160] [depthai] [debug] Searching for booted device: DeviceInfo(name=1.2, mxid=1944301001DE722700, X_LINK_BOOTLOADER, X_LINK_USB_VSC, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
[2024-05-21 15:16:47.631] [depthai] [debug] Connected bootloader version 0.0.27
```
I was using depthai version 2.25.1.0 and the device manager script from commit e0726e179bb45bf2e52d866278aac5b8e3a0c478. Below are also the last lines from dmesg that also contain the serial number. Any help would be much appreciated.
Thank you
Lukas
```
[ 181.415737] usb 1-2: USB disconnect, device number 7
[ 181.728420] usb 1-2: new high-speed USB device number 8 using xhci_hcd
[ 181.876996] usb 1-2: New USB device found, idVendor=03e7, idProduct=f63c, bcdDevice= 1.00
[ 181.876999] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 181.877000] usb 1-2: Product: Luxonis Bootloader
[ 181.877001] usb 1-2: Manufacturer: Intel Corporation
[ 181.877002] usb 1-2: SerialNumber: 1944301001DE722700
[ 196.528244] usb 1-2: USB disconnect, device number 8
[ 197.007689] usb 1-2: new high-speed USB device number 9 using xhci_hcd
[ 197.156294] usb 1-2: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[ 197.156297] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 197.156298] usb 1-2: Product: Movidius MyriadX
[ 197.156299] usb 1-2: Manufacturer: Movidius Ltd.
[ 197.156300] usb 1-2: SerialNumber: 03e72485
[ 198.552734] usb 1-2: USB disconnect, device number 9
[ 198.863599] usb 1-2: new high-speed USB device number 10 using xhci_hcd
[ 199.012323] usb 1-2: New USB device found, idVendor=03e7, idProduct=f63c, bcdDevice= 1.00
[ 199.012325] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 199.012327] usb 1-2: Product: Luxonis Bootloader
[ 199.012328] usb 1-2: Manufacturer: Intel Corporation
[ 199.012328] usb 1-2: SerialNumber: 1944301001DE722700
```