1

I am currently struggling because my Raspberry Pi is unable to connect to the webcam. Running lsusb never shows anything (keeps loading) and v4l2-ctl --list-devices says Cannot open device /dev/video0, exiting.

The connected cord is not the stock one although it outputs 5&nsp;V & 2.5 A. I heard you should use a USB hub although I don't want to spend another $20 on one (if possible).

What could be the issue?

4
  • "Running lsusb never shows anything (keeps loading)" -> Can you explain what you mean by this in more detail? It does not sound right. Try it, then immediately afterward sudo tail /var/log/syslog and/or: Open a separate terminal and sudo journalctl -f (this will block), then from another run lsusb and see if there are any system errors being logged for this.
    – goldilocks
    Jan 6, 2023 at 16:41
  • It isn't outputting anything trying both strategies
    – Adam Turaj
    Jan 6, 2023 at 16:57
  • 1
    If you mean there is nothing in those logs, there is a lot more wrong than just no USB cam...
    – goldilocks
    Jan 6, 2023 at 17:38
  • What could be wrong @goldilocks
    – Adam Turaj
    Jan 6, 2023 at 20:53

1 Answer 1

0

There are certain types of cables. I have run into a similar issue too, when my Pico did not connect to my computer, and did not recgonize anything. There are usb cables of power only, and there are cables for power AND transferring data. I believe you are using a power only usb cable, and therefore it is not showing up. I suggest getting a different cable that is specifically for transferring power AND data, as a computer wont show a charging cable as a plugged in USB.

2
  • 1
    I would think the USB cable is permanently attached at the camera end.
    – goldilocks
    Jan 6, 2023 at 16:55
  • Yeah the USB cable is permanently attached
    – Adam Turaj
    Jan 6, 2023 at 16:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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