Usb cam on rpi3b+ stopped showing video

Camera model
Logitec C270
What is the problem?
It was showing up using default octoprint settings, then after reboot, no longer

What did you already try to solve it?
changed settings in /boot/octopi.txt , removed #, and added -y
Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)
Unfortunately no webcamd.log
Also no dmesg.log

Bus 001 Device 011: ID 2412:2800
Bus 001 Device 014: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 013: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

v4l2-ctl --list-formats:
Type: Video Capture

    [0]: 'YUYV' (YUYV 4:2:2)
    [1]: 'MJPG' (Motion-JPEG, compressed)

Additional information about your setup (OctoPrint version, OctoPi version, ...)
octopi v17 with octoprint 1.3

I did do a lot of updates and installs of various components to get printerstats to work,following a page on this forum so not sure if that messed it up.uvcdynctrl-udev.log (2.4 MB) syslog1.log (76.7 KB) syslog.log (1.7 MB)

I got it to work, by reading other posts on this forum.

I typed this into ssh terminal after logging in.

sudo pkill mjpg_streamer

Then the webcam started working in octoprint.


I cannot for the life of me, despite reading almost every post on here and writing my own plea for help, to get the Raspicam working in Ocoprint, so yesterday paid over the odds from flea-bay for a Logitech C270 webcam.

So reading your above post, may i ask what that sudo cmd did? Why you had to do it? and this is a complete noob question.......I can get into the SSH terminal ok, but where would i type this cmd (If in fact i need to do it)?
Log into SSH as Pi, put in password, then type it?

May i also take this oppotunity to ask what else you had to do when connecting the C270 cam to the Pi usb port? anything in the optopi.text file? anything in any other settings?

Huge thanks man

Stay Safe

I know this is late, but to answer your questions:

  1. It kills the process for mjpg_streamer, which I assume is interfering with the stream.
  2. Yes, login and type that command out exactly as it is.
  3. Nothing. Plug it in, kill that process, and have fun.