Hey everyone, I’m running into a frustrating issue with an Arducam USB 3.0 camera on my Raspberry Pi 5 and hoping someone here can help.
Setup details:
- Raspberry Pi 5 running Raspberry Pi OS (64-bit)
- Arducam B0477 (USB3 20MP), VID:PID 04b4:0477
- Connected directly to a USB 3.0 port (tried a powered USB hub first but the camera wouldn’t work through it at all)
I’ve got a Python capture script that takes images at max resolution on a loop — basically just grabbing frames periodically for a timelapse. It runs fine for a few hours and then the camera just… vanishes.
Here’s what I see in dmesg when things are working normally:
[15692.838496] usb 4-1: Found UVC 1.10 device Arducam B0477 (USB3 20MP) (04b4:0477)
And then after several hours of captures, this happens:
[176149.757899] usb 4-1: can't set config #1, error -110
[176208.366867] usbcore: deregistering interface driver uvcvideo
[176214.526259] usb 4-1: can't set config #1, error -110
[176653.739127] usb 4-1: USB disconnect, device number 17
The only way to get it back is physically unplugging the USB cable and plugging it back in. Then it works again for a few more hours before the same thing happens. Rebooting or reloading the uvcvideo module doesn’t help — it needs the physical disconnect.
Anyone seen this before? Is this a power issue or something else?
Thanks for the detailed dmesg output — that’s really helpful. Error -110 is a USB transaction timeout, which is definitely a low-level communication failure. A few things I’d want to rule out first:
- Are you using the official Raspberry Pi 5 power supply, or a third-party one? The Pi 5 can be picky about PD negotiation.
- What’s the output of
vcgencmd get_throttledwhen the issue happens? Just want to rule out undervoltage. - Does lowering the capture resolution or adding a delay between frames change how long it takes to fail?
Also, you mentioned the powered hub didn’t work at all — could you share what hub model that was? Curious if the camera ever enumerated on the hub or if it was completely dead.
I’m using the official 27W Raspberry Pi 5 power supply. Haven’t checked vcgencmd get_throttled during the failure but I will next time it happens.
Regarding resolution — I haven’t tested lower resolutions extensively because the whole point of this setup is the max-res timelapse. But I can try a test at 1080p to see if it survives longer.
The powered hub was a Plugable 7-port USB 3.0 hub (with its own 60W supply). The camera just never showed up in lsusb when connected through it — no /dev/video0 at all. That’s why I moved to the direct port.
One more thing — the capture script itself is pretty straightforward, basically:
import cv2
cap = cv2.VideoCapture(0)
cap.set(cv2.CAP_PROP_FRAME_WIDTH, 5184)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 3888)
# ... grab frame, save to disk, repeat
Using OpenCV with the V4L2 backend. Nothing fancy.
Okay, good data points. I was able to reproduce this on my bench with the same B0477 camera on a Pi 5 — same error -110 followed by uvcvideo deregistering and the device disappearing from the bus. It consistently happens after a few hours of sustained max-resolution streaming.
A couple of observations from my testing:
- The issue is not a host-side power delivery problem. I monitored the USB VBUS rail during the failure and it stays stable. The Pi’s power supply isn’t the culprit.
- Lowering resolution does seem to delay or avoid the failure, which points toward something happening under sustained high-bandwidth conditions.
- The fact that
uvcvideoactually deregisters itself (usbcore: deregistering interface driver uvcvideo) suggests the USB stack is seeing a catastrophic enough error that the driver bails out entirely — not just a transient glitch.
I’ve escalated this to our engineering team for deeper analysis. The error -110 at set config specifically suggests the camera’s firmware is failing to complete USB configuration renegotiation after being under load for an extended period. Will report back when I hear more.
Appreciate you taking the time to reproduce it — honestly that’s a relief that it’s not just my setup.
So the uvcvideo deregistering itself is interesting. I noticed that too — it’s not just the device dropping off, the kernel module actively gives up on it. That seemed pretty unusual to me.
Just to add another data point: I ran the same camera at max res on an x86 PC running Ubuntu 22.04 for about 8 hours and it didn’t disconnect. So something about the Pi 5’s USB host controller seems to be triggering this more readily.
Is there anything I can try in the meantime? Kernel parameters, USB quirks, anything like that?
Good catch on the x86 vs Pi 5 difference — that aligns with what our engineering team has found so far. The Pi 5’s USB 3.0 controller (which goes through the RP1 southbridge, not directly off the BCM2712) seems to expose a timing-sensitive firmware path in the B0477 that doesn’t manifest on other host controllers.
I’ve now heard back from engineering. Here’s the current status:
Root cause: The camera firmware has a stability issue under sustained maximum-resolution UVC streaming on certain USB 3.0 host controllers, including the Raspberry Pi 5’s. Under prolonged high-bandwidth conditions, the firmware enters a state where USB configuration requests fail (hence the -110 on set config), cascading into the uvcvideo driver deregistering and the device disconnecting.
Fix status: Our engineering team is actively working on a firmware optimization to address this. However, there is no immediate firmware release available yet.
Workarounds: Unfortunately, there’s no kernel quirk, USB parameter, or configuration change that will resolve this on the current firmware. The only temporary mitigation — which isn’t really practical for what you’re doing — would be running at reduced resolution or periodically cycling the USB port via a scripted unbind/bind, but even that may not be reliable.
I’ll update this thread as soon as the firmware is finalized and available. For now, this is a known and reproducible issue that requires a firmware-level fix.
Ah, that’s both helpful and a bit disappointing. At least I know I’m not going crazy and it’s not some obscure hardware fault on my end.
What you said about the RP1 southbridge vs the x86 host controller makes a lot of sense. I was starting to suspect something along those lines when the same camera ran fine for a full workday on my desktop.
I did try the USB unbind/bind approach just as a hack:
echo '4-1' > /sys/bus/usb/drivers/usb/unbind
sleep 2
echo '4-1' > /sys/bus/usb/drivers/usb/bind
But no luck — once the camera is in that bad state, it won’t come back without a physical power cycle. The unbind succeeds but the bind just times out with the same -110.
I’ll keep an eye on this thread for the firmware update. Any rough ETA on when that might land? Weeks? Months? Just trying to plan whether I need to find an alternative camera for this project in the short term.
Yeah, the unbind/bind being a dead end isn’t surprising — once the firmware on the camera itself is in that bad state, the USB PHY on the device side needs the hard reset that only a physical disconnect provides. The kernel can’t reach across the wire and force a firmware-level reset on the peripheral.
Regarding ETA: I don’t have a firm date I can share publicly yet. What I can say is that this is actively being worked on and it’s a priority for the engineering team given how reproducible it is. I’d expect the firmware update to land sooner rather than later, but I’d rather not give a specific timeframe I can’t guarantee.
To summarize where things stand for anyone else landing on this thread with the same issue:
- Arducam B0477 (USB3 20MP) + Raspberry Pi 5 at max resolution for extended capture sessions = known firmware stability issue
- Symptoms: camera works for several hours, then
dmesgshowscan't set config #1, error -110followed byuvcvideoderegistering and USB disconnect - Recovery: physical USB cable replug (software resets don’t work)
- Fix: firmware update in development — watch this thread for updates
- No practical workaround is available on current firmware for max-resolution use cases
I’ll post here the moment the firmware is ready. Thanks for the thorough debugging — the dmesg timestamps and the x86 comparison test were genuinely helpful for narrowing this down.