Date: Mon, 29 Aug 2016 15:42:37 +0100 From: Miguel C <miguelmclara@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: Oleg Nauman <oleg.nauman@gmail.com>, "freebsd-multimedia@freebsd.org" <freebsd-multimedia@freebsd.org> Subject: Re: [CFT] New version of webcamd, now v4.8.0.2 Message-ID: <CADGo8CXJXOrk1apYG4oOqcqA5w8gjUHOuo4=8w%2BVFTp_G%2BFpCg@mail.gmail.com> In-Reply-To: <CADGo8CXr7eEgyPGQtG1m0oFr6mY2TXgeoX9iFCnTCZ33yxB5Yg@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>
next in thread | previous in thread | raw e-mail | index | archive | help
> > >>> 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CXJXOrk1apYG4oOqcqA5w8gjUHOuo4=8w%2BVFTp_G%2BFpCg>