From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 12 22:13:23 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 E320016A418 for ; Mon, 12 Jun 2006 22:13:23 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq2.tilbu1.nb.home.nl (smtpq2.tilbu1.nb.home.nl [213.51.146.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 431A843D45 for ; Mon, 12 Jun 2006 22:13:23 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.146.189] (port=59613 helo=smtp2.tilbu1.nb.home.nl) by smtpq2.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1Fpuev-0001Re-RQ for freebsd-multimedia@freebsd.org; Tue, 13 Jun 2006 00:13:21 +0200 Received: from [84.27.215.228] (port=60768 helo=desktop.homenet) by smtp2.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1Fpueu-0001qL-IT for freebsd-multimedia@freebsd.org; Tue, 13 Jun 2006 00:13:20 +0200 From: Danny Pansters To: freebsd-multimedia@freebsd.org Date: Tue, 13 Jun 2006 00:13:04 +0200 User-Agent: KMail/1.9.1 References: <200606112112.k5BLCCUI073021@amd64.ott.parse.com> In-Reply-To: <200606112112.k5BLCCUI073021@amd64.ott.parse.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606130013.05020.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Re: bktr problems (fwd) 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: Mon, 12 Jun 2006 22:13:24 -0000 On Sunday 11 June 2006 23:12, Robert Krten wrote: > Naram Qashat sez... > > > That's a little helpful. How do I determine what values to use? And > > what's > > That's a "hit-n-miss" approach at the easiest, and deep study at the > hardest. You will need to look at the tuner chip, I believe it is under the > "can" part of the WinTVGoPlus. If it just so happens to be a Philips > TDA6503 chip, you can use my patches as is. If not, you'll need to go to > the manufacturer's website for the chip and work out what to send it :-( Try to pry off the sticker, if any, off the tuner (the big metal thing on the card). It may have its type printed on it under the sticker or have (ugh) a sticker under the sticker that says so (use a lamp :)... And quite a lot of venders actually have decent specs on their website. google. Dan > > the easiest way to test the changes? Right now, I've got the bktr module > > compiled directly into the kernel. But last time I tried to not compile > > it into the kernel and load it as a module seperately, it failed to load, > > I think it might've been because of the other device lines that the bktr > > page in the FreeBSD handbook says are needed. > > I rebuilt a kernel and rebooted. And rebooted, and rebooted :-( > > Cheers, > -RK > > > Naram Qashat > > > > ----- Original Message ----- > > From: "Robert Krten" > > To: > > Sent: Sunday, June 11, 2006 07:57 AM > > Subject: Re: bktr problems > > > > > Danny Pansters sez... > > > > > > > On Sunday 11 June 2006 10:23, Naram Qashat wrote: > > > > > I've been having problems with my bktr-based TV Tuner card. It's a > > > > > Hauppauge WinTV GO-Plus, and a pretty recent model too. Next is > > > > > the messages for the driver upon bootup: > > > > > > > > > > bktr0: mem 0xdc000000-0xdc000fff irq 11 at device > > > > > 9.0 > > > > on > > > > > > > pci1 > > > > > bktr0: [GIANT-LOCKED] > > > > > bktr0: Hauppauge Model 29440 @ % > > > > > bktr0: Warning - Unknown Hauppauge Tuner 0xd5 > > > > > > > > ^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > > > /usr/src/sys/dev/bktr/bktr_card.c has some interesting comments about > > > > (some?) > > > > > > bt878 based cards that have an EEPROM. In short: they've been broken > > > > by > > > > the > > > > > > time MT2032 tuner support was added, and they're still broken. I've > > > > had similar problems with an (old) WinCast TV card; it stopped > > > > working > > > > somewhere > > > > > > around FreeBSD-5.3 or so, also because tuner detection fails and it > > > > can't be > > > > > > bullied into using the correct one with sysctl. I tried to raise the > > > > issue > > > > > > several times but never got a response. > > > > > > I had a similar problem, I had to add a tuner card. > > > > > > Mine was a "type 0x79". Your type "0xd5" may or may not be the same > > > type > > > > of > > > > > tuner chip... > > > > > > Here's what I did to add my 0x79 type: > > > > > > And the line you need to add (in bktr_card.c) is: > > > > > > switch (tuner_code) { > > > ... > > > ... > > > ... > > > case 0x79: > > > select_tuner( bktr, PHILIPS_TDA6503_NTSC ); > > > goto checkDBX; > > > } > > > > > > And you need to add the PHILIPS_TDA6503_NTSC info in: > > > > > > bktr_tuner.h:#define PHILIPS_TDA6503_NTSC 15 > > > > > > (Or whatever number is next in the table, in case I have older source) > > > > > > And the following in bktr_tuner.c: > > > > > > /* PHILIPS_TDA6503_NTSC */ > > > { "Philips TDA6503 NTSC", /* the 'name' */ > > > TTYPE_NTSC, /* input type */ > > > { TSA552x_SCONTROL, /* control byte for Tuner PLL */ > > > TSA552x_SCONTROL, > > > TSA552x_SCONTROL, > > > 0x00 }, > > > { 0x00, 0x00 }, /* band-switch crosspoints */ > > > { 0x01, 0x02, 0x08, 0x00 } } /* the band-switch values */ > > > > > > You need to match up the #define index with the position in the table > > > above, I think. > > > > > > If your chip is different than mine, you'll need to figure out > > > different parameters for the bktr_tuner.c module hacks... > > > > > > Cheers, > > > -RK > > > > > > -- > > > Robert Krten, PARSE Software Devices > > > Realtime Systems Architecture, Consulting, Books and Training at > > > > www.parse.com > > > > > Looking for Digital Equipment Corp. PDP-1 through PDP-15 minicomputers! > > > _______________________________________________ > > > freebsd-multimedia@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > > > To unsubscribe, send any mail to > > > > "freebsd-multimedia-unsubscribe@freebsd.org" > > -- > Robert Krten, PARSE Software Devices > Realtime Systems Architecture, Consulting, Books and Training at > www.parse.com Looking for Digital Equipment Corp. PDP-1 through PDP-15 > minicomputers! _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org"