From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 23 12:13:58 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 216071065670 for ; Sat, 23 Apr 2011 12:13:58 +0000 (UTC) (envelope-from me@janh.de) Received: from mxchg03.rrz.uni-hamburg.de (mxchg03.rrz.uni-hamburg.de [134.100.38.113]) by mx1.freebsd.org (Postfix) with ESMTP id 9E64C8FC12 for ; Sat, 23 Apr 2011 12:13:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTP id AE3101EE254; Sat, 23 Apr 2011 14:13:55 +0200 (CEST) X-Virus-Scanned: by University of Hamburg ( RRZ / mgw02.rrz.uni-hamburg.de ) Received: from mxchg03.rrz.uni-hamburg.de ([127.0.0.1]) by localhost (mxchg03.rrz.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10324) with ESMTP id RkblpOy7ayBy; Sat, 23 Apr 2011 14:13:55 +0200 (CEST) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTPS; Sat, 23 Apr 2011 14:13:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 9AE9F9002A; Sat, 23 Apr 2011 14:13:55 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0BYkFh2-SSUt; Sat, 23 Apr 2011 14:13:55 +0200 (CEST) Received: from nb981.math (g224000221.adsl.alicedsl.de [92.224.0.221]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 453EC90028; Sat, 23 Apr 2011 14:13:54 +0200 (CEST) Message-ID: <4DB2C281.2080305@janh.de> Date: Sat, 23 Apr 2011 14:13:53 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110316 Thunderbird/3.1.9 MIME-Version: 1.0 To: Hans Petter Selasky References: <4DAB4E21.3070906@janh.de> <201104181009.47394.hselasky@c2i.net> <4DAF508C.1070701@janh.de> <201104211404.41456.hselasky@c2i.net> In-Reply-To: <201104211404.41456.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:13:58 -0000 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