Raspberry Pi Zero webcam not working

Hi,

I am using the repetier image and have been working with it successfully. Great product and very stable!

I have not been able to get my Pi camera working, or my USB connected camera. The USB camera is likely a cable issue, the OTG USB splitter doesn't seem to connect the USB camera.

This issue is more with the PI camera though. I have read many posts and tried many suggestions from similar issues but can't get it to work.
The contents of webcam.conf is:
# Framerate and capture size. Bigger sizes and frequencies need more storage/ram and bandwidth>
# you can handle better values or not.
WEBCAM_FRAMERATE=15
WEBCAM_WIDTH=640
WEBCAM_HEIGHT=480
# Default jpg quality is 85%
WEBCAM_QUALITY=85
# Extra paremeter for pi module when started.
WEBCAM_PICAM_PARAMS=""
# Extra parameter for usb module when started.
WEBCAM_USB_PARAMS=""
# Is this a pi where a picam could be connected? yes or no
IS_PI="yes"
# Path to
MJPG_STREAMER=/usr/local/bin/mjpg_streamer
MJPG_PLUGIN_DIR=/usr/local/lib/mjpg-streamer
MJPG_WWW_DIR=/usr/local/share/mjpg-streamer/www
# WEBCAM_DIR is used for naming video devices
# /dev/v4l/by-id/*     Is to use the device names. It is not important where you plug it in
# /dev/v4l/by-path/*   Is to use the usb port plugged in to identify webcams. Use this if you >
WEBCAM_DIR=/dev/v4l/by-path/*

When I try: sudo /usr/local/Repetier-Setup/bin/startAllCams
The response is:
Start from directory /usr/local/Repetier-Setup/bin
Testing active webcams in /dev/v4l/by-path/*
Starting webcam /dev/v4l/by-path/platform-bcm2835-codec-video-index0
Webcam does not support MJPG - using slower YUYV instead!
Best resolution: 320 x 640 at 15
Starting platform-bcm2835-codec-video-index0 on port 8080
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video12 --fps 15 -q 85 -r 320x640 -y " -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8080 -w /usr/local/share/mjpg-streamer/www" -b
enabling daemon modeStarting webcam /dev/v4l/by-path/platform-bcm2835-isp-video-index0
forked to background (29255)
Webcam does not support MJPG - using slower YUYV instead!
Best resolution: 320 x 640 at 15
Starting platform-bcm2835-isp-video-index0 on port 8081
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video13 --fps 15 -q 85 -r 320x640 -y " -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8081 -w /usr/local/share/mjpg-streamer/www" -b
enabling daemon modeforked to background (29282)
Starting webcam /dev/v4l/by-path/platform-bcm2835-isp-video-index1
Webcam does not support MJPG - using slower YUYV instead!
Best resolution: 320 x 640 at 15
Starting platform-bcm2835-isp-video-index1 on port 8082
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video21 --fps 15 -q 85 -r 320x640 -y " -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8082 -w /usr/local/share/mjpg-streamer/www" -b
enabling daemon modeStarting webcam /dev/v4l/by-path/platform-bcm2835-isp-video-index2
forked to background (29314)
Webcam does not support MJPG - using slower YUYV instead!
Best resolution: 320 x 640 at 15
Starting platform-bcm2835-isp-video-index2 on port 8083
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video22 --fps 15 -q 85 -r 320x640 -y " -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8083 -w /usr/local/share/mjpg-streamer/www" -b
enabling daemon modeStarting webcam /dev/v4l/by-path/platform-bcm2835-isp-video-index3
forked to background (29347)
Webcam does not support MJPG - using slower YUYV instead!
Best resolution: 320 x 640 at 15
Starting platform-bcm2835-isp-video-index3 on port 8084
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video23 --fps 15 -q 85 -r 320x640 -y " -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8084 -w /usr/local/share/mjpg-streamer/www" -b
enabling daemon modeforked to background (29376)

Comments

  • All the devices being tested here have bcm2835 in the name, so they are display capture from pi0. Don't see the device.
    Try running
    lsusb
    to see if the camera appears as device at all.

    Not sure about otg but would make sure it is disabled. It might prevent regular usb usage if it is also meant for internet connection. You can also try connecting an other device to see if that appears with lsusb just for testing. Mouse for example.
Sign In or Register to comment.