I checked once again:
On fresh install 0.16.0 cam is not working anymore
Could you please try previous version of octopi (0.15.1) to confirm if it is the same bug?
I checked once again:
On fresh install 0.16.0 cam is not working anymore
Could you please try previous version of octopi (0.15.1) to confirm if it is the same bug?
While you're testing different images you could test the new nightly build.
Maybe it works again on buster
Just tested 2019-06-24_2019-06-20-octopi-buster-lite-0.17.0.zip
same as in 0.16.0, cam is not working
I'm not sure if the problem is with mjpg streamer or linux itself.
Maybe a dmesg log could help
Could you post one of a failed webcam start?
Pi 3B
------------------------------------------------------------------------------
OctoPrint version : 1.3.11
OctoPi version : 0.17.0
------------------------------------------------------------------------------
pi@octopi:~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.50-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #896 SMP Thu Jun 20 16:11:44 BST 2019
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x37800000
[ 0.000000] On node 0 totalpages: 229376
[ 0.000000] Normal zone: 2016 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 229376 pages, LIFO batch:63
[ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x4b4 with crng_init=0
[ 0.000000] percpu: Embedded 17 pages/cpu s39488 r8192 d21952 u69632
[ 0.000000] pcpu-alloc: s39488 r8192 d21952 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 227360
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=613130d2-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 886312K/917504K available (8192K kernel code, 629K rwdata, 2176K rodata, 1024K init, 821K bss, 23000K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xb8800000 - 0xff800000 (1136 MB)
lowmem : 0x80000000 - 0xb8000000 ( 896 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x(ptrval) - 0x(ptrval) (9184 kB)
.init : 0x(ptrval) - 0x(ptrval) (1024 kB)
.data : 0x(ptrval) - 0x(ptrval) ( 630 kB)
.bss : 0x(ptrval) - 0x(ptrval) ( 822 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 26404 entries in 78 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000023] Switching to timer-based delay loop, resolution 52ns
[ 0.000289] Console: colour dummy device 80x30
[ 0.000911] console [tty1] enabled
[ 0.000968] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001013] pid_max: default: 32768 minimum: 301
[ 0.001371] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001407] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002344] CPU: Testing write buffer coherency: ok
[ 0.002825] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003496] Setting up static identity map for 0x100000 - 0x10003c
[ 0.003663] rcu: Hierarchical SRCU implementation.
[ 0.004476] smp: Bringing up secondary CPUs ...
[ 0.005337] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.006262] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.007122] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.007243] smp: Brought up 1 node, 4 CPUs
[ 0.007325] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.007350] CPU: All CPU(s) started in HYP mode.
[ 0.007370] CPU: Virtualization extensions available.
[ 0.008351] devtmpfs: initialized
[ 0.021213] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.021497] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.021546] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.022152] pinctrl core: initialized pinctrl subsystem
[ 0.023043] NET: Registered protocol family 16
[ 0.025990] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.031676] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.031712] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.031934] Serial: AMBA PL011 UART driver
[ 0.034229] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.069044] bcm2835-dma 3f007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[ 0.070975] SCSI subsystem initialized
[ 0.071223] usbcore: registered new interface driver usbfs
[ 0.071300] usbcore: registered new interface driver hub
[ 0.071411] usbcore: registered new device driver usb
[ 0.090302] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-06-20 16:14, variant start_x
[ 0.100134] raspberrypi-firmware soc:firmware: Firmware hash is a59fb7a74180be0111dbc5c18a37ec6df86f14a3
[ 0.111755] clocksource: Switched to clocksource arch_sys_counter
[ 0.201207] VFS: Disk quotas dquot_6.6.0
[ 0.201319] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.201497] FS-Cache: Loaded
[ 0.201731] CacheFiles: Loaded
[ 0.211827] NET: Registered protocol family 2
[ 0.212608] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.212673] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.212804] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.213008] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.213164] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.213230] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.213570] NET: Registered protocol family 1
[ 0.214151] RPC: Registered named UNIX socket transport module.
[ 0.214178] RPC: Registered udp transport module.
[ 0.214200] RPC: Registered tcp transport module.
[ 0.214222] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.215916] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.218947] Initialise system trusted keyrings
[ 0.219160] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.228934] FS-Cache: Netfs 'nfs' registered for caching
[ 0.229536] NFS: Registering the id_resolver key type
[ 0.229581] Key type id_resolver registered
[ 0.229603] Key type id_legacy registered
[ 0.229634] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.231977] Key type asymmetric registered
[ 0.232009] Asymmetric key parser 'x509' registered
[ 0.232076] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.232257] io scheduler noop registered
[ 0.232282] io scheduler deadline registered (default)
[ 0.232486] io scheduler cfq registered
[ 0.232510] io scheduler mq-deadline registered (default)
[ 0.232534] io scheduler kyber registered
[ 0.235665] bcm2708_fb soc:fb: Unable to determine number of FB's. Assuming 1
[ 0.235706] bcm2708_fb soc:fb: FB found 1 display(s)
[ 0.236038] raspberrypi-firmware soc:firmware: Request 0x00048003 returned status 0x80000001
[ 0.236078] bcm2708_fb soc:fb: Failed to allocate GPU framebuffer (-22)
[ 0.236125] bcm2708_fb soc:fb: probe failed, err -22
[ 0.236165] bcm2708_fb: probe of soc:fb failed with error -22
[ 0.238190] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.238525] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.239059] vc-sm: Videocore shared memory driver
[ 0.239389] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 0.250218] brd: module loaded
[ 0.260235] loop: module loaded
[ 0.260849] Loading iSCSI transport class v2.0-870.
[ 0.261530] libphy: Fixed MDIO Bus: probed
[ 0.261651] usbcore: registered new interface driver lan78xx
[ 0.261727] usbcore: registered new interface driver smsc95xx
[ 0.261838] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.289698] dwc_otg 3f980000.usb: base=(ptrval)
[ 0.489900] Core Release: 2.80a
[ 0.489924] Setting default values for core params
[ 0.489969] Finished setting default values for core params
[ 0.690268] Using Buffer DMA mode
[ 0.690291] Periodic Transfer Interrupt Enhancement - disabled
[ 0.690315] Multiprocessor Interrupt Enhancement - disabled
[ 0.690339] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.690367] Dedicated Tx FIFOs mode
[ 0.690755] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = b7904000 dma = 0xf7904000 len=9024
[ 0.690809] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.690885] dwc_otg: Microframe scheduler enabled
[ 0.691011] WARN::hcd_init_fiq:457: FIQ on core 1
[ 0.691041] WARN::hcd_init_fiq:458: FIQ ASM at 80650b44 length 36
[ 0.691072] WARN::hcd_init_fiq:497: MPHI regs_base at b8810000
[ 0.691106] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.691159] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.691217] dwc_otg 3f980000.usb: irq 56, io mem 0x00000000
[ 0.691281] Init: Port Power? op_state=1
[ 0.691301] Init: Power Port (0)
[ 0.691548] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 0.691586] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.691620] usb usb1: Product: DWC OTG Controller
[ 0.691645] usb usb1: Manufacturer: Linux 4.19.50-v7+ dwc_otg_hcd
[ 0.691671] usb usb1: SerialNumber: 3f980000.usb
[ 0.692349] hub 1-0:1.0: USB hub found
[ 0.692411] hub 1-0:1.0: 1 port detected
[ 0.693029] dwc_otg: FIQ enabled
[ 0.693035] dwc_otg: NAK holdoff enabled
[ 0.693040] dwc_otg: FIQ split-transaction FSM enabled
[ 0.693050] Module dwc_common_port init
[ 0.693302] usbcore: registered new interface driver usb-storage
[ 0.693509] mousedev: PS/2 mouse device common for all mice
[ 0.694355] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 0.694583] bcm2835-cpufreq: min=600000 max=1200000
[ 0.695058] sdhci: Secure Digital Host Controller Interface driver
[ 0.695084] sdhci: Copyright(c) Pierre Ossman
[ 0.695475] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[ 0.695883] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 0.696031] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.697512] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.697717] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.697867] usbcore: registered new interface driver usbhid
[ 0.697892] usbhid: USB HID core driver
[ 0.698834] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[ 0.700280] [vc_sm_connected_init]: start
[ 0.708722] [vc_sm_connected_init]: end - returning 0
[ 0.709607] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 0.709638] [vc_sm_connected_init]: start
[ 0.709981] [vc_sm_connected_init]: installed successfully
[ 0.710353] Initializing XFRM netlink socket
[ 0.710395] NET: Registered protocol family 17
[ 0.710517] Key type dns_resolver registered
[ 0.710986] Registering SWP/SWPB emulation handler
[ 0.711638] registered taskstats version 1
[ 0.711671] Loading compiled-in X.509 certificates
[ 0.718838] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.718947] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.720814] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 0.720847] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 0.745127] sdhost: log_buf @ (ptrval) (f7907000)
[ 0.782544] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 0.784150] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.785755] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.788618] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 0.794660] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 0.795960] of_cfs_init
[ 0.796077] of_cfs_init: OK
[ 0.796639] Waiting for root device PARTUUID=613130d2-02...
[ 0.863377] random: fast init done
[ 0.886011] mmc0: host does not support reading read-only switch, assuming write-enable
[ 0.889766] mmc0: new high speed SDHC card at address aaaa
[ 0.891099] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 0.894227] mmcblk0: p1 p2
[ 0.904444] mmc1: new high speed SDIO card at address 0001
[ 0.921879] Indeed it is in host mode hprt0 = 00021501
[ 0.986933] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 0.987022] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 0.995473] devtmpfs: mounted
[ 1.001116] Freeing unused kernel memory: 1024K
[ 1.002189] Run /sbin/init as init process
[ 1.131808] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.131979] Indeed it is in host mode hprt0 = 00001101
[ 1.372142] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[ 1.372206] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.372961] hub 1-1:1.0: USB hub found
[ 1.373067] hub 1-1:1.0: 5 ports detected
[ 1.645948] systemd[1]: System time before build time, advancing clock.
[ 1.691804] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.782115] NET: Registered protocol family 10
[ 1.783408] Segment Routing with IPv6
[ 1.822091] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 1.822144] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.824864] smsc95xx v1.0.6
[ 1.828786] 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)
[ 1.829736] systemd[1]: Detected architecture arm.
[ 1.839125] systemd[1]: Set hostname to <octopi>.
[ 1.916462] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:58:7e:3e
[ 2.011905] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 2.222055] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 2.222141] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 2.268040] usb 1-1.2: New USB device found, idVendor=046d, idProduct=0990, bcdDevice= 0.08
[ 2.268095] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[ 2.268129] usb 1-1.2: SerialNumber: F025745B
[ 2.361832] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[ 2.517351] usb 1-1.4: New USB device found, idVendor=2c99, idProduct=0002, bcdDevice= 1.30
[ 2.517405] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.517439] usb 1-1.4: Product: Original Prusa i3 MK3
[ 2.517465] usb 1-1.4: Manufacturer: Prusa Research (prusa3d.com)
[ 2.517492] usb 1-1.4: SerialNumber: CZPX1019X004XK14239
[ 2.679199] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.690913] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.691613] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 2.692428] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.692786] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 2.693695] systemd[1]: Listening on udev Control Socket.
[ 2.699195] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 2.700012] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 3.393876] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.536998] systemd-journald[116]: Received request to flush runtime journal from PID 1
[ 4.101008] media: Linux media interface: v0.10
[ 4.144805] videodev: Linux video capture interface: v2.00
[ 4.199467] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.244122] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.253535] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.260801] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.271426] bcm2835_audio soc:audio: card created with 8 channels
[ 4.509454] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.512830] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
[ 4.591946] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[ 4.592986] usbcore: registered new interface driver cdc_acm
[ 4.593000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 4.597218] uvcvideo 1-1.2:1.0: Entity type for entity Extension 4 was not initialized!
[ 4.597248] uvcvideo 1-1.2:1.0: Entity type for entity Extension 10 was not initialized!
[ 4.597271] uvcvideo 1-1.2:1.0: Entity type for entity Extension 12 was not initialized!
[ 4.597296] uvcvideo 1-1.2:1.0: Entity type for entity Extension 8 was not initialized!
[ 4.597322] uvcvideo 1-1.2:1.0: Entity type for entity Extension 11 was not initialized!
[ 4.597347] uvcvideo 1-1.2:1.0: Entity type for entity Extension 9 was not initialized!
[ 4.597369] uvcvideo 1-1.2:1.0: Entity type for entity Processing 2 was not initialized!
[ 4.597852] uvcvideo 1-1.2:1.0: Entity type for entity Extension 13 was not initialized!
[ 4.597867] uvcvideo 1-1.2:1.0: Entity type for entity Camera 1 was not initialized!
[ 4.598431] input: UVC Camera (046d:0990) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
[ 4.599188] usbcore: registered new interface driver uvcvideo
[ 4.599196] USB Video Class driver (1.1.1)
[ 4.624626] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.631474] usb 1-1.2: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
[ 4.631495] usb 1-1.2: [5] FU [Mic Capture Volume] ch = 1, val = 4608/7680/1
[ 4.633173] usbcore: registered new interface driver snd-usb-audio
[ 4.725690] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 4.735184] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 4.735478] usbcore: registered new interface driver brcmfmac
[ 4.905080] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 4.905094] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 4.925317] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 4.925337] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 4.935385] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 4.935401] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 5.062371] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 5.062462] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 5.063175] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[ 6.513805] random: crng init done
[ 6.513821] random: 7 urandom warning(s) missed due to ratelimiting
[ 6.709726] uart-pl011 3f201000.serial: no DMA platform data
[ 6.762873] 8021q: 802.1Q VLAN Support v1.8
[ 7.011315] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 7.267133] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7.267576] brcmfmac: power management disabled
[ 7.734259] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 7.734543] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.053767] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 11.448774] Bluetooth: Core ver 2.22
[ 11.448837] NET: Registered protocol family 31
[ 11.448840] Bluetooth: HCI device and connection manager initialized
[ 11.448854] Bluetooth: HCI socket layer initialized
[ 11.448861] Bluetooth: L2CAP socket layer initialized
[ 11.448883] Bluetooth: SCO socket layer initialized
[ 11.464581] Bluetooth: HCI UART driver ver 2.3
[ 11.464595] Bluetooth: HCI UART protocol H4 registered
[ 11.464643] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 11.464768] Bluetooth: HCI UART protocol Broadcom registered
[ 11.717905] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 11.717917] Bluetooth: BNEP filters: protocol multicast
[ 11.717936] Bluetooth: BNEP socket layer initialized
pi@octopi:~ $
pi@octopi:~ $
On 0.15.1 this command didn't broke cam
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get clean && sudo apt-get dist-upgrade -y
webcamd.log from 0.17.0
Starting up webcamDaemon...
--- Configuration: ----------------------------
camera: auto
usb options: -r 640x480 -f 10
raspi options: -fps 10
http options: -w ./www-octopi -n
-----------------------------------------------
Found video devices:
/dev/video0
/dev/video1
/dev/video10
/dev/video11
/dev/video12
USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jul 6 05:59:34 pi: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
o: www-folder-path......: ./www-octopi/
o: HTTP TCP port........: 8080
o: HTTP Listen Address..: (null)
o: username:password....: disabled
o: commands.............: disabled
i: select() timeout
i: cleaning up resources allocated by input thread
Goodbye...
Starting up webcamDaemon...
--- Configuration: ----------------------------
camera: auto
usb options: -r 640x480 -f 10
raspi options: -fps 10
http options: -w ./www-octopi -n
-----------------------------------------------
Found video devices:
/dev/video0
/dev/video1
/dev/video10
/dev/video11
/dev/video12
USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jul 6 06:01:37 pi: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
o: www-folder-path......: ./www-octopi/
o: HTTP TCP port........: 8080
o: HTTP Listen Address..: (null)
o: username:password....: disabled
o: commands.............: disabled
i: select() timeout
i: cleaning up resources allocated by input thread
It is possible that this version sees more cams, and doesn't select proper cam
Only one real cam is connected to Pi
But in some logs before only one was detected and still wasn't working so probably not this
Well if thats the case it seems that it's not linux kernel related.
I thought the
[ 4.597218] uvcvideo 1-1.2:1.0: Entity type for entity Extension 4 was not initialized!
[ 4.597248] uvcvideo 1-1.2:1.0: Entity type for entity Extension 10 was not initialized!
[ 4.597271] uvcvideo 1-1.2:1.0: Entity type for entity Extension 12 was not initialized!
[ 4.597296] uvcvideo 1-1.2:1.0: Entity type for entity Extension 8 was not initialized!
[ 4.597322] uvcvideo 1-1.2:1.0: Entity type for entity Extension 11 was not initialized!
[ 4.597347] uvcvideo 1-1.2:1.0: Entity type for entity Extension 9 was not initialized!
[ 4.597369] uvcvideo 1-1.2:1.0: Entity type for entity Processing 2 was not initialized!
[ 4.597852] uvcvideo 1-1.2:1.0: Entity type for entity Extension 13 was not initialized!
[ 4.597867] uvcvideo 1-1.2:1.0: Entity type for entity Camera 1 was not initialized!
errors could be related.
When I googled them I found several people that had issues with the logitech cam (also on x86 systems).
But it looks like that are errors of the control options like focus.
A few said after installing the uvcdynctrl package they got it solved. But I'm not sure if it means they got controls or the cam working.
You could try it if you want.
The next thing I would try is to build a new mjpg streamer. Here's a quick tutorial (scroll down to the webcam part).
If those things don't work I'm out of ideas for now
Sry
Looking at your original log, ioctl complains of not having the right configuration. I would check on the linux side of things. AFAIK, octopi doesn’t mess with raspbian configurations.
If using an older image and updating octoprint works, then google for your webcam and the raspbian release instead of being octoprint specific about the issue.
Hope that helps.
I recently merged an update to the webcam script - can you specify which nightly exactly you are using (use the latest date in the file name zip file)? So I can figure out if its genuine buster that is broken or just the new script?
Thanks
@qqgg231 I’m happy to report that on 0.15.1 the camera works on every startup. Thanks for that!
Now only to find out, what went wrong in 0.16.0, so that it kills the functionality randomly. I tried to follow the conversation below your post, unfortunately, I’m out of my depth there in terms of my linux knowledge
Thank you for testing
Currently I have no time for this, but I will probably want to test it in future, so we can know what is causing it
That last dist-upgrade now will install Raspbian Buster. Some have indicated that this will break OctoPrint.
Good to know, at that time sudo dist-upgrade
updated only 2 packages including ffmpeg, so it was not big change
That's the sudo apt-get upgrade
part. The dist-upgrade
goes for the full Stretch-to-Buster major release upgrade.
I guess you have to change your sources lists first before a full dist-upgrade to buster works.
But I'm not sure if they have a package that does that by itself installed on raspian when you start a dist-upgrade.
a total noob to octoprint I just ran into the same problem as you did trying to get my Logitech C905 (quickcam pro notebooks 046d:0991) to work on what seems to be the latest stable release OctoPI 0.17.0
Tried all avenues to fix what looked like incompatibilities with autofocus and maybe other features of that cam. Attempted to disable those by using v4l2-ctl, uvcdynctrl or playing with mjpg-streamer parameters - no joy.
Shortly before giving up I reverted to 1.15.1 as suggested in this thread and sure enough the cam worked right away. It seems to max out at 960x720 @15 fps but picture quality is good.
I did notice that in 0.17.0 I had two video devices showing up whereas in 0.15.1 there's only one.
These cams have good lenses and it would be a shame if they couldn't be used anymore in new versions Octoprint.
Unfortunately fixing that problem is out of my league but I'd be happy to test should anyone care to investigate the issue
I too am both new to Octoprint and cannot get my Logitech C905 to work on my OctoPi (RPi3B+).
OctoPrint 1.6.1 Python 3.7.3 OctoPi 0.18.0.
I have tried for 2 days and could not figure out why it wasn't working.
The C905 works fine on a Windows PC.
I tried my main PC cam (Logitech C920 HD Pro) on the RPi3B+ Octopi and that worked fine first try.
Anyone have any ideas on how to get the C905 working?
It is a wee bit old, but it is a nice little cam w/ a nice little stand almost perfect for small bed printers, and I would love to get it working and not have to fork out $20+ just for another cheap webcam.
We probably won't have any ideas until you provide us with more details. There are 20+ other posts in this topic which either ask for or supply additional details. Do yourself a favor and do the same.
Same or similar problem as the other posts.
The camera streams either solid black or solid white.
It does appear to be streaming, but Octopi's webcam test buttons don't confirm it.
The camera works fine on a PC and Mac.
I have tried all resolutions listed by lsusb
and lower frame rates in the /boot/octopi.txt
file, both with and without the "-y" switch.
I went ahead and bought a $30 1080p camera with an integrated light and it works great.
Too bad for me that the first camera I tried and spent 2 days trying to get to work was one of the problematic ones.
Lesson learned.