From owner-freebsd-multimedia@freebsd.org Mon Aug 29 17:58:34 2016 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D29A9BC79FB for ; Mon, 29 Aug 2016 17:58:34 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 60C3E9B0 for ; Mon, 29 Aug 2016 17:58:34 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id i5so10531088wmg.2 for ; Mon, 29 Aug 2016 10:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wssGKGgnO4d8ZcWYIqPnUEsufNlFYRoU87ZVgvrXFNw=; b=KFGANv/UPzKwS6I6B0sagwmnldVZ1hC2khpzn9qe2r36VCARduakmtwERGYxjaGVFe 41WZSuKsalnEveKVOfs+WnwR/VcuDt7qnTyvThWnEV/64v6BN6/tOkm44aWyGNNw/uvH whZU66+b4XXynKeMJHgiL4V4H1k8xxbA1D/RK34XBYWnU4w8+7lAe6W8Je+eByWQTakr VxHrq0l5U7mlqwIQNpXvm7ATMipNDxOC6gJmMQzhPR+ZQb1FAc4+qeTzrBj5XElx0iO2 BITQojd554zqMM3f2071XClUYaVAIGn+vIpW+RXNlrjMnLm+T37XHwJIF5IbtgDHgYYG yA3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wssGKGgnO4d8ZcWYIqPnUEsufNlFYRoU87ZVgvrXFNw=; b=Ig2dIa8hkzeNgl9WwmoiRRkQviiyWqfJs7RhplQKj3fwIzuZn/Y8e8mqcvciQ+cHHl 3fGEUFwktPNMKW13zcwNwfEYcKY74Fb2lDDlL0W8A58kHM/MLlwiTMqyBcmRNvG0llAQ SDDmwUg0RnjJOH3otYUZ1F07iKJlqqKVCgJLZYKRckBWbhWmHZ8+DCL4d1LpsAWWyhuF Or5sPtqds5ycl55yWCZ4HXuCAyLHpaVKIIWasn1sMR7NhCE3/4fIvMGX8JVkPPlJlOnP zpbMxqd5+eU7IPdGw1SfbAaeyWY17HIBLXBjAsHG2xHN88mbnsVBA/fOKeFBq7dDXTYG igfQ== X-Gm-Message-State: AE9vXwOXvCGQ/acUaBCK1a7rkraarsvuaZ5JNN9ZxfQZDV6Oo+aeFShLYZcglSCzztfbakMqh+HNvXqaEZ+Lxw== X-Received: by 10.28.145.137 with SMTP id t131mr12305020wmd.110.1472493512531; Mon, 29 Aug 2016 10:58:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.208.65 with HTTP; Mon, 29 Aug 2016 10:57:51 -0700 (PDT) In-Reply-To: References: <050b048b-b73d-0823-885a-e8ab88f070e8@selasky.org> <1a91839a-9026-16bd-7430-2f40cf742a81@selasky.org> From: Miguel C Date: Mon, 29 Aug 2016 18:57:51 +0100 Message-ID: Subject: Re: [CFT] New version of webcamd, now v4.8.0.2 To: Hans Petter Selasky Cc: "freebsd-multimedia@freebsd.org" , Oleg Nauman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2016 17:58:34 -0000 On Mon, Aug 29, 2016 at 6:24 PM, Hans Petter Selasky wrote: > On 08/29/16 18:16, Miguel C wrote: > >> On Mon, Aug 29, 2016 at 4:24 PM, Hans Petter Selasky >> 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. > I am running it, but yeah I think I'm doing the break in the wrong place or something like that... > > 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 :-) Don't use it for a long time, I probably don't have a registered nick... or at least I don't recall the freenode one :P Well it seems irssi is still installed and configured to join freenode... nickname ==> Mik3C > > --HPS > >