From owner-freebsd-multimedia@FreeBSD.ORG Sun Jun 11 11:57:44 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 1A56C16A46F for ; Sun, 11 Jun 2006 11:57:44 +0000 (UTC) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (ottawa-hs-206-191-28-202.s-ip.magma.ca [206.191.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DAE443D55 for ; Sun, 11 Jun 2006 11:57:43 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (localhost.parse.com [127.0.0.1]) by amd64.ott.parse.com (8.13.4/8.13.1) with ESMTP id k5BBveiW054179; Sun, 11 Jun 2006 07:57:40 -0400 (EDT) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.4/8.13.1/Submit) id k5BBvdog054178; Sun, 11 Jun 2006 07:57:39 -0400 (EDT) (envelope-from root) From: Robert Krten Message-Id: <200606111157.k5BBvdog054178@amd64.ott.parse.com> To: freebsd-multimedia@freebsd.org Date: Sun, 11 Jun 2006 07:57:39 -0400 (EDT) In-Reply-To: <200606111320.49608.danny@ricin.com> from "Danny Pansters" at Jun 11, 2006 01:20:49 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: bktr problems 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, 11 Jun 2006 11:57:44 -0000 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!