Arducam AR0234 USB 3.0 camera disconnects and drops to USB 2.0 on Jetson Orin Nano

Having a weird issue with Arducam USB 3.0 AR0234 global shutter cameras on a Jetson Orin Nano. While running inference the camera randomly drops from USB 3.0 to USB 2.0 during runtime. Also after a reboot the cameras don’t reconnect on their own - I have to physically unplug and replug the USB cable each time. With two cameras attached, the board often doesn’t detect one of them at all, and it happens even with a single camera setup. I’m also getting unclear/noisy images when capturing frames from a conveyor where flanges move at 150-200 flanges per minute. Any ideas?

Thanks for the details. To narrow this down, can you share a bit more about the environment? Specifically:

  • exact camera model
  • which Jetson board (and RAM/TOPS if relevant)
  • USB cable/hub setup
  • OS, and whether you’ve seen the same behavior elsewhere
  • do all the cameras report the same Vendor ID and Product ID?

Cameras: Arducam 2.3MP AR0234 Color Global Shutter Camera Module (USB 3.0).
Controller: NVIDIA Jetson Orin Nano, and also tested on an Orin NX with 16 GB RAM, 100 TOPS, running 4 of these AR0234 cameras.
USB: using the cables that came with the Arducam units.
Tested on both Linux and Windows, same behavior on both.
All Arducam cameras show the same Vendor ID and Product ID.
This is deployed at a client site, so it’s becoming a problem.

Can you capture the system state while the problem is happening? Run these and paste the output:

sudo dmesg
lsusb -t

Also share any application logs around the time the camera drops - especially V4L2/UVC related errors.

I ran dmesg and lsusb -t and saved the outputs. The app logs keep spitting out:

Opening in O_NONBLOCKING MODE
Opening in O_NONBLOCKING MODE
Opening in O_NONBLOCKING MODE
Opening in O_NONBLOCKING MODE
Error White Balance Temperature: Protocol error
Error Exposure (Absolute): Connection timed out.

That ‘Connection timed out’ on Exposure and ‘Protocol error’ on White Balance usually means the UVC control channel isn’t responding properly. Combined with the camera enumerating as USB 2.0, it points toward link/speed issues. What have you tried so far to fix it?

I’ve tried basically every recommended fix I could find online. The USB detection issue (board not seeing one camera until replug) got resolved by using a self-powered USB hub. I also tried connecting the cameras to separate stacked ports instead of adjacent ports, but the issue is still present. Manually unplugging and replugging the USB cable brings proper video back for a while.

That’s useful info. The fact that a powered hub fixed the detection issue suggests a power/voltage drop on the board ports. But runtime degradation from USB 3.0 to 2.0 is not normal - the camera might enumerate as a UVC 2.0 device if the link speed is slow at connect time, but dropping to 2.0 during runtime shouldn’t happen. We need to catch it in the act. Can you run:

lsusb -l

to monitor the camera’s current link speed, and if possible record a short video showing the camera dropping to USB 2.0 while inference is running?

Sure, I’ll run lsusb -l and keep an eye on it during a long inference run. I’ll try to capture video of the moment it degrades and post back with what I see.

To summarize where we are: the root cause isn’t pinned down yet. Current thinking is that slow connection speed may cause the camera to enumerate as UVC 2.0 instead of USB 3.0, but the runtime degradation to USB 2.0 is unexpected and still under investigation. Using a self-powered hub has helped with the detection side, but the speed drop and the noisy conveyor captures are still open. Once you get the lsusb -l output and the video of the degradation event, we’ll take the next step. For now, the workaround is a manual replug to restore proper video.