Hello,
Can anyone assist me with an issue I am having tryihng to attach and use my Logitech Quickcam Pro 4000 with my Octoprint running on a Raspberry Pi.
The webcam is detected as shown in the output from the lsusb command:
Bus 001 Device 009: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 001 Device 008: ID 148f:5572 Ralink Technology, Corp. RT5572 Wireless Adapter
Bus 001 Device 007: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 006: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
When I browse to http://<raspberry_pi_ip_address/webcam/control.htm it says that the webcam server is not currently running.
If I run the command service webcamd restart the following is output in the Syslog:
Jan 4 12:22:39 octopi webcamd[13750]: Done bring up all configured video device
Jan 4 12:22:39 octopi webcamd[13750]: Goodbye...
Jan 4 12:22:39 octopi systemd[1]: webcamd.service: Succeeded.
Jan 4 12:22:39 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:39 octopi systemd[1]: webcamd.service: Service RestartSec=100ms expired, scheduling restart.
Jan 4 12:22:39 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 5.
Jan 4 12:22:39 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:39 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Jan 4 12:22:39 octopi webcamd[13776]: Starting up webcamDaemon...
Jan 4 12:22:39 octopi webcamd[13776]: --- Configuration: ----------------------------
Jan 4 12:22:39 octopi webcamd[13776]: cfg_file: /boot/octopi.txt
Jan 4 12:22:39 octopi webcamd[13776]: camera: usb
Jan 4 12:22:39 octopi webcamd[13776]: usb options: -r 640x480 -f 10
Jan 4 12:22:39 octopi webcamd[13776]: raspi options: -fps 10
Jan 4 12:22:39 octopi webcamd[13776]: http options: -w ./www-octopi -n
Jan 4 12:22:39 octopi webcamd[13776]: Explicitly USB device:
Jan 4 12:22:39 octopi webcamd[13776]: -----------------------------------------------
Jan 4 12:22:39 octopi webcamd[13776]: Found video devices:
Jan 4 12:22:39 octopi webcamd[13776]: /dev/video0
Jan 4 12:22:39 octopi webcamd[13776]: /dev/video10
Jan 4 12:22:39 octopi webcamd[13776]: /dev/video11
Jan 4 12:22:39 octopi webcamd[13776]: /dev/video12
Jan 4 12:22:39 octopi webcamd[13776]: config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
Jan 4 12:22:39 octopi root: Starting USB webcam
Jan 4 12:22:39 octopi webcamd[13776]: <13>Jan 4 12:22:39 root: Starting USB webcam
Jan 4 12:22:39 octopi webcamd[13776]: Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
Jan 4 12:22:39 octopi MJPG-streamer [13800]: starting application
Jan 4 12:22:39 octopi MJPG-streamer [13800]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:39 octopi webcamd[13776]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:39 octopi webcamd[13776]: i: Using V4L2 device.: /dev/video0
Jan 4 12:22:39 octopi MJPG-streamer [13800]: Using V4L2 device.: /dev/video0
Jan 4 12:22:39 octopi webcamd[13776]: i: Desired Resolution: 640 x 480
Jan 4 12:22:39 octopi webcamd[13776]: i: Frames Per Second.: 10
Jan 4 12:22:39 octopi webcamd[13776]: i: Format............: JPEG
Jan 4 12:22:39 octopi webcamd[13776]: i: TV-Norm...........: DEFAULT
Jan 4 12:22:39 octopi webcamd[13776]: i: Could not obtain the requested pixelformat: MJPG , driver gave us: YU12
Jan 4 12:22:39 octopi webcamd[13776]: ... will try to handle this by checking against supported formats.
Jan 4 12:22:39 octopi webcamd[13776]: Init v4L2 failed !! exit fatal
Jan 4 12:22:39 octopi webcamd[13776]: i: init_VideoIn failed
Jan 4 12:22:39 octopi MJPG-streamer [13800]: Desired Resolution: 640 x 480
Jan 4 12:22:39 octopi MJPG-streamer [13800]: Frames Per Second.: 10
Jan 4 12:22:39 octopi MJPG-streamer [13800]: Format............: JPEG
Jan 4 12:22:39 octopi MJPG-streamer [13800]: TV-Norm...........: DEFAULT
Jan 4 12:22:39 octopi MJPG-streamer [13800]: init_VideoIn failed
Jan 4 12:22:40 octopi webcamd[13776]: Done bring up all configured video device
Jan 4 12:22:40 octopi webcamd[13776]: Goodbye...
Jan 4 12:22:40 octopi systemd[1]: webcamd.service: Succeeded.
Jan 4 12:22:40 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:41 octopi systemd[1]: webcamd.service: Service RestartSec=100ms expired, scheduling restart.
Jan 4 12:22:41 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 6.
Jan 4 12:22:41 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:41 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Jan 4 12:22:41 octopi webcamd[13802]: Starting up webcamDaemon...
Jan 4 12:22:41 octopi webcamd[13802]: --- Configuration: ----------------------------
Jan 4 12:22:41 octopi webcamd[13802]: cfg_file: /boot/octopi.txt
Jan 4 12:22:41 octopi webcamd[13802]: camera: usb
Jan 4 12:22:41 octopi webcamd[13802]: usb options: -r 640x480 -f 10
Jan 4 12:22:41 octopi webcamd[13802]: raspi options: -fps 10
Jan 4 12:22:41 octopi webcamd[13802]: http options: -w ./www-octopi -n
Jan 4 12:22:41 octopi webcamd[13802]: Explicitly USB device:
Jan 4 12:22:41 octopi webcamd[13802]: -----------------------------------------------
Jan 4 12:22:41 octopi webcamd[13802]: Found video devices:
Jan 4 12:22:41 octopi webcamd[13802]: /dev/video0
Jan 4 12:22:41 octopi webcamd[13802]: /dev/video10
Jan 4 12:22:41 octopi webcamd[13802]: /dev/video11
Jan 4 12:22:41 octopi webcamd[13802]: /dev/video12
Jan 4 12:22:41 octopi webcamd[13802]: config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
Jan 4 12:22:41 octopi root: Starting USB webcam
Jan 4 12:22:41 octopi webcamd[13802]: <13>Jan 4 12:22:41 root: Starting USB webcam
Jan 4 12:22:41 octopi webcamd[13802]: Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
Jan 4 12:22:41 octopi MJPG-streamer [13826]: starting application
Jan 4 12:22:41 octopi MJPG-streamer [13826]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:41 octopi webcamd[13802]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:41 octopi webcamd[13802]: i: Using V4L2 device.: /dev/video0
Jan 4 12:22:41 octopi MJPG-streamer [13826]: Using V4L2 device.: /dev/video0
Jan 4 12:22:41 octopi webcamd[13802]: i: Desired Resolution: 640 x 480
Jan 4 12:22:41 octopi webcamd[13802]: i: Frames Per Second.: 10
Jan 4 12:22:41 octopi webcamd[13802]: i: Format............: JPEG
Jan 4 12:22:41 octopi webcamd[13802]: i: TV-Norm...........: DEFAULT
Jan 4 12:22:41 octopi MJPG-streamer [13826]: Desired Resolution: 640 x 480
Jan 4 12:22:41 octopi webcamd[13802]: i: Could not obtain the requested pixelformat: MJPG , driver gave us: YU12
Jan 4 12:22:41 octopi webcamd[13802]: ... will try to handle this by checking against supported formats.
Jan 4 12:22:41 octopi webcamd[13802]: Init v4L2 failed !! exit fatal
Jan 4 12:22:41 octopi webcamd[13802]: i: init_VideoIn failed
Jan 4 12:22:41 octopi MJPG-streamer [13826]: Frames Per Second.: 10
Jan 4 12:22:41 octopi MJPG-streamer [13826]: Format............: JPEG
Jan 4 12:22:41 octopi MJPG-streamer [13826]: TV-Norm...........: DEFAULT
Jan 4 12:22:41 octopi MJPG-streamer [13826]: init_VideoIn failed
Jan 4 12:22:42 octopi webcamd[13802]: Done bring up all configured video device
Jan 4 12:22:42 octopi webcamd[13802]: Goodbye...
Jan 4 12:22:42 octopi systemd[1]: webcamd.service: Succeeded.
Jan 4 12:22:42 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:42 octopi systemd[1]: webcamd.service: Service RestartSec=100ms expired, scheduling restart.
Jan 4 12:22:42 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 7.
Jan 4 12:22:42 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:43 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Jan 4 12:22:43 octopi webcamd[13828]: Starting up webcamDaemon...
Jan 4 12:22:43 octopi webcamd[13828]: --- Configuration: ----------------------------
Jan 4 12:22:43 octopi webcamd[13828]: cfg_file: /boot/octopi.txt
Jan 4 12:22:43 octopi webcamd[13828]: camera: usb
Jan 4 12:22:43 octopi webcamd[13828]: usb options: -r 640x480 -f 10
Jan 4 12:22:43 octopi webcamd[13828]: raspi options: -fps 10
Jan 4 12:22:43 octopi webcamd[13828]: http options: -w ./www-octopi -n
Jan 4 12:22:43 octopi webcamd[13828]: Explicitly USB device:
Jan 4 12:22:43 octopi webcamd[13828]: -----------------------------------------------
Jan 4 12:22:43 octopi webcamd[13828]: Found video devices:
Jan 4 12:22:43 octopi webcamd[13828]: /dev/video0
Jan 4 12:22:43 octopi webcamd[13828]: /dev/video10
Jan 4 12:22:43 octopi webcamd[13828]: /dev/video11
Jan 4 12:22:43 octopi webcamd[13828]: /dev/video12
Jan 4 12:22:43 octopi webcamd[13828]: config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
Jan 4 12:22:43 octopi root: Starting USB webcam
Jan 4 12:22:43 octopi webcamd[13828]: <13>Jan 4 12:22:43 root: Starting USB webcam
Jan 4 12:22:43 octopi webcamd[13828]: Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
Jan 4 12:22:43 octopi MJPG-streamer [13861]: starting application
Jan 4 12:22:43 octopi webcamd[13828]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:43 octopi MJPG-streamer [13861]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:43 octopi webcamd[13828]: i: Using V4L2 device.: /dev/video0
Jan 4 12:22:43 octopi MJPG-streamer [13861]: Using V4L2 device.: /dev/video0
Jan 4 12:22:43 octopi MJPG-streamer [13861]: Desired Resolution: 640 x 480
Jan 4 12:22:43 octopi webcamd[13828]: i: Desired Resolution: 640 x 480
Jan 4 12:22:43 octopi webcamd[13828]: i: Frames Per Second.: 10
Jan 4 12:22:43 octopi webcamd[13828]: i: Format............: JPEG
Jan 4 12:22:43 octopi webcamd[13828]: i: TV-Norm...........: DEFAULT
Jan 4 12:22:44 octopi MJPG-streamer [13861]: Frames Per Second.: 10
Jan 4 12:22:44 octopi webcamd[13828]: i: Could not obtain the requested pixelformat: MJPG , driver gave us: YU12
Jan 4 12:22:44 octopi webcamd[13828]: ... will try to handle this by checking against supported formats.
Jan 4 12:22:44 octopi webcamd[13828]: Init v4L2 failed !! exit fatal
Jan 4 12:22:44 octopi webcamd[13828]: i: init_VideoIn failed
Jan 4 12:22:44 octopi MJPG-streamer [13861]: Format............: JPEG
Jan 4 12:22:44 octopi MJPG-streamer [13861]: TV-Norm...........: DEFAULT
Jan 4 12:22:44 octopi MJPG-streamer [13861]: init_VideoIn failed
Jan 4 12:22:44 octopi webcamd[13828]: Done bring up all configured video device
Jan 4 12:22:44 octopi webcamd[13828]: Goodbye...
Jan 4 12:22:44 octopi systemd[1]: webcamd.service: Succeeded.
Jan 4 12:22:44 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:45 octopi systemd[1]: webcamd.service: Service RestartSec=100ms expired, scheduling restart.
Jan 4 12:22:45 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 8.
Jan 4 12:22:45 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:45 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Jan 4 12:22:45 octopi webcamd[13867]: Starting up webcamDaemon...
Jan 4 12:22:45 octopi webcamd[13867]: --- Configuration: ----------------------------
Jan 4 12:22:45 octopi webcamd[13867]: cfg_file: /boot/octopi.txt
Jan 4 12:22:45 octopi webcamd[13867]: camera: usb
Jan 4 12:22:45 octopi webcamd[13867]: usb options: -r 640x480 -f 10
Jan 4 12:22:45 octopi webcamd[13867]: raspi options: -fps 10
Jan 4 12:22:45 octopi webcamd[13867]: http options: -w ./www-octopi -n
Jan 4 12:22:45 octopi webcamd[13867]: Explicitly USB device:
Jan 4 12:22:45 octopi webcamd[13867]: -----------------------------------------------
Jan 4 12:22:45 octopi webcamd[13867]: Found video devices:
Jan 4 12:22:45 octopi webcamd[13867]: /dev/video0
Jan 4 12:22:45 octopi webcamd[13867]: /dev/video10
Jan 4 12:22:45 octopi webcamd[13867]: /dev/video11
Jan 4 12:22:45 octopi webcamd[13867]: /dev/video12
Jan 4 12:22:45 octopi webcamd[13867]: config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
Jan 4 12:22:45 octopi root: Starting USB webcam
Jan 4 12:22:45 octopi webcamd[13867]: <13>Jan 4 12:22:45 root: Starting USB webcam
Jan 4 12:22:45 octopi webcamd[13867]: Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
Jan 4 12:22:45 octopi MJPG-streamer [13891]: starting application
Jan 4 12:22:45 octopi MJPG-streamer [13891]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:45 octopi webcamd[13867]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:45 octopi webcamd[13867]: i: Using V4L2 device.: /dev/video0
Jan 4 12:22:45 octopi webcamd[13867]: i: Desired Resolution: 640 x 480
Jan 4 12:22:45 octopi webcamd[13867]: i: Frames Per Second.: 10
Jan 4 12:22:45 octopi webcamd[13867]: i: Format............: JPEG
Jan 4 12:22:45 octopi webcamd[13867]: i: TV-Norm...........: DEFAULT
Jan 4 12:22:45 octopi MJPG-streamer [13891]: Using V4L2 device.: /dev/video0
Jan 4 12:22:45 octopi MJPG-streamer [13891]: Desired Resolution: 640 x 480
Jan 4 12:22:45 octopi MJPG-streamer [13891]: Frames Per Second.: 10
Jan 4 12:22:45 octopi webcamd[13867]: i: Could not obtain the requested pixelformat: MJPG , driver gave us: YU12
Jan 4 12:22:45 octopi webcamd[13867]: ... will try to handle this by checking against supported formats.
Jan 4 12:22:45 octopi webcamd[13867]: Init v4L2 failed !! exit fatal
Jan 4 12:22:45 octopi webcamd[13867]: i: init_VideoIn failed
Jan 4 12:22:45 octopi MJPG-streamer [13891]: Format............: JPEG
Jan 4 12:22:45 octopi MJPG-streamer [13891]: TV-Norm...........: DEFAULT
Jan 4 12:22:45 octopi MJPG-streamer [13891]: init_VideoIn failed
Jan 4 12:22:46 octopi webcamd[13867]: Done bring up all configured video device
Jan 4 12:22:46 octopi webcamd[13867]: Goodbye...
Jan 4 12:22:46 octopi systemd[1]: webcamd.service: Succeeded.
Jan 4 12:22:46 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:46 octopi systemd[1]: webcamd.service: Service RestartSec=100ms expired, scheduling restart.
Jan 4 12:22:46 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 9.
Jan 4 12:22:46 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:47 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Jan 4 12:22:47 octopi webcamd[13893]: Starting up webcamDaemon...
Jan 4 12:22:47 octopi webcamd[13893]: --- Configuration: ----------------------------
Jan 4 12:22:47 octopi webcamd[13893]: cfg_file: /boot/octopi.txt
Jan 4 12:22:47 octopi webcamd[13893]: camera: usb
Jan 4 12:22:47 octopi webcamd[13893]: usb options: -r 640x480 -f 10
Jan 4 12:22:47 octopi webcamd[13893]: raspi options: -fps 10
Jan 4 12:22:47 octopi webcamd[13893]: http options: -w ./www-octopi -n
Jan 4 12:22:47 octopi webcamd[13893]: Explicitly USB device:
Jan 4 12:22:47 octopi webcamd[13893]: -----------------------------------------------
Jan 4 12:22:47 octopi webcamd[13893]: Found video devices:
Jan 4 12:22:47 octopi webcamd[13893]: /dev/video0
Jan 4 12:22:47 octopi webcamd[13893]: /dev/video10
Jan 4 12:22:47 octopi webcamd[13893]: /dev/video11
Jan 4 12:22:47 octopi webcamd[13893]: /dev/video12
Jan 4 12:22:47 octopi webcamd[13893]: config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
Jan 4 12:22:47 octopi root: Starting USB webcam
Jan 4 12:22:47 octopi webcamd[13893]: <13>Jan 4 12:22:47 root: Starting USB webcam
Jan 4 12:22:47 octopi webcamd[13893]: Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
Jan 4 12:22:47 octopi MJPG-streamer [13917]: starting application
Jan 4 12:22:47 octopi MJPG-streamer [13917]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:47 octopi webcamd[13893]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Jan 4 12:22:47 octopi webcamd[13893]: i: Using V4L2 device.: /dev/video0
Jan 4 12:22:47 octopi webcamd[13893]: i: Desired Resolution: 640 x 480
Jan 4 12:22:47 octopi webcamd[13893]: i: Frames Per Second.: 10
Jan 4 12:22:47 octopi webcamd[13893]: i: Format............: JPEG
Jan 4 12:22:47 octopi webcamd[13893]: i: TV-Norm...........: DEFAULT
Jan 4 12:22:47 octopi MJPG-streamer [13917]: Using V4L2 device.: /dev/video0
Jan 4 12:22:47 octopi webcamd[13893]: i: Could not obtain the requested pixelformat: MJPG , driver gave us: YU12
Jan 4 12:22:47 octopi webcamd[13893]: ... will try to handle this by checking against supported formats.
Jan 4 12:22:47 octopi webcamd[13893]: Init v4L2 failed !! exit fatal
Jan 4 12:22:47 octopi webcamd[13893]: i: init_VideoIn failed
Jan 4 12:22:47 octopi MJPG-streamer [13917]: Desired Resolution: 640 x 480
Jan 4 12:22:47 octopi MJPG-streamer [13917]: Frames Per Second.: 10
Jan 4 12:22:47 octopi MJPG-streamer [13917]: Format............: JPEG
Jan 4 12:22:47 octopi MJPG-streamer [13917]: TV-Norm...........: DEFAULT
Jan 4 12:22:47 octopi MJPG-streamer [13917]: init_VideoIn failed
Jan 4 12:22:48 octopi webcamd[13893]: Done bring up all configured video device
Jan 4 12:22:48 octopi webcamd[13893]: Goodbye...
Jan 4 12:22:48 octopi systemd[1]: webcamd.service: Succeeded.
Jan 4 12:22:48 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:48 octopi systemd[1]: webcamd.service: Service RestartSec=100ms expired, scheduling restart.
Jan 4 12:22:48 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 10.
Jan 4 12:22:48 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Jan 4 12:22:48 octopi systemd[1]: webcamd.service: Start request repeated too quickly.
Jan 4 12:22:48 octopi systemd[1]: webcamd.service: Failed with result 'start-limit-hit'.
Jan 4 12:22:48 octopi systemd[1]: Failed to start the OctoPi webcam daemon with the user specified config.
Can anyone provide some advise on what I need to do to get the webcam working?
Thanks in advance