TPLink Motion Camera

Webcam Stream Not showing

I been using Octoprint ((raspberry Pi 4.0)) for a while now, and been using a simple webcam. ((Model: W8A 8MP)). Image is okay for just using a cam that was laying around. I wanted to upgrade so I got the TPLink KC411S. I can get the image to show on the phone (Ios) I log into Octoprint and click on control. It says I need to click on settings / webcam / so on so forth. I click on the Stream link, and i get the Webcam Server is down. So off to Putty into it. Please help if you can :slight_smile: this is my first post so don't be to mean at my stupidity. hehe

What did you already try to solve it?

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0c45:6366 Microdia
Bus 001 Device 003: 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

Microdia is the old webcam.
QinHeng Looks to be the Ender-3
The rest unsure. ((only the 2 webcams are plugged in USB. And I removed the old webcam, and saw that Microdia was not there))

The TPLink KC114s is not listed.

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0c45:6366 Microdia
Bus 001 Device 003: 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

Microdia is the old webcam.
QinHeng Looks to be the Ender-3
The rest unsure. ((only the 2 webcams are plugged in USB. And I removed the old webcam, and saw that Microdia was not there))

The TPLink KC114s is not listed.


So nano /boot/octopi.txt

took the # off the camera="usb"
took the # off the camera_usb_options="-r 640x480 -f 10 -y" (added the -y)

rebooted, and did lsusb and nothing changed.


So nano /var/log/webcam.log

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)

I see the word Error, and know that's bad.. but no clue what that means. It's been a minuet or 3 since I've used Linux, and still wasn't that good at it.

Have you tried running in safe mode?

Nothing changed in Safemode

Did running in safe mode solve the problem?

Nope all the same

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

You can close this topic. I returned the webcam, and got one that isn't web-based. C920s and it works right away :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.