From owner-freebsd-current@freebsd.org Thu Feb 25 17:31:42 2016 Return-Path: Delivered-To: freebsd-current@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 34F04AB398C for ; Thu, 25 Feb 2016 17:31:42 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 9C48B1C6E for ; Thu, 25 Feb 2016 17:31:41 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id l143so37809061lfe.2 for ; Thu, 25 Feb 2016 09:31:41 -0800 (PST) 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 :content-type; bh=EPSFLoTsGQMEVO5bC6s0cvIUSHXunuktElaOUqmTt9o=; b=k3dppAPY3vZNrrUwW0HMqL/Onb8nOItVXf0djuUI1noCzlKVzueCcqFKZiDpV7520H QXrRstVLMzf7lhM1Jon8dFRXtOpe/pfgBmjr9mMuP7JJ4/WMZVxXLbVDwfxmMMUFiNNp YNbDnsJKbsvN697KjEgq66qsECZAXiMgTVuhdMufYv0VqPLxBxFq21sxUQN2ln0Xf6Pi xLFqaRZyXu6hxmC/KFMFXkoeOUhRoK9XvZkUODR30AJ5lsFuAOZ4Y4lMA7wegYM9wSQg WkWyB5nQg5n4cImS63FAr//uXV+EDJTQW6Nr+691mLMViJofzuT4c2LCsXiNrcit5tDj WSuw== 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:content-type; bh=EPSFLoTsGQMEVO5bC6s0cvIUSHXunuktElaOUqmTt9o=; b=I+RqKGtYCq6/Qt8K9KeQUur1vGG+/4FU96pK5VmGi6d1c6hzhiRv4sSl5x9XCjQToJ qMfLdZ0kJyLcJYMmU8Hwu10ux5+Jj2/cRw4PWjZamgiy+0TD/xdzyuqF9tu1CJWFUT9l yJ/fBdCA4XVs2fjfD/H8x3MV7RdhyptAkuk6jHGKbVsXboHHA2TzMMuMVhN5Sza2INBz 1K/x2JXtBRB+7cwTzlPUu4GGsGGZ+akna7FQdIIr/Dp/fCDoOiYMhZPHkfAr4GeZY60d Et7ymKv+RDfwnqeRnQ8/Ka+Aa1KYNWyViN8rCTrNzGGr+v8xjuaiiRtoqtXSFvlKeXao LUhA== X-Gm-Message-State: AG10YOSDH440wT1d6QKz5e5YbYyu///PvjmePcvUGLDE7lb5oZSwpWS+8OKka8pft69ITzS0/y0krsC9MO5XJA== X-Received: by 10.25.163.76 with SMTP id m73mr13727163lfe.39.1456421499078; Thu, 25 Feb 2016 09:31:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.19.94 with HTTP; Thu, 25 Feb 2016 09:30:59 -0800 (PST) In-Reply-To: <56CF3812.9010404@selasky.org> References: <56CD5B97.6000102@selasky.org> <56CDF137.9090606@selasky.org> <56CEB264.9020605@selasky.org> <56CEE230.3000402@selasky.org> <56CF3812.9010404@selasky.org> From: Miguel C Date: Thu, 25 Feb 2016 17:30:59 +0000 Message-ID: Subject: Re: pwcview and cheese - Device not configured / Invalid argument erros To: Hans Petter Selasky , freebsd-current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 17:31:42 -0000 On Thu, Feb 25, 2016 at 5:21 PM, Hans Petter Selasky wrote: > On 02/25/16 18:13, Miguel C wrote: > >> so should I step until that then run cheese, and then step again? >> > > You should get a breakpoint event when you start pwcview. Then single step. > (gdb) breakpoint usb_submit_urb Undefined command: "breakpoint". Try "help". (gdb) break usb_submit_urb Breakpoint 1 at 0x412c23: file kernel/linux_usb.c, line 601. (gdb) run -N 1-3M-HD-WebCam-SuYin Starting program: /usr/local/sbin/webcamd -N 1-3M-HD-WebCam-SuYin [New LWP 101819] [New Thread 802215000 (LWP 101819/webcamd)] : USB HID core driver Linux video capture interface: v2.00 lirc_dev: IR Remote Control driver registered, major 14 IR NEC protocol handler initialized IR RC5(x/sz) protocol handler initialized IR RC6 protocol handler initialized IR JVC protocol handler initialized IR Sony protocol handler initialized IR SANYO protocol handler initialized IR LIRC bridge handler initialized IR XMP protocol handler initialized b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully uvcvideo: Unable to create debugfs directory USB Video Class driver (1.1.1) cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner pvrusb2: Debug mask is 31 (0x1f) USBVision USB Video Device Driver for Linux : 0.9.11 em28xx: Registered (Em28xx v4l2 Extension) extension em28xx: Registered (Em28xx dvb Extension) extension Attached to ugen0.5[0] uvcvideo: Found UVC 1.00 device 1.3M HD WebCam (064e:c321) [New Thread 802216c00 (LWP 101439/webcamd)] [Switching to Thread 802215000 (LWP 101819/webcamd)] Breakpoint 1, usb_submit_urb (urb=0x80228b070, mem_flags=0) at kernel/linux_usb.c:601 601 if (urb == NULL) Current language: auto; currently minimal (gdb) With this I can not start pwcview or cheese because /dev/video doesn't exist yet Gonna try the sysctl for log capture > > --HPS >