From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 23 12:28:35 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBF95106566B for ; Sat, 23 Apr 2011 12:28:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 4A08A8FC08 for ; Sat, 23 Apr 2011 12:28:33 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=upTJuTb3ngPPUUVVSPoyO7jwIWz3rzPtkQxI490l6Ks= c=1 sm=1 a=IU0TiZmyZPMA:10 a=0X4cWOZZwNwA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=seQSrS3_AAAA:8 a=OdR5sfXFAAAA:8 a=ndaoGXS1AAAA:8 a=3YpMTTxepPVEK4Kca0cA:9 a=Pv9RK8OkgE7WSs63mosA:7 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 116684188; Sat, 23 Apr 2011 14:28:30 +0200 From: Hans Petter Selasky To: Jan Henrik Sylvester Date: Sat, 23 Apr 2011 14:27:31 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <4DAB4E21.3070906@janh.de> <201104211404.41456.hselasky@c2i.net> <4DB2C281.2080305@janh.de> In-Reply-To: <4DB2C281.2080305@janh.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104231427.31513.hselasky@c2i.net> Cc: multimedia-list freebsd Subject: Re: webcamd regression 0.1.20->0.1.23: recv bulk message failed: -32 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2011 12:28:35 -0000 On Saturday 23 April 2011 14:13:53 Jan Henrik Sylvester wrote: > On 04/21/2011 14:04, Hans Petter Selasky wrote: > > On Wednesday 20 April 2011 23:30:52 Jan Henrik Sylvester wrote: > >> On 04/18/2011 10:09, Hans Petter Selasky wrote: > >>> On Sunday 17 April 2011 22:31:29 Jan Henrik Sylvester wrote: > >>>> With webcamd-0.1.20_1, I could tune into a channel and watch TV almost > >>>> every time using my 'WideView WT-220U PenType Receiver > >>>> (Typhoon/Freecom)'. With webcamd-0.1.23, Kaffeine almost always hangs > >>>> and Typhony ( http://raaf.atspace.org/dvbusb/ ) hangs switching > >>>> channels. > >>>> > >>>> I did debug builds from both versions. The output is identical until > >>>> all the devices are created, but after that, 0.1.23 prints about once > >>>> a second: 'dvb-usb: recv bulk message failed: -32' > >>>> > >>>> The complete debug output is below in case it is interesting. The > >>>> device has already had the firmware loaded (as it does not make a > >>>> difference with which version of webcamd that is done). > >>>> > >>>> This is all on 8.2-RELEASE/amd64 with all other ports up to date > >>>> (including cuse4bsd-kmod-0.1.14). > >>>> > >>>> Anything else, I should test? > >>>> > >>>> Thanks, > >>>> Jan Henrik > >>> > >>> There was a kernel bugfix which might fix this issue. Could you cvs or > >>> svn up to 8-stable? > > > > Then you should checkout webcamd using svn, and build the version until > > you find the delta that was causing the breakage. Or do a diff between > > the two tarballs. > > I tried to use svn-bisect but failed, since I did not know how to use it > encountering compile error for a revision. Thus, I did it manually, but > could not reproduce the error. > > While webcamd from svn always works with kaffeine, webcamd from ports > still fails. I did this in a clean directory: > > setenv HAVE_HAL YES > tar xvjf /usr/ports/distfiles/webcamd-0.1.24.tar.bz2 > cd webcamd-0.1.24/patches/ > ./do_patch.sh > cd .. > make > ./webcamd -d 0.7 -H > #kaffeine hangs tuning > cd .. > svn --username anonsvn --password anonsvn checkout -r 1786 > svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux > cd ulinux && make fetch && cd patches/ && ./do_patch.sh && cd .. && make > -j3 all > ./webcamd -d 0.7 -H > #kaffeine works fine > cd .. > rm -fR ulinux/ > svn --username anonsvn --password anonsvn checkout > svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux > #Checked out revision 1797 > cd ulinux && make fetch && cd patches/ && ./do_patch.sh && cd .. && make > -j3 all > ./webcamd -d 0.7 -H > #kaffeine works fine > > What is the difference between webcamd-0.1.24.tar.bz2 and r1786 from svn? > > Or is http://www.selasky.org/hans_petter/video4bsd/index.html outdated > and webcamd from svn should be build differently? > > Thanks, > Jan Henrik Just type: make package Then compare the resulting tarballs. --HPS