Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2020 09:02:35 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        "Russell L. Carter" <rcarter@pinyon.org>, freebsd-multimedia@freebsd.org
Subject:   Re: Logitech HD Pro Webcam C920
Message-ID:  <dcd9dd13-ff1c-71db-3221-77d60b47c313@selasky.org>
In-Reply-To: <104d42cb-43f4-573c-9a0f-f1892ca40e2f@pinyon.org>
References:  <104d42cb-43f4-573c-9a0f-f1892ca40e2f@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

The error message above means your webcam is not working properly. Can 
you also show the output from usbconfig.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dcd9dd13-ff1c-71db-3221-77d60b47c313>