From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 21 22:04:13 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6739B16A4CE for ; Wed, 21 Apr 2004 22:04:13 -0700 (PDT) Received: from mail.vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A61143D1D for ; Wed, 21 Apr 2004 22:04:13 -0700 (PDT) (envelope-from joshe@jade.elsasser.org) Received: from localhost (loopback [127.0.0.1]) by mail.vineyard.net (Postfix) with ESMTP id 509E197B82 for ; Thu, 22 Apr 2004 00:56:47 -0400 (EDT) Received: from mail.vineyard.net ([127.0.0.1]) by localhost (king1.vineyard.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02493-07 for ; Thu, 22 Apr 2004 00:56:47 -0400 (EDT) Received: from jade.elsasser.org (loopback [127.0.0.1]) by mail.vineyard.net (Postfix) with ESMTP id A70C397853 for ; Thu, 22 Apr 2004 00:56:46 -0400 (EDT) Received: by jade.elsasser.org (Postfix, from userid 1000) id D7C52EA; Thu, 22 Apr 2004 00:56:45 -0400 (EDT) Date: Thu, 22 Apr 2004 00:56:45 -0400 From: Josh Elsasser To: Levi Masterson Message-ID: <20040422045645.GB51579@jade.elsasser.org> References: <20040421220942.GA51579@jade.elsasser.org> <14563.1082590686@www48.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14563.1082590686@www48.gmx.net> User-Agent: Mutt/1.4.2.1i X-PGP-Key-URL: http://www.elsasser.org/pubkey.asc X-PGP-Key-Fingerprint: 8F39 9F2B 3738 54D9 3E40 4604 CFD5 EA3F B833 FD50 X-Virus-Scanned: by AMaViS at Vineyard.NET cc: freebsd-multimedia@freebsd.org Subject: Re: Tuner Problems with Xawtv (but not fxtv) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 05:04:13 -0000 On Thu, Apr 22, 2004 at 01:38:06AM +0200, Levi Masterson wrote: > > > > I have the same problem with xawtv/motv and mplayer. What is odd is > > that these programs are setting the correct frequency, I have verified > > this with fxtv, but the card still appears to not be tuning it > > correctly. > > > > I have a quick workaround, but I want to investigate a little more and > > find out what the real problem is before I start submitting patches. > > > > -jre > > > > It looks to me like fxtv relies on the tuner's (or drivers') knowledge of > what acceptable channels are for the given locale, while xawtv/motv uses the > aforementioned frequency lists. > > I'd have no problem using fxtv if I could figure out how to turn that ugly > toolbar off, or get dtv to work (i.e. change channels). > > --Levi Yes, both xawtx/motv and mplayer use frequencies directly, but that should still work if the frequencies are correct. I've tracked the problem down to an actual bug in the bktr driver where a frequency offset was taken from the current channel set. If the program doesn't use channels, then the wrong offset may be used. I've worked around this by having xawtx/motv and mplayer choose a NTSC or PAL channel set. I also have a fix for the driver itself, but I haven't tested it yet. Try out this patch for xawtv/motv and tell me how it works for you: http://www.elsasser.org/~joshe/xawtv-bktr-workaround.diff -jre