Hi,
In order to connect multiple cameras - I used getAllAvailableDevices function.
I uploaded the script and the log with the resource usage here

Thanks
David

Hi @DavidShaer ,
You are likely seeing this issue due to insufficient power. The USB3 hub you are using is powered by 5V/4A power supply, which is likely at the limit of supplying power to 3 cameras.
While average power usage is around 5w for these cameras, there are random spikes of 2w (so up to 7w). Maybe once every hour all 3 of the cameras have this power spike at the exact same time, hub can't provide enough current, and cameras (maybe only one) brownout.
Have you already tried:

  • Using a different (more powerful) usb3 hub?
  • Connecting 1 or 2 cameras directly to the computer, instead of all via usb3 hub?
6 days later

Hi @erik

So in order to check if we have a power related issue I did couple of changes as following:

a. connected the OAK-D camera directly to the Jetson (with the original cable and Y-adapter with power)

b. connected the other two OAK1-lite cameras via USB-Hub with power (the Hub specifications described in the previous message^)

c. reducing the Frame Rate to 5 Fps

And I ran two experiments:

  1. Connecting all three cameras: and got disconnections of the left camera after about two hours, relevant logs attached here
  2. Connecting two cameras (one OAK-D and one OAK1-lite cameras): and got disconnections of the left camera after about 30 minutes, relevant logs attached here

The script I ran is the same as the previous one I shared, but with one difference of the FPS setting, relevant script attached here

Note:
We notice in the logs "ping was missed" message, maybe it is related.

Thanks,

David

Hi @DavidShaer ,
Could you share some images/video of your setup? I'd also suggest checking "Connection drop" tab in USB connection debugging docs. Also, are you using the latest depthai version (2.25)?
Thanks, Erik

14 days later

Hi @erik,

We run couple of tests as follows:

Test #1 (the previous test we sent in the last message):

  • Top camera (OAK-D) was connected via Y-Adapter directly to the Jetson, and the left and right cameras (OAK1-lite) we're connected via the USB-Hub and without Y-Adapters.
    We ran couple of connections tests from the connection debugging docs you suggested, we think the results are valid and you can see them here.
  • In addition we checked the crash report and we didn't saw any relevant reports.

Test #2 (new test: connecting all three cameras via Y-Adapter and power supply):

  1. all three cameras we're connected directly to the Jetson, in this test we saw disconnections after about two hours ish.
    relevant log attached here
  2. sides cameras connected via USB-Hub, and the top camera was connected directly to the Jetson, in this test we saw disconnections after about two hour also.
    relevant log attached here

You can see some images of the Setup here
depthai version: 2.25
We used original Luxonis Cables and Power suppliers.

We'll be happy for your help.
Thanks,
David

Hi @DavidShaer
This seems to be a bigger problem, likely related to Jetsons only. The syslog and dmesg give no valuable info so we will try to debug this in depth.

Will report back when we get an idea of what the cause is.

Thanks,
Jaka

    3 months later

    @jakaskerl

    Hi, I have a similar issue with the Orin nx 16GB module(Jetpack 5.1.2) with FFC-4P, where the device disconnects randomly (sometimes it works for 4-5 hours and sometimes 10 minutes).

    I have also tried using UBS2, and it still disconnects randomly.

    But when I run the same code with Xavier NX, everything works as expected.

    So, if there are any updates regarding this issue, please let us know … it will be very helpful.

    Thanks

    3 months later

    @jakaskerl Are you guys actively looking at this issue? Any updates will help us decide on that platform.

      Hector
      We tested this multiple times, everything points to the issue being on jetson's USB drivers. The port stops giving power, looks to the OAK device as a standard USB disconnect, nothing too suspicious.

      PoE devices work as expected. We will try with Jetpack6 as well to see if there is any difference in driver setup but I'm doubtful whether it will work.

      Thanks,
      Jaka

      Please try with Jetpack 6 that would be very helpful. Are there any timelines you can provide for this?

        17 days later

        HI Hector
        Sorry for the long pause, forgot to reply here. The Jetpack6 did not fix the issue.

        Thanks,
        Jaka