S
silviudr

  • 9 Jun
  • Joined 30 Mar
  • 0 best answers
  • An interesting discovery. The camera is running as expected when is connected to a raspberry pi 4. I would exclude a slow USB port on my machine. My laptop is a gaming laptop purchased in January.

    I am running Ubuntu 24.04 LTS, kernel version 6.11.0-21-generic

    • Thank you for your reply.

      I tried to set the USB speed to SUPER buit I got the same result.

      Is there any way I could flush the camera firmware?

      [14442C10C1C5CAD200] [1.5] [1743933965.403] [host] [warning] Device crashed, but no crash dump could be extracted.

      Traceback (most recent call last):

      File "/home/silviu/projects/depthai-python/bandwith_test.py", line 65, in <module>

      with dai.Device(pipeline, maxUsbSpeed=dai.UsbSpeed.SUPER) as device:
      
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      RuntimeError: Device already closed or disconnected: Input/output error

    • I wanted to attach diagnostic results but the page raises an error when I try to attach a zip file to the message.

      Metadata says:

      {

      "BootloaderVersion": null,

      "ConnectedIMU": "BNO086",

      "imuFirmwareVersion": "3.2.13"

      }

      factory_ calibs says:

      "No or invalid EEPROM configuration flashed, error: EEPROM_INVALID_DATA"

    • Bandwidth test reports:
      [14442C10C1C5CAD200] [1.5] [1743677893.381] [host] [warning] Device crashed, but no crash dump could be extracted.

      Traceback (most recent call last):

      File "/home/silviu/projects/depthai-python/bandwith_test.py", line 65, in <module>

      with dai.Device(pipeline, maxUsbSpeed=dai.UsbSpeed.SUPER_PLUS) as device:
      
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      RuntimeError: Device already closed or disconnected: Input/output error

      • Unfortunately I get the same logs in dmesg.

        • Thank you for your answer Jaka.

          I tried another cable and another USB port. Seems to be working better but I still experience crashes.

          I am trying an application I implemented using mediapipe and while the application used to run the camera crashes with the following error message:

          terminate called after throwing an instance of 'dai::XLinkWriteError'

          what(): Couldn't write data to stream: '__stream_asset_storage' (X_LINK_ERROR)

          Stack trace (most recent call last) in thread 30433:

          terminate called recursively

          Aborted (core dumped)

          • I have a OAK-D camera that recently has started to exhibit random crashes when I try to use it.

            For example I am trying to run the rgb_preview example from the depthai-python repo.

            Sometimes it works but sometimes it will crash the camera.

            My OS is Ubuntu 24.04, kernel version 6.11.0-21-generic.

            The output I get when the camera crashes is

            [14442C10C1C5CAD200] [1.5] [1743336657.451] [host] [warning] Device crashed, but no crash dump could be extracted.

            Traceback (most recent call last):

            File "examples/ColorCamera/rgb_preview.py", line 30, in <module>

            with dai.Device(pipeline) as device:
            
                 ^^^^^^^^^^^^^^^^^^^^

            RuntimeError: Device already closed or disconnected: Input/output error

            Checking the logs I can see the camera diosconnects and reconnects to the USB multiple times:

            Mar 30 08:08:01 : usb 1-5: USB disconnect, device number 37

            Mar 30 08:08:03 : usb 1-5: new high-speed USB device number 38 using xhci_hcd

            Mar 30 08:08:03 : usb 1-5: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01

            Mar 30 08:08:03 : usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

            Mar 30 08:08:03 : usb 1-5: Product: Movidius MyriadX

            Mar 30 08:08:03 : usb 1-5: Manufacturer: Movidius Ltd.

            Mar 30 08:08:03 : usb 1-5: SerialNumber: 03e72485

            Mar 30 08:08:03 mtp-probe[24408]: checking bus 1, device 38: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:03 mtp-probe[24408]: bus: 1, device: 38 was not an MTP device

            Mar 30 08:08:03 mtp-probe[24410]: checking bus 1, device 38: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:03 mtp-probe[24410]: bus: 1, device: 38 was not an MTP device

            Mar 30 08:08:08 : usb 1-5: USB disconnect, device number 38

            Mar 30 08:08:09 : usb 1-5: new high-speed USB device number 39 using xhci_hcd

            Mar 30 08:08:09 : usb 1-5: New USB device found, idVendor=03e7, idProduct=f63b, bcdDevice= 1.00

            Mar 30 08:08:09 : usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

            Mar 30 08:08:09 : usb 1-5: Product: Luxonis Device

            Mar 30 08:08:09 : usb 1-5: Manufacturer: Intel Corporation

            Mar 30 08:08:09 : usb 1-5: SerialNumber: 14442C10C1C5CAD200

            Mar 30 08:08:09 mtp-probe[24462]: checking bus 1, device 39: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:09 mtp-probe[24462]: bus: 1, device: 39 was not an MTP device

            Mar 30 08:08:09 mtp-probe[24466]: checking bus 1, device 39: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:09 mtp-probe[24466]: bus: 1, device: 39 was not an MTP device

            Mar 30 08:08:17 : usb 1-5: USB disconnect, device number 39

            Mar 30 08:08:18 : usb 1-5: new high-speed USB device number 40 using xhci_hcd

            Mar 30 08:08:18 : usb 1-5: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01

            Mar 30 08:08:18 : usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

            Mar 30 08:08:18 : usb 1-5: Product: Movidius MyriadX

            Mar 30 08:08:18 : usb 1-5: Manufacturer: Movidius Ltd.

            Mar 30 08:08:18 : usb 1-5: SerialNumber: 03e72485

            Mar 30 08:08:18 mtp-probe[24484]: checking bus 1, device 40: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:18 mtp-probe[24484]: bus: 1, device: 40 was not an MTP device

            Mar 30 08:08:18 mtp-probe[24485]: checking bus 1, device 40: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:18 mtp-probe[24485]: bus: 1, device: 40 was not an MTP device

            Mar 30 08:08:20 : usb 1-5: USB disconnect, device number 40

            Mar 30 08:08:20 : usb 1-5: new high-speed USB device number 41 using xhci_hcd

            Mar 30 08:08:21 : usb 1-5: New USB device found, idVendor=03e7, idProduct=f63b, bcdDevice= 1.00

            Mar 30 08:08:21 : usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

            Mar 30 08:08:21 : usb 1-5: Product: Luxonis Device

            Mar 30 08:08:21 : usb 1-5: Manufacturer: Intel Corporation

            Mar 30 08:08:21 : usb 1-5: SerialNumber: 14442C10C1C5CAD200

            Mar 30 08:08:21 mtp-probe[24496]: checking bus 1, device 41: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:21 mtp-probe[24496]: bus: 1, device: 41 was not an MTP device

            Mar 30 08:08:21 mtp-probe[24500]: checking bus 1, device 41: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:21 mtp-probe[24500]: bus: 1, device: 41 was not an MTP device

            Mar 30 08:08:29 : usb 1-5: USB disconnect, device number 41

            Mar 30 08:08:29 : usb 1-5: new high-speed USB device number 42 using xhci_hcd

            Mar 30 08:08:29 : usb 1-5: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01

            Mar 30 08:08:29 : usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

            Mar 30 08:08:29 : usb 1-5: Product: Movidius MyriadX

            Mar 30 08:08:29 : usb 1-5: Manufacturer: Movidius Ltd.

            Mar 30 08:08:29 : usb 1-5: SerialNumber: 03e72485

            Mar 30 08:08:29 mtp-probe[24517]: checking bus 1, device 42: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:29 mtp-probe[24517]: bus: 1, device: 42 was not an MTP device

            Mar 30 08:08:29 mtp-probe[24518]: checking bus 1, device 42: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"

            Mar 30 08:08:29 mtp-probe[24518]: bus: 1, device: 42 was not an MTP device