Stream dual USB camera on CM4Stack
-
I am unable to stream 2 cameras on the same USB3.2 with the following error message:
"libv4l2: error turning on stream: No space left on device Unable to start capture: No space left on device"But When I have 1 USB camera connected to USB2.0 (using USB hub) then it works.
Then we try to have both cameras connected to USB2.0 (via USB hub) , same above problem occurred.
It seems like it only can have 1 USB camera at 1 USB controller stream per session.
I have tested on other Raspberry Pi 4 and 5, they don't seems to have such issues even with both cameras on a single usb hub.
-
@zhiyongwoo It is not an RPI so it does not work like an RPI and doesn't have the same hardware as an RPI.
BTW did you expand the partition after first boot as the initial partition is on 1 Gig and doesn't take up the whole card.
-
@ajb2k3
If not mistaken, the CM4Stack is using CM4 module and have its own extension circuit diagram.I didn't do as I follow exactly what the document asked to do.
I do have another CM4 module that connected 3rd party extension board where it gave me 4 USB ports and follow the guidance from the RPI official setup document. It is able to stream both USB camera at the same time even I have both cameras connected to an external USB3.0 hub. It doesn't report such issues.
On the CM4Stack:
And I want to highlight is, I can have 2 camera stream together ONLY if I have 1 connected to USB 3.2 port and 1 connected to USB 2.0So I suspect something I need to enable in Kernel level or the hardware limitation?
-
@zhiyongwoo Ahh sorry I read it as CoreMP135 not CM4stack.
If it works on another CM4 then it could be something in the Kernel.
Have you asked on the RPI forums ?It could be a power issue, have you checked out this discussion? https://forums.raspberrypi.com/viewtopic.php?t=350942