C270 on Debian Stretch

Heya!

I'm trying to setup Debian Stretch in a VM (not RP) running Octoprint with a Logitech C270 as a webcam, but I cant for the life of me get the webcam working.

lsusb sees the cam just fine:
Bus 001 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270

It pops as /deb/video0 when plugged in.

I´ve been largely following https://discourse.octoprint.org/t/setting-up-octoprint-on-a-raspberry-pi-running-raspbian/2337 when I get to the part where I manually start mjpeg_streamer "./mjpg_streamer -i "./input_uvc.so" -o "./output_http.so"" I get:

i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: -1
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......: disabled
o: HTTP TCP port........: 8080
o: HTTP Listen Address..: (null)
o: username:password....: disabled
o: commands.............: enabled

And the camera led lights up

But if I go to view it using the web browser, all I get a blank page that loads for ever and in the end gives up.

One of my desperate attempts was trying to follow https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=109352&p=751735#p751735 with similar results but a lesses errors when starting the streamer:

MJPG Streamer Version: svn rev: 3:172M
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 1024 x 576
i: Frames Per Second.: 10
i: Format............: MJPEG
o: www-folder-path...: /usr/local/www/
o: HTTP TCP port.....: 8080
o: username:password.: disabled
o: commands..........: enabled

In this case I am able to access the mjpeg-streamer page at /videolan.html so the weberver starts but It´s not wanting to talk to the camera.

Any tips and hints are most welcome!

You might want to read through this entire thread and consider doing what they've suggested.

What I did on my N54L was this:
./mjpg_streamer -o "output_http.so -w ./www" -i "input_uvc.so -r 1280x960 -f 10"

The extra I did what specify a framerate and size, as well as a directory for the output.

Verify that the user starting the app can write the output directory. I recommend to move data away from program files.

The UVCIO_CTRL_MAP errors are just warning, saying that specific camera does not support that feature.

I am using the exprimental mjpeg_streamer from here:

Did not have luck with another version I tested

No luck unfortunately, I´ve tried different resolution/fps combinations that I know should work. I've also tried the different solutions discussed in GitHub without success. I`ll try a different camera I guess.