From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 14 13:45:43 2010 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 7C1F41065670 for ; Sun, 14 Feb 2010 13:45:43 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id DB9A88FC0C for ; Sun, 14 Feb 2010 13:45:42 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=eFX8sH5iCjsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=hLKnTLUe39QJFeRg6BAA:9 a=ksDyEKfQFmMQiAYvoTYA:7 a=bXdDES9XJd8-U_aqNP3ibmH3UrIA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1340778537; Sun, 14 Feb 2010 14:45:41 +0100 From: Hans Petter Selasky To: Jan Henrik Sylvester Date: Sun, 14 Feb 2010 14:44:13 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <4B77FC79.5040106@janh.de> In-Reply-To: <4B77FC79.5040106@janh.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002141444.13674.hselasky@c2i.net> Cc: multimedia-list freebsd Subject: Re: DVB-T with Cuse4BSD: bad signal quality 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: Sun, 14 Feb 2010 13:45:43 -0000 On Sunday 14 February 2010 14:36:57 Jan Henrik Sylvester wrote: > After I tried video4bsd last weekend for the first time and was able to > make my webcam work, but not my DVB-T device. This weekend, I found > Cuse4BSD on your homepage replacing video4bsd. > > Now my DVB-T stick basically work. Thanks a lot for all your effort! > > I wanted to complain about the firmware path being /, but since you > added the '-f' switch that comes down to the rather unimportant default > being / and not -- for example -- /boot/modules/. Having to call webcamd > twice, once to load the firmware and once to actually do its job is a > little counter intuitive. > > My major problem at the moment is the quality of the signal. That has > always been dependent on the location of the antenna in my apartment, > but I just tried Raaf's dvbusb driver under FreeBSD 7 without having any > distortions and immediately booted back into FreeBSD 8: The distortions > are so high that it is unwatchable and after a few seconds audio and > video are out of sync using Raaf's typhony (Kaffeine seems a little > better at keeping the streams at sync even with a bad signal). > > I already checked the system load on my atom based system: 15% user, 10% > system, 70% idle (8% python, 8% mplayer, 4% webcamd) or 15% user, 20% > system, 60% idle (20% kaffeine, 7% webcamd, 5% Xorg) -- that does not > seem problematic. (I thought with the driver now partially in user space > there might be higher load than before due to context switching.) > > I am currently on FreeBSD 8.0-RELEASE with the libusb patch you > advertised last week on your homepage. I would not like to bring my atom > based system to 8-STABLE or 9-CURRENT. Would that help? > > Any idea or fix for my distortions? It might be that the Linux driver is setting up to small buffers. I have some patches for some of the V4L drivers, but not all. What is the VID+PID of your device? usbconfig -u X -a Y dump_device_desc --HPS