Date: Mon, 29 Aug 2016 19:24:59 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Miguel C <miguelmclara@gmail.com> Cc: "freebsd-multimedia@freebsd.org" <freebsd-multimedia@freebsd.org>, Oleg Nauman <oleg.nauman@gmail.com> Subject: Re: [CFT] New version of webcamd, now v4.8.0.2 Message-ID: <c092c7ac-9cef-33b9-0e76-7206c218d115@selasky.org> In-Reply-To: <CADGo8CXCiO_1%2B5tSwpZbEEihTagLiyueGskQXjRJ9VhzT8bcGA@mail.gmail.com> References: <d2b588e6-33b3-9523-1551-a1d9deabdf8c@selasky.org> <CAC5YPTuYnx=_riiW6uiVGzKbcK-kLsb81bX1u4JUc8CCz%2BAoXg@mail.gmail.com> <CADGo8CUKUA3GR_Y5yjx9x5z6jd-3HZTBXjV9xyKF%2BAmPrrs0Hw@mail.gmail.com> <050b048b-b73d-0823-885a-e8ab88f070e8@selasky.org> <CADGo8CX_kw_Cofhe4nh%2B-a4kq-h_CHvvHboJPWTPgcFxkmN0ew@mail.gmail.com> <cc2351e2-c171-4b35-0284-5ef21bbeee85@selasky.org> <CADGo8CUx9yMNPZ0mCk-GzdpvsWESgiy_mKaXQBC=K93xtd_qNQ@mail.gmail.com> <a6767e23-a8fa-e6f3-6575-049b308f7916@selasky.org> <CADGo8CXr7eEgyPGQtG1m0oFr6mY2TXgeoX9iFCnTCZ33yxB5Yg@mail.gmail.com> <CADGo8CXJXOrk1apYG4oOqcqA5w8gjUHOuo4=8w%2BVFTp_G%2BFpCg@mail.gmail.com> <1a91839a-9026-16bd-7430-2f40cf742a81@selasky.org> <d671ed55-ffe5-e353-d521-16fa71a68d93@selasky.org> <CADGo8CXCiO_1%2B5tSwpZbEEihTagLiyueGskQXjRJ9VhzT8bcGA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/29/16 18:16, Miguel C wrote: > On Mon, Aug 29, 2016 at 4:24 PM, Hans Petter Selasky <hps@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c092c7ac-9cef-33b9-0e76-7206c218d115>