Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2011 11:14:21 -0500
From:      Andrew Gallatin <gallatin@gmail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: webcamd: PCTV 801eSE
Message-ID:  <AANLkTi=776r2hRb_dw2vVPz1roV5bgikSqp=XYQy6Gfk@mail.gmail.com>
In-Reply-To: <201101260901.19745.hselasky@c2i.net>
References:  <AANLkTinh7mA5jrr1240LnOSGL37yzb2uW_yWZfBD5cpa@mail.gmail.com> <201101260901.19745.hselasky@c2i.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Jan 26, 2011 at 3:01 AM, Hans Petter Selasky <hselasky@c2i.net> wrote:

> Try to check the USB buffer size:
>
> #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 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?

Thank you,

Drew

[-- Attachment #2 --]
--- ./v4l-dvb-abd3aac6644e/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2011-01-26 10:42:50.483435283 -0500
+++ /home/gallatin/dvb/v4l-dvb/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2010-07-02 12:03:51.572560888 -0400
@@ -2113,7 +2113,7 @@ MODULE_DEVICE_TABLE(usb, dib0700_usb_id_
 		.endpoint = ep, \
 		.u = { \
 			.bulk = { \
-				.buffersize = 512*78, \
+				.buffersize = 39480, \
 			} \
 		} \
 	}
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=776r2hRb_dw2vVPz1roV5bgikSqp=XYQy6Gfk>