Logitech HD Pro Webcam C920

Russell L. Carter rcarter at pinyon.org
Wed Mar 25 15:57:22 UTC 2020


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 at feyerabend> webcamd -d ugen5.9 -N 
>> vendor-0x046d-HD-Pro-Webcam-C920 -S E0E2DC0F -M 0
>> webcamd: Cannot find USB device
>>
>> Alternatively:
>>
>> root at feyerabend> /usr/local/etc/rc.d/webcamd start ugen5.9
>> Attached to ugen5.9[0]
>> root at 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 at 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 at feyerabend>

Thanks,
Russell

> --HPS
> 



More information about the freebsd-multimedia mailing list