🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Stream dual USB camera on CM4Stack

    PRODUCTS
    2
    4
    401
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zhiyongwoo
      last edited by

      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.

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @zhiyongwoo
        last edited by

        @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.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zhiyongwoo @ajb2k3
          last edited by zhiyongwoo

          @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.0

          So I suspect something I need to enable in Kernel level or the hardware limitation?

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @zhiyongwoo
            last edited by ajb2k3

            @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

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post