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

Hans Petter Selasky hps at selasky.org
Mon Aug 29 17:20:25 UTC 2016


On 08/29/16 18:16, Miguel C wrote:
> On Mon, Aug 29, 2016 at 4:24 PM, Hans Petter Selasky <hps at selasky.org>
> wrote:
>
>> On 08/29/16 17:21, Hans Petter Selasky wrote:
>>
>>> 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
>>>>>>
>>>>>>
>> Hi,
>>
>> Can you also add a breakpoint for "return -EPIPE":
>>
>> break kernel/linux_usb.c:617
>>
>> Adding this break doesn't seem to make it break at that point, unless I'm
> doing something wrong... I even used just next and still dind't "stop" at
> that breakpoint
>
> And also "print *uhe"
>
> I did above but here goes again:
>  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 = 0x0, tqh_last = 0x8020764b0}, bsd_xfer =
> 0x8020764c0,
>   extra = 0x80206cfe6 "\005%\003\020", extralen = 5, bsd_iface_index = 0
> '\0', align = 0x8020764e0}
>

Hi,

bEndpointAddress = 135, is the interrupt endpoint. It is not the failing 
one.

Can you try to put the break on "return -EPIPE" one line back?

Also, you probably need to run "pwcview" to trigger the open of those 
failing endpoints.

When you catch it send me the dump of *uhe.

BTW: Do you have IRC? Maybe it would be faster to meet there and debug :-)

--HPS



More information about the freebsd-multimedia mailing list