Date: Wed, 25 Mar 2020 08:48:05 -0700 From: "Russell L. Carter" <rcarter@pinyon.org> To: Hans Petter Selasky <hps@selasky.org>, freebsd-multimedia@freebsd.org Subject: Re: Logitech HD Pro Webcam C920 Message-ID: <fb1afae4-1789-23ef-57f5-72000aa6cfe6@pinyon.org> In-Reply-To: <dcd9dd13-ff1c-71db-3221-77d60b47c313@selasky.org> References: <104d42cb-43f4-573c-9a0f-f1892ca40e2f@pinyon.org> <dcd9dd13-ff1c-71db-3221-77d60b47c313@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-03-25 01:02, Hans Petter Selasky wrote: > On 2020-03-24 21:10, Russell L. Carter wrote: >> Greetings, >> >> I have a shiny new Logitech C920S USB webcam which identifies as a >> [-d ugen5.9] vendor-0x046d-HD-Pro-Webcam-C920 -S E0E2DC0F >> when running webcamd as root. I can't get /dev/video0 created. >> >> I have put in the mandatory 4 hours or so on my own with google and >> the man pages as my helpers, and I think I'm close, but so far >> no joy. >> >> I can get it specifically matched with devd via >> /usr/local/etc/devd/webcamd.conf (though no actions work). >> >> So for example, if I run, as root: >> root@feyerabend> webcamd -d ugen5.9 -N >> vendor-0x046d-HD-Pro-Webcam-C920 -S E0E2DC0F -M 0 >> webcamd: Cannot find USB device >> >> Alternatively: >> >> root@feyerabend> /usr/local/etc/rc.d/webcamd start ugen5.9 >> Attached to ugen5.9[0] >> root@feyerabend> >> >> But no /dev/video0 creation, no running webcamd, nothing in >> /var/log/messages etc. >> >> When I plug in the cam, I get the following in /var/log/messages: >> Mar 24 13:07:56 feyerabend kernel: ugen5.9: <vendor 0x046d HD Pro >> Webcam C920> at usbus5 (disconnected) >> Mar 24 13:08:23 feyerabend kernel: usb_alloc_device: Failure selecting >> configuration index 0:USB_ERR_TIMEOUT, port 4, addr 8 (ignored) >> Mar 24 13:08:23 feyerabend kernel: ugen5.9: <vendor 0x046d HD Pro >> Webcam C920> at usbus5 >> >> Not sure if that long timeout is significant. >> >> Any help is much appreciated. >> > > Try: > > usbconfig -d 5.9 set_config 0 Did this, and I tried a variety of combinations, eg: $ webcamd -d 5.11 -N vendor-0x046d-HD-Pro-Webcam-C920 -S E0E2DC0F -M 0 webcamd: Cannot find USB device (It's at 5.11 now) > > The error message above means your webcam is not working properly. Can > you also show the output from usbconfig. root@feyerabend> usbconfig ugen5.11 dump_all_desc ugen5.11: <vendor 0x046d HD Pro Webcam C920> at usbus5, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ef <Miscellaneous device> bDeviceSubClass = 0x0002 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x046d idProduct = 0x0892 bcdDevice = 0x0019 iManufacturer = 0x0000 <no string> iProduct = 0x0002 <HD Pro Webcam C920> iSerialNumber = 0x0001 <E0E2DC0F> bNumConfigurations = 0x0001 root@feyerabend> Thanks, Russell > --HPS >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb1afae4-1789-23ef-57f5-72000aa6cfe6>