[CFT] New version of webcamd, now v4.8.0.2

Hans Petter Selasky hps at selasky.org
Mon Aug 29 15:16:57 UTC 2016


On 08/29/16 16:42, Miguel C wrote:
>>
>>
>>>> 631 urb->status = -EINPROGRESS;
>>>>
>>>
>>> This submit looks successful. Just enter "continue" after you see
>>> "-EINPROGRESS". I need to figure out the failing case.
>>>
>>> Also do:
>>>
>>> print *uhe
>>>
>>> once while you are in this function.
>>>
>>> It might also be you can enter a breakpoint on the line number for
>>> "return -EPIPE" in urb_submit() via GDB and catch that.
>>
>>
>> How would I do that? something like "break linux_usb.c:613"
>>
>> btw I always kill webcamd, but even if not it seems smart enough to detect
>> if other instances are running :)
>> ie: "Webcamd is already running for ugen0.4.0"
>>
>
> Assuming I did this the correct way :P
>
> 631                             urb->status = -EINPROGRESS;
> (gdb) print *uhe
> $2 = {desc = {bLength = 7 '\a', bDescriptorType = 5 '\005',
> bEndpointAddress = 135 '\207', bmAttributes = 3 '\003',
>     wMaxPacketSize = 16, bInterval = 8 '\b', bRefresh = 0 '\0',
> bSynchAddress = 0 '\0'}, ss_ep_comp = {
>     bLength = 0 '\0', bDescriptorType = 0 '\0', bMaxBurst = 0 '\0',
> bmAttributes = 0 '\0', wBytesPerInterval = 0},
>   bsd_urb_list = {tqh_first = 0x802092070, tqh_last = 0x802092070},
> bsd_xfer = 0x8020764c0,
>   extra = 0x80206cfe6 "\005%\003\020", extralen = 5, bsd_iface_index = 0
> '\0', align = 0x8020764e0}
>

Can you type "continue" and see if you get more hits? wMaxPacketSize 
should be greater than 16. This seems like some kind of status endpoint.

--HPS


More information about the freebsd-multimedia mailing list