From owner-freebsd-multimedia@freebsd.org Mon Aug 29 14:43:20 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 E1D50BC707A for ; Mon, 29 Aug 2016 14:43:20 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 735C8EF9 for ; Mon, 29 Aug 2016 14:43:20 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id f65so81646177wmi.0 for ; Mon, 29 Aug 2016 07:43:20 -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=f5bASE3get60JHRyq58m3ME4fRaetEyHubUlG+ImYgU=; b=B9ByfnpXrQuWWPi66/KcYs046lkWMIRyOVBzuiVLHWggNN4/7/cxuXsNyIxq/AA+ME gxyC3lkDlsRme/E+MnrbkR4gv4La7wq47zNf8GJumng1y450vyfPsP4btK1d+vt6oqSn VHmmBTZmO458ZaikayubHXzC3uhU4usTU/z+mZU1W/apDJ8vE7T5uz1QVwb2vdILSF4t BkxERLOyn4BnfbwkQqo0IK7abl0oYnAKFd/Hlk/7+miOt6EjF/aN4VrxQvHC4C9Ggv2+ SAQuqtMvq+58PCRhPqJRmwlHGoX4cM82rHBnpcNDq8SDDkUUahnEvabKXcniRwDCA4yc d55Q== 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=f5bASE3get60JHRyq58m3ME4fRaetEyHubUlG+ImYgU=; b=VZCkK9fm/6GX8wtv2F4cI7D0W//C9nAIpDgA6PFCHlTmgMbYo0Na9HrHRc+f8Qp2VD ucYg2Q6EWPwvfZ68UeEtIiR977ZDEbpJj9yN7kNeldGIyLBF0I4qlNuWRBybnXs/fK9c ZuYF3ejtSplB6I2c2PUIyHWxpMWRIC02G+NzUvlB2v4yn+BZNUdrJiGiF5Nkj+tC7+aN Sw+48so7yTqFbYJxhUPHZvEiJunKmNaWLh6gJwkkNUsUgy7xGTfFMnMDFuk//+PigVjV VFd+ecC2T5NSXy1tC0Sx2svIZ2Vnv5K6QMDyXCTR8mFkDLj2U/Ncq/tSSMqoORLORS10 Sp4Q== X-Gm-Message-State: AE9vXwOgY2hp26C08FokKGQp5uRtT3TiUaMVTX57Zr0AyoiY+cYyAJcM+fjHJycMjhkhiupTsSXrzQYBJOFwdw== X-Received: by 10.28.40.212 with SMTP id o203mr10452202wmo.72.1472481798185; Mon, 29 Aug 2016 07:43:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.208.65 with HTTP; Mon, 29 Aug 2016 07:42:37 -0700 (PDT) In-Reply-To: References: <050b048b-b73d-0823-885a-e8ab88f070e8@selasky.org> From: Miguel C Date: Mon, 29 Aug 2016 15:42:37 +0100 Message-ID: Subject: Re: [CFT] New version of webcamd, now v4.8.0.2 To: Hans Petter Selasky Cc: Oleg Nauman , "freebsd-multimedia@freebsd.org" 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 14:43:21 -0000 > > >>> 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}