From owner-freebsd-x11@freebsd.org Sun Aug 28 11:48:40 2016 Return-Path: Delivered-To: freebsd-x11@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 014F6B78B91; Sun, 28 Aug 2016 11:48:40 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF20C7C5; Sun, 28 Aug 2016 11:48:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 451AB1FE022; Sun, 28 Aug 2016 13:48:37 +0200 (CEST) Subject: Re: [CFT] New version of webcamd, now v4.8.0.2 To: Miguel C , Oleg Nauman References: Cc: "freebsd-multimedia@freebsd.org" , "freebsd-x11@FreeBSD.org" , FreeBSD Current From: Hans Petter Selasky Message-ID: <050b048b-b73d-0823-885a-e8ab88f070e8@selasky.org> Date: Sun, 28 Aug 2016 13:53:11 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2016 11:48:40 -0000 On 08/28/16 01:59, Miguel C wrote: > Actually for me it was failing before, so I gave this a go, yet testing > with pwcview, cheese even mplayer all fail. > > I just compiled the updated version (v4.8.0.4) with DEBUG=on > > I'm starting webcamd manually: > udo webcamd -d ugen0.4 -i 0 -v 0 -m pwc-if.power_save=-1 > : USB HID core driver > Linux video capture interface: v2.00 > 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.4[0] > uvcvideo: Found UVC 1.00 device 1.3M HD WebCam (064e:c321) > Creating /dev/video0 > > > This is what I get from pwcview: > pwcview > Failed to get current picture info: Invalid argument > > and if I try with cheese I get a black screen and see this in after > "Creating /dev/video": > uvcvideo: Failed to submit URB 0 (-32). > Hi, Error 32 likely means that the endpoint the uvcvideo driver is trying to attach to doesn't exist. It might be a bug in the USB configuration descriptor. Could you dump the USB descriptors for this device? usbconfig -d ugenX.Y dump_curr_config_desc dump_device_desc --HPS