From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 26 16:32:22 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 EFA5B1065694 for ; Wed, 26 Jan 2011 16:32:22 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 794EE8FC19 for ; Wed, 26 Jan 2011 16:32:21 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=wd7fLirDSts22yawIUsTeMUS9lsm8Llc0grT6RvpTjU= c=1 sm=1 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=Ajq-WlRAfH2a3NaP-rgA:9 a=gjxssW6q89ts7LELkooA:7 a=tY_MZLHI6L1oX610idpWoTBA2A4A:4 a=PUjeQqilurYA:10 a=9aOQ2cSd83gA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 78816257; Wed, 26 Jan 2011 17:32:20 +0100 From: Hans Petter Selasky To: Andrew Gallatin Date: Wed, 26 Jan 2011 17:32:24 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201101260901.19745.hselasky@c2i.net> In-Reply-To: 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-15" Content-Transfer-Encoding: 7bit Message-Id: <201101261732.24928.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd: PCTV 801eSE 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: Wed, 26 Jan 2011 16:32:23 -0000 On Wednesday 26 January 2011 17:14:21 Andrew Gallatin wrote: > On Wed, Jan 26, 2011 at 3:01 AM, Hans Petter Selasky wrote: > > Try to check the USB buffer size: > > Hi, > > #define DIB0700_DEFAULT_STREAMING_CONFIG(ep) \ > > That seems to have been it! I used the attached patch, and now the > picture is clear from stations 100km away, where it was unusable on > stations 25km away before. > > Is there some difference between the Linux & FreeBSD USB systems that > Linux is able to handle non-512 byte multiples? I think linux maybe handles this case differently. The issue is that USB is packet based, and there is no FIFO to fixup partly received packets. Linux should have this patch aswell! But probably better, one layer up, in the DVB layer which parses this structure. In r1711 I've updated "patches/do_patch.sh" to include your patch! > > I still have the occasional error messages: > > > xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)... > Loading firmware at '/boot/modules/dvb-fe-xc5000-1.6.114.fw', f=7 > xc5000: firmware read Zu bytes. > xc5000: firmware uploading... > xc5000: firmware upload complete... > dib0700: i2c write error (status = -32) > > s5h1411_readreg: readreg error (ret == 0) > dib0700: i2c write error (status = -32) > > s5h1411_readreg: readreg error (ret == 0) > xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)... > Loading firmware at '/boot/modules/dvb-fe-xc5000-1.6.114.fw', f=7 > xc5000: firmware read Zu bytes. > xc5000: firmware uploading... > xc5000: firmware upload complete... > dib0700: i2c write error (status = -32) > > s5h1411_readreg: readreg error (ret == 0) > dib0700: i2c write error (status = -32) > > s5h1411_readreg: readreg error (ret == 0) > <...> > > Should I be concerned? If the functionality is OK, I would not worry. I think -32 means EPIPE which means STALL. That means that the driver most likely is writing a non-supported register. --HPS