a year later

I have five cameras connected to a laptop using an active USB extender. However, one of the cameras randomly stops working with an X_link error related to limited bandwidth. Everything works fine when I limit the USB speed to High. Any help would be greatly appreciated. Noted that sometimes everything works fine without any issues.

Thank you.

    7 days later

    Thanks for the reply. I noticed that the problem is because of active USB extender, I changed the cable and I can get enough bandwidth.

    6 days later

    Hi again. While the error was absent for a few days, it has reappeared this morning. Everything was working fine until last night. I am checking the bandwidth and noticing that it reduces to Downlink: 335.6 Mbps, Uplink: 221.0 Mbps (using luxonis/depthai-experimentsblob/master/random-scripts/oak_bandwidth_test.py). If I set maxUsbSpeed = dai.UsbSpeed.SUPERPLUS, I get an Xlink error, so I have set maxUsbSpeed = dai.UsbSpeed.HIGH.

      Mdoust
      Does usb speed remain around the same each time you test now? What changed? Did you restart the host, used a different port, things like that? Try setting UsbSpeed to SUPER and retry.

      Thanks,
      Jaka

      Previoualy I saw the speed is aroufn 1800 Mbps and now it is 300. If I put UsbSpeed to super, I will get X_link error. I just truned off the camera for the first time in the last 5 days and rerun it again, so the error appears.

      As a solution, I unplug the entire cables and replug them and now it works. I am not sure what the problem is and how to avoid it using the software

        Mdoust
        Thanks for letting me know! We'll be looking at USB issues.

        22 days later

        Thanks a lot for the help. I was wondering if there is update as I can see my bandwidth randomly changes using active cable extension

          9 days later

          Mdoust
          Difficult to say what the cause is. An active cable should only amplify the signal and shouldn't affect the bandwidth. Perhaps there is a latency buildup which causes this.

          Thanks,
          Jaka