USB cam worked and then stopped

Camera model SANDBERG USB Webcam 1080P HD

What is the problem? Camera worked for couple of hours then feed in Octoprint stopped. Would that be some network problem purchaps ?

What did you already try to solve it? flash the Pi 4 twice with no luck, change settings in octopi.txt, replace the camera with the new one, run all the system updates etc. reinstall Octoprint,

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)

pi@octopi:~ $ sudo service webcamd status
● webcamd.service - the OctoPi webcam daemon with the user specified config
   Loaded: loaded (/etc/systemd/system/webcamd.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2021-02-21 20:14:20 GMT; 19h ago
  Process: 981 ExecStart=/root/bin/webcamd (code=exited, status=0/SUCCESS)
 Main PID: 1006 (mjpg_streamer)
    Tasks: 378 (limit: 4915)
   CGroup: /system.slice/webcamd.service
           └─1006 ./mjpg_streamer -o output_http.so -w ./www-octopi -n --listen 127.0.0.1 -i input_uvc.so -r 640x48

Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: www-folder-path......: ./www-octopi/
Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: HTTP TCP port........: 8080
Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: HTTP Listen Address..: 127.0.0.1
Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: username:password....: disabled
Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: commands.............: disabled
Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: starting input plugin input_uvc.so
Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: starting output plugin: output_http.so (ID: 00)
Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: Can't enable video in first time
Feb 21 20:14:20 octopi mjpg_streamer[1006]: MJPG-streamer [1006]: cleaning up resources allocated by input thread
Feb 21 20:14:20 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
pi@octopi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 1d6c:0103
Bus 001 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@octopi:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.11-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1399 SMP Thu Jan 28 12:09:48 GMT 2021
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x00000000fbffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000037ffffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] On node 0 totalpages: 999424
[    0.000000]   DMA zone: 2304 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 802816 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s50636 r8192 d23092 u81920
[    0.000000] pcpu-alloc: s50636 r8192 d23092 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 997120
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:800x480M@59 smsc95xx.macaddr=DC:A6:32:2B:DF:03 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=9a0ded57-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] Kernel parameter elevator= does not have any effect anymore.
               Please use sysfs to set IO scheduler for individual devices.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000017cc0000-0x000000001bcc0000] (64MB)
[    0.000000] Memory: 3602316K/3997696K available (10240K kernel code, 1354K rwdata, 3152K rodata, 2048K init, 890K bss, 133236K reserved, 262144K cma-reserved, 3211264K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 33824 entries in 67 pages
[    0.000000] ftrace: allocated 67 pages with 3 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=0
[    0.000008] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000034] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000101] bcm2835: system timer (irq = 25)
[    0.000755] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000776] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000799] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000817] Switching to timer-based delay loop, resolution 18ns
[    0.001070] Console: colour dummy device 80x30
[    0.001816] printk: console [tty1] enabled
[    0.001883] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.001937] pid_max: default: 32768 minimum: 301
[    0.002121] LSM: Security Framework initializing
[    0.002319] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002364] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003941] Disabling memory control group subsystem
[    0.004075] CPU: Testing write buffer coherency: ok
[    0.004551] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005784] Setting up static identity map for 0x200000 - 0x20003c
[    0.005999] rcu: Hierarchical SRCU implementation.
[    0.006946] smp: Bringing up secondary CPUs ...
[    0.008184] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.009561] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.011000] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.011159] smp: Brought up 1 node, 4 CPUs
[    0.011206] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.011235] CPU: All CPU(s) started in HYP mode.
[    0.011262] CPU: Virtualization extensions available.
[    0.012104] devtmpfs: initialized
[    0.026176] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.026435] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.026489] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.033227] pinctrl core: initialized pinctrl subsystem
[    0.034328] NET: Registered protocol family 16
[    0.038347] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.039141] audit: initializing netlink subsys (disabled)
[    0.039417] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[    0.040001] thermal_sys: Registered thermal governor 'step_wise'
[    0.040704] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.040789] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.041198] Serial: AMBA PL011 UART driver
[    0.074744] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.090899] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-01-27T22:19:57, variant start
[    0.100912] raspberrypi-firmware soc:firmware: Firmware hash is 99d9a48302e4553cff3688692bb7e9ac760a03fa
[    0.145949] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.150150] vgaarb: loaded
[    0.150640] SCSI subsystem initialized
[    0.150872] usbcore: registered new interface driver usbfs
[    0.151353] usbcore: registered new interface driver hub
[    0.151453] usbcore: registered new device driver usb
[    0.151819] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.153748] clocksource: Switched to clocksource arch_sys_counter
[    1.181494] VFS: Disk quotas dquot_6.6.0
[    1.181622] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.181825] FS-Cache: Loaded
[    1.182018] CacheFiles: Loaded
[    1.183004] simple-framebuffer 3ea50000.framebuffer: framebuffer at 0x3ea50000, 0x177000 bytes, mapped to 0x(ptrval)
[    1.183050] simple-framebuffer 3ea50000.framebuffer: format=a8r8g8b8, mode=800x480x32, linelength=3200
[    1.185412] Console: switching to colour frame buffer device 100x30
[    1.188434] simple-framebuffer 3ea50000.framebuffer: fb0: simplefb registered!
[    1.198234] NET: Registered protocol family 2
[    1.200219] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.201495] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.202692] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.203917] TCP: Hash tables configured (established 8192 bind 8192)
[    1.205200] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.206337] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.207682] NET: Registered protocol family 1
[    1.209514] RPC: Registered named UNIX socket transport module.
[    1.210624] RPC: Registered udp transport module.
[    1.211712] RPC: Registered tcp transport module.
[    1.212795] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.213944] PCI: CLS 0 bytes, default 64
[    1.217951] Initialise system trusted keyrings
[    1.219266] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[    1.228759] zbud: loaded
[    1.231771] FS-Cache: Netfs 'nfs' registered for caching
[    1.233620] NFS: Registering the id_resolver key type
[    1.234804] Key type id_resolver registered
[    1.235874] Key type id_legacy registered
[    1.237028] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.239092] Key type asymmetric registered
[    1.240112] Asymmetric key parser 'x509' registered
[    1.241293] bounce: pool size: 64 pages
[    1.242314] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.243525] io scheduler mq-deadline registered
[    1.244560] io scheduler kyber registered
[    1.250075] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.251064] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.253004] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.254145] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[    1.315855] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    1.317176] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.318142] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.319147] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    1.321201] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.322467] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.327064] PCI: bus0: Fast back to back transfers disabled
[    1.328407] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.329539] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.330979] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.335493] PCI: bus1: Fast back to back transfers disabled
[    1.336577] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.337629] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.338713] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.339733] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.341152] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    1.342394] pcieport 0000:00:00.0: PME: Signaling with IRQ 63
[    1.352100] iproc-rng200 fe104000.rng: hwrng registered
[    1.353427] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.355384] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.369461] brd: module loaded
[    1.382607] loop: module loaded
[    1.385338] Loading iSCSI transport class v2.0-870.
[    1.388771] libphy: Fixed MDIO Bus: probed
[    1.391029] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.403863] libphy: bcmgenet MII bus: probed
[    1.483902] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.486064] usbcore: registered new interface driver r8152
[    1.487107] usbcore: registered new interface driver lan78xx
[    1.488094] usbcore: registered new interface driver smsc95xx
[    1.490628] xhci_hcd 0000:01:00.0: enabling device (0140 -> 0142)
[    1.491711] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.492641] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.496910] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000030000000890
[    1.500056] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.501056] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.502064] usb usb1: Product: xHCI Host Controller
[    1.503059] usb usb1: Manufacturer: Linux 5.10.11-v7l+ xhci-hcd
[    1.504091] usb usb1: SerialNumber: 0000:01:00.0
[    1.505789] hub 1-0:1.0: USB hub found
[    1.506849] hub 1-0:1.0: 1 port detected
[    1.508451] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.509404] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.510351] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.511737] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    1.512703] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.513665] usb usb2: Product: xHCI Host Controller
[    1.514650] usb usb2: Manufacturer: Linux 5.10.11-v7l+ xhci-hcd
[    1.515609] usb usb2: SerialNumber: 0000:01:00.0
[    1.517231] hub 2-0:1.0: USB hub found
[    1.518233] hub 2-0:1.0: 4 ports detected
[    1.520847] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.522098] dwc_otg: FIQ enabled
[    1.522113] dwc_otg: NAK holdoff enabled
[    1.522127] dwc_otg: FIQ split-transaction FSM enabled
[    1.522158] Module dwc_common_port init
[    1.522600] usbcore: registered new interface driver uas
[    1.523655] usbcore: registered new interface driver usb-storage
[    1.524802] mousedev: PS/2 mouse device common for all mice
[    1.527415] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.531888] sdhci: Secure Digital Host Controller Interface driver
[    1.532857] sdhci: Copyright(c) Pierre Ossman
[    1.534521] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    1.536057] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.539858] ledtrig-cpu: registered to indicate activity on CPUs
[    1.541114] hid: raw HID events driver (C) Jiri Kosina
[    1.542211] usbcore: registered new interface driver usbhid
[    1.543139] usbhid: USB HID core driver
[    1.549896] Initializing XFRM netlink socket
[    1.550882] NET: Registered protocol family 17
[    1.551930] Key type dns_resolver registered
[    1.553216] Registering SWP/SWPB emulation handler
[    1.554439] registered taskstats version 1
[    1.555347] Loading compiled-in X.509 certificates
[    1.557022] Key type ._fscrypt registered
[    1.557900] Key type .fscrypt registered
[    1.558752] Key type fscrypt-provisioning registered
[    1.570988] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.572201] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.573171] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[    1.580848] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.582873] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.583914] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.614012] of_cfs_init
[    1.615232] of_cfs_init: OK
[    1.630313] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.632914] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.635478] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.639294] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.641758] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.649519] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    1.651350] Waiting for root device PARTUUID=9a0ded57-02...
[    1.683193] random: fast init done
[    1.709607] mmc1: new high speed SDIO card at address 0001
[    1.753355] mmc0: new ultra high speed DDR50 SDXC card at address aaaa
[    1.755157] mmcblk0: mmc0:aaaa SC64G 59.5 GiB
[    1.759828]  mmcblk0: p1 p2
[    1.793808] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    1.794720] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    1.873797] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    2.056429] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    2.057422] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.058358] usb 1-1: Product: USB2.0 Hub
[    2.061388] hub 1-1:1.0: USB hub found
[    2.062490] hub 1-1:1.0: 4 ports detected
[    2.063016] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[    2.066306] EXT4-fs (mmcblk0p2): 1 orphan inode deleted
[    2.067158] EXT4-fs (mmcblk0p2): recovery complete
[    2.085133] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.086100] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.094110] devtmpfs: mounted
[    2.103987] Freeing unused kernel memory: 2048K
[    2.105219] Run /sbin/init as init process
[    2.106161]   with arguments:
[    2.106176]     /sbin/init
[    2.106190]   with environment:
[    2.106205]     HOME=/
[    2.106219]     TERM=linux
[    2.383806] usb 1-1.1: new full-speed USB device number 3 using xhci_hcd
[    2.515809] usb 1-1.1: not running at top speed; connect to a high speed hub
[    2.519111] systemd[1]: System time before build time, advancing clock.
[    2.527321] usb 1-1.1: New USB device found, idVendor=1d6c, idProduct=0103, bcdDevice= 0.10
[    2.528363] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.529380] usb 1-1.1: Product: webcam
[    2.530372] usb 1-1.1: Manufacturer: webcam
[    2.612667] NET: Registered protocol family 10
[    2.615091] Segment Routing with IPv6
[    2.633801] usb 1-1.2: new full-speed USB device number 4 using xhci_hcd
[    2.682162] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    2.686692] systemd[1]: Detected architecture arm.
[    2.778941] systemd[1]: Set hostname to <octopi>.
[    2.779983] usb 1-1.2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[    2.779999] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    2.782207] usb 1-1.2: Product: USB Serial
[    3.508776] random: systemd: uninitialized urandom read (16 bytes read)
[    3.522778] random: systemd: uninitialized urandom read (16 bytes read)
[    3.525066] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.527940] random: systemd: uninitialized urandom read (16 bytes read)
[    3.529357] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.534150] systemd[1]: Created slice User and Session Slice.
[    3.537680] systemd[1]: Listening on Journal Audit Socket.
[    3.540735] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.546130] systemd[1]: Created slice system-getty.slice.
[    3.549478] systemd[1]: Listening on Syslog Socket.
[    4.247600] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    4.355649] systemd-journald[111]: Received request to flush runtime journal from PID 1
[    4.947595] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[    4.952738] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[    4.953351] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[    4.954087] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[    4.999983] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.002319] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.002345] [vc_sm_connected_init]: start
[    5.030548] mc: Linux media interface: v0.10
[    5.034113] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.036066] [vc_sm_connected_init]: installed successfully
[    5.039840] bcm2835_audio bcm2835_audio: card created with 4 channels
[    5.043011] bcm2835_audio bcm2835_audio: card created with 4 channels
[    5.059832] videodev: Linux video capture interface: v2.00
[    5.114654] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.129732] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.151811] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.170094] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.175189] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.175236] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    5.188106] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    5.188175] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    5.209640] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.210097] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    5.210141] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    5.210290] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.213659] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.217559] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.217633] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.217701] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.217809] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.217875] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.218483] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    5.657701] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.675692] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    5.676486] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    5.676511] checking generic (3ea50000 177000) vs hw (0 ffffffffffffffff)
[    5.676527] fb0: switching to vc4drmfb from simple
[    5.677114] Console: switching to colour dummy device 80x30
[    5.682645] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[    5.703721] Console: switching to colour frame buffer device 100x30
[    5.716668] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[    5.720280] usbcore: registered new interface driver usbserial_generic
[    5.720396] usbserial: USB Serial support registered for generic
[    5.727564] usbcore: registered new interface driver ch341
[    5.728217] usbserial: USB Serial support registered for ch341-uart
[    5.728360] ch341 1-1.2:1.0: ch341-uart converter detected
[    5.733335] cdc_acm 1-1.1:1.4: ttyACM0: USB ACM device
[    5.739301] usbcore: registered new interface driver cdc_acm
[    5.739319] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    5.750355] usb 1-1.2: ch341-uart converter now attached to ttyUSB0
[    5.770476] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.941859] brcmfmac: F1 signature read @0x18000000=0x15264345
[    5.958098] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.958979] usbcore: registered new interface driver brcmfmac
[    5.982508] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[    6.016919] uvcvideo: Found UVC 1.00 device webcam (1d6c:0103)
[    6.017062] usbcore: registered new interface driver snd-usb-audio
[    6.042165] input: webcam as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input0
[    6.045826] usbcore: registered new interface driver uvcvideo
[    6.045871] USB Video Class driver (1.1.1)
[    6.178068] ads7846 spi0.1: supply vcc not found, using dummy regulator
[    6.178763] ads7846 spi0.1: touchscreen, irq 65
[    6.194376] input: ADS7846 Touchscreen as /devices/platform/soc/fe204000.spi/spi_master/spi0/spi0.1/input/input1
[    6.244621] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.260397] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[    8.026633] uart-pl011 fe201000.serial: no DMA platform data
[    8.082146] random: crng init done
[    8.082176] random: 7 urandom warning(s) missed due to ratelimiting
[    8.258047] 8021q: 802.1Q VLAN Support v1.8
[    8.493937] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    8.682541] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    9.006731] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    9.007233] bcmgenet fd580000.ethernet eth0: Link is Down
[   14.196603] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   14.901929] Bluetooth: Core ver 2.22
[   14.902036] NET: Registered protocol family 31
[   14.902053] Bluetooth: HCI device and connection manager initialized
[   14.902083] Bluetooth: HCI socket layer initialized
[   14.902107] Bluetooth: L2CAP socket layer initialized
[   14.902141] Bluetooth: SCO socket layer initialized
[   14.913141] Bluetooth: HCI UART driver ver 2.3
[   14.913163] Bluetooth: HCI UART protocol H4 registered
[   14.913272] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.913590] Bluetooth: HCI UART protocol Broadcom registered
[   15.070880] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.070890] Bluetooth: BNEP filters: protocol multicast
[   15.070904] Bluetooth: BNEP socket layer initialized
[   21.729289] broken atomic modeset userspace detected, disabling atomic
[50074.580379] broken atomic modeset userspace detected, disabling atomic
[50125.812318] broken atomic modeset userspace detected, disabling atomic
[51187.970388] v3d fec00000.v3d: MMU error from client L2T (0) at 0xa61000, pte invalid
[51723.075921] broken atomic modeset userspace detected, disabling atomic
[52086.339568] broken atomic modeset userspace detected, disabling atomic
[53175.615640] broken atomic modeset userspace detected, disabling atomic
[53778.872070] broken atomic modeset userspace detected, disabling atomic
[53900.117541] broken atomic modeset userspace detected, disabling atomic
[55345.383347] broken atomic modeset userspace detected, disabling atomic
[58084.659485] broken atomic modeset userspace detected, disabling atomic
[60407.937966] broken atomic modeset userspace detected, disabling atomic
[60619.089172] usb 1-1.1: USB disconnect, device number 3
[60623.223995] usb 1-1.4: new high-speed USB device number 5 using xhci_hcd
[60623.355431] usb 1-1.4: config 1 interface 4 altsetting 0 endpoint 0x82 has an invalid bInterval 255, changing to 11
[60623.355454] usb 1-1.4: config 1 interface 5 altsetting 0 bulk endpoint 0x84 has invalid maxpacket 64
[60623.355473] usb 1-1.4: config 1 interface 5 altsetting 0 bulk endpoint 0x4 has invalid maxpacket 64
[60623.356259] usb 1-1.4: New USB device found, idVendor=1d6c, idProduct=0103, bcdDevice= 0.10
[60623.356277] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[60623.356292] usb 1-1.4: Product: webcam
[60623.356307] usb 1-1.4: Manufacturer: webcam
[60623.359714] uvcvideo: Found UVC 1.00 device webcam (1d6c:0103)
[60623.363198] input: webcam as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input2
[60623.370696] cdc_acm 1-1.4:1.4: ttyACM0: USB ACM device
[61609.222396] broken atomic modeset userspace detected, disabling atomic
[62210.479971] broken atomic modeset userspace detected, disabling atomic
[62689.741873] broken atomic modeset userspace detected, disabling atomic
[64250.993918] broken atomic modeset userspace detected, disabling atomic
[64481.010960] broken atomic modeset userspace detected, disabling atomic
[66044.286817] broken atomic modeset userspace detected, disabling atomic
[66167.543415] broken atomic modeset userspace detected, disabling atomic

Additional information about your setup (OctoPrint version, OctoPi version, ...) Version 1.5.3, Raspberry Pi 4, original power supply.

which octopi version are you using?

run sudo rpi-eeprom-update and post the output

pi@octopi:~ $ sudo rpi-eeprom-update

BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Thu 3 Sep 12:11:43 UTC 2020 (1599135103)
LATEST: Thu 3 Sep 12:11:43 UTC 2020 (1599135103)
FW DIR: /lib/firmware/raspberrypi/bootloader/default
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1

apologies if I missed or added to much info to this post, pretty new to the Pi and Octoprint actually

no problem :slight_smile:
which version of octopi are you using?

  • OctoPrint 1.5.3
  • Python 3.7.3
  • OctoPi 0.18.0

Alright

There was a known bug with usb cams in an other VL805 version so that isn't the problem.
You also got the latest octopi image.

I can't really give you a solution since this seems like a pi / webcam hardware related problem - just a little workaround
when the cam stops working the next time you can restart the webcam server with
sudo service webcamd restart

I hope that helps

I did order Pi cam so when that arrives I will give it a try, if this is a USB cam issue nothing more I can do.