Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2020 10:29:08 -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:  <a7552b7f-e01f-87b9-1a0b-82ed14f43423@pinyon.org>
In-Reply-To: <4b25e28c-d9c8-2806-d905-926853bf3395@selasky.org>
References:  <104d42cb-43f4-573c-9a0f-f1892ca40e2f@pinyon.org> <dcd9dd13-ff1c-71db-3221-77d60b47c313@selasky.org> <fb1afae4-1789-23ef-57f5-72000aa6cfe6@pinyon.org> <4b25e28c-d9c8-2806-d905-926853bf3395@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-03-25 08:59, Hans Petter Selasky wrote:
> On 2020-03-25 16:48, Russell L. Carter wrote:
>> On 2020-03-25 01:02, Hans Petter Selasky wrote:
>>> On 2020-03-24 21:10, Russell L. Carter wrote:

[...]

>>>
>>> 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)
>>
> 
> As long as it says cfg=255, the device won't work. It should say cfg=0.
> 
> Try to search for:
> 
>    idVendor = 0x046d
>    idProduct = 0x0892
> 
> On the internet. I think I recall that this specific device had some 
> known problems. You can also try another USB port and/or USB HUB.
> 
> Seem to be the same like:
> 
> https://forums.freebsd.org/threads/webcam-not-working.72746/
> 
> Looking at Linux, these devices are all quirked:
> 
> https://lore.kernel.org/patchwork/patch/864784/

These have truly excellent interfaces, thanks for the pointer.

> We don't have this quirk type yet in the kernel.
> 
> Try to play with these sysctls:
> 
> hw.usb.timings.extra_power_up_time: 20
> hw.usb.timings.resume_recovery: 50
> hw.usb.timings.resume_wait: 50
> hw.usb.timings.resume_delay: 250
> hw.usb.timings.set_address_settle: 10
> hw.usb.timings.port_resume_delay: 40
> hw.usb.timings.port_powerup_delay: 300
> hw.usb.timings.port_reset_recovery: 250
> hw.usb.timings.port_root_reset_delay: 200
> hw.usb.timings.port_reset_delay: 50
> 
> sysctl hw.usb.timings.set_address_settle=1000
> 
> Then re-plug the device.

I iterated through, setting each sysctl to 1000, plugging
in, and then setting it back to its default, and none
had any effect.  Maybe that saves time when the quirk
shows up in the future.

I'll have to zoom with windows for now, god I hate it.

Thanks,
Russell


> --HPS
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a7552b7f-e01f-87b9-1a0b-82ed14f43423>