I have a video streaming application which works well on the Raspberry Pi 2. I am trying to switch out the Pi 2 and move everything to a Pi Zero.

When I connect the USB camera to the Pi Zero directly the camera works fine. If I connect the camera and a WiFi adapter to the Pi using a hub, the camera doesn't work. Does anyone have any suggestions on how I can get everything working?

I am using a hub with its own power source.

  • 1
    I can't understand your question. Can you try rephrasing it?
    – goobering
    Mar 17 '16 at 10:38
  • I am using Raspberry pi 2 and I have an application for real time video streaming. I want to replace Pi2 with Raspberry pi Zero, but as you it has just only one OTG USB port. So, I can not use camera with the wireless keyboard in the same time. When I add the USB hub as a solution, everything works fine except the camera. with the USB hub, I can use wireless keyboard, WiFi, Bluetooth, ect.... Mar 17 '16 at 13:37
  • 1
    Yes, that is right. Mar 17 '16 at 13:40
  • 5
    @Sam4mNewcastle: Please edit the actual question so it makes more sense, rather than adding a bunch of comments to clarify.
    – Jacobm001
    Mar 17 '16 at 15:00
  • 1
    Have a look at lsusb and see if the camera is shown. If it isn't, you could try the trick that worked for me here regarding stuff connected to a hub on the pi.
    – goldilocks
    Jul 13 '16 at 19:10

It's possible that the webcam doesn't get enough power via the hub. You could try a powered USB hub.

  • 1
    Comments on the question indicate it is powered externally (I've edited that into the question itself now).
    – goldilocks
    Jul 13 '16 at 19:08

Try again with only the camera connected to the USB hub i.e. no keyboard or anything else. If it works then it's a power issue with the hub.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.