Camera model
1st camera Logitech c920
2nd camera Logitech c922
What is the problem?
when booting up octo print before getting to the octodash screen both camera power on as indicated by the blue and white led lights on the cameras, after complete power up though only 1 or the other works and shows that is powered on. and I can only view the one that it powered on through web browser or software.
What did you already try to solve it?
inspected all the logs, change frame rate and pixel size of each, unplug and re plug into different usb ports, verify each webcam works by itself, google for answers and scoured the forums, update all the software, change port numbers (8000,8001,8002,8003), .sudo service webcamd restart.
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support)
pi@octopi:~ $ ls /dev/v4l/by-id
usb-046d_C922_Pro_Stream_Webcam_BDFE0F4F-video-index0 usb-046d_HD_Pro_Webcam_C920_A69AE6FF-video-index0
usb-046d_C922_Pro_Stream_Webcam_BDFE0F4F-video-index1 usb-046d_HD_Pro_Webcam_C920_A69AE6FF-video-index1
### Windows users: To edit this file use Notepad++, VSCode, Atom or SublimeText.
### Do not use Notepad or WordPad.
### MacOSX users: If you use Textedit to edit this file make sure to use
### "plain text format" and "disable smart quotes" in "Textedit > Preferences"
### Configure which camera to use
#
# Available options are:
# - auto: tries first usb webcam, if that's not available tries raspi cam
# - usb: only tries usb webcam
# - raspi: only tries raspi cam
#
# Defaults to auto
#
camera="usb"
### Additional options to supply to MJPG Streamer for the USB camera
#
# See https://faq.octoprint.org/mjpg-streamer-config for available options
#
# Defaults to a resolution of 640x480 px and a framerate of 10 fps
#
camera_usb_options="-r 1920x1080 -f 15 -d /dev/v4l/by-id/usb-046d_C922_Pro_Stream_Webcam_BDFE0F4F-video-index0"
### Additional webcam devices known to cause problems with -f
#
# Apparently there a some devices out there that with the current
# mjpg_streamer release do not support the -f parameter (for specifying
# the capturing framerate) and will just refuse to output an image if it
# is supplied.
#
# The webcam daemon will detect those devices by their USB Vendor and Product
# ID and remove the -f parameter from the options provided to mjpg_streamer.
#
# By default, this is done for the following devices:
# Logitech C170 (046d:082b)
# GEMBIRD (1908:2310)
# Genius F100 (0458:708c)
# Cubeternet GL-UPC822 UVC WebCam (1e4e:0102)
#
# Using the following option it is possible to add additional devices. If
# your webcam happens to show above symptoms, try determining your cam's
# vendor and product id via lsusb, activating the line below by removing # and
### Windows users: To edit this file use Notepad++, VSCode, Atom or SublimeText.
### Do not use Notepad or WordPad.
### MacOSX users: If you use Textedit to edit this file make sure to use
### "plain text format" and "disable smart quotes" in "Textedit > Preferences"
### Configure which camera to use
#
# Available options are:
# - auto: tries first usb webcam, if that's not available tries raspi cam
# - usb: only tries usb webcam
# - raspi: only tries raspi cam
#
# Defaults to auto
#
camera="usb"
### Additional options to supply to MJPG Streamer for the USB camera
#
# See https://faq.octoprint.org/mjpg-streamer-config for available options
#
# Defaults to a resolution of 640x480 px and a framerate of 10 fps
#
camera_usb_options="-r 1920x1080 -f 15 -d /dev/v4l/by-id/usb-046d_HD_Pro_Webcam_C920_A69AE6FF-video-index0"
### Additional webcam devices known to cause problems with -f
#
# Apparently there a some devices out there that with the current
# mjpg_streamer release do not support the -f parameter (for specifying
# the capturing framerate) and will just refuse to output an image if it
# is supplied.
#
# The webcam daemon will detect those devices by their USB Vendor and Product
# ID and remove the -f parameter from the options provided to mjpg_streamer.
#
# By default, this is done for the following devices:
# Logitech C170 (046d:082b)
# GEMBIRD (1908:2310)
# Genius F100 (0458:708c)
# Cubeternet GL-UPC822 UVC WebCam (1e4e:0102)
#
# Using the following option it is possible to add additional devices. If
# your webcam happens to show above symptoms, try determining your cam's
# vendor and product id via lsusb, activating the line below by removing # and
pi@octopi:~ $ journalctl -u webcamd
-- Logs begin at Sun 2021-08-08 00:55:24 EDT, end at Sun 2021-08-08 02:07:34 EDT. --
Aug 08 00:55:28 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Aug 08 00:55:29 octopi systemd[1]: webcamd.service: Succeeded.
Aug 08 00:55:29 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Aug 08 00:55:30 octopi systemd[1]: webcamd.service: Service RestartSec=1s expired, scheduling restart.
Aug 08 00:55:30 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 1.
Aug 08 00:55:30 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Aug 08 00:55:30 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Aug 08 00:55:30 octopi root[613]: Starting USB webcam
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: starting application
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: Using V4L2 device.: /dev/video0
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: Desired Resolution: 1920 x 1080
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: Frames Per Second.: 15
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: Format............: JPEG
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: TV-Norm...........: DEFAULT
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: www-folder-path......: ./www-octopi/
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: HTTP TCP port........: 8080
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: HTTP Listen Address..: 127.0.0.1
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: username:password....: disabled
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: commands.............: disabled
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: starting input plugin input_uvc.so
Aug 08 00:55:30 octopi mjpg_streamer[614]: MJPG-streamer [614]: starting output plugin: output_http.so (ID: 00)
Aug 08 00:55:31 octopi root[636]: Starting USB webcam
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: starting application
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: Using V4L2 device.: /dev/video2
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: Desired Resolution: 1920 x 1080
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: Frames Per Second.: 15
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: Format............: JPEG
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: TV-Norm...........: DEFAULT
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: www-folder-path......: ./www-octopi/
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: HTTP TCP port........: 8081
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: HTTP Listen Address..: (null)
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: username:password....: disabled
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: commands.............: disabled
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: starting input plugin input_uvc.so
Aug 08 00:55:31 octopi mjpg_streamer[637]: MJPG-streamer [637]: starting output plugin: output_http.so (ID: 00)
Aug 08 00:55:32 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Aug 08 00:55:56 octopi systemd[1]: Stopping the OctoPi webcam daemon with the user specified config...
Aug 08 00:55:56 octopi systemd[1]: webcamd.service: Succeeded.
Aug 08 00:55:56 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Additional information about your setup (OctoPrint version, OctoPi version, ...)
OctoPrint version : 1.6.1
OctoPi version : 0.18.0