From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 17 19:32:55 2007 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4FA6616A51B for ; Wed, 17 Jan 2007 19:32:55 +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 7991913C469 for ; Wed, 17 Jan 2007 19:32:54 +0000 (UTC) (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.8/8.13.1) with ESMTP id l0HIsE32043595 for ; Wed, 17 Jan 2007 13:54:14 -0500 (EST) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.8/8.13.1/Submit) id l0HIsEYs043594 for multimedia@freebsd.org; Wed, 17 Jan 2007 13:54:14 -0500 (EST) (envelope-from root) From: Robert Krten Message-Id: <200701171854.l0HIsEYs043594@amd64.ott.parse.com> To: multimedia@freebsd.org Date: Wed, 17 Jan 2007 13:54:14 -0500 (EST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: bktr Hauppage WinTV id 0x79 patch 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: Wed, 17 Jan 2007 19:32:55 -0000 I've applied the following to my brand new 6.2-RELEASE/amd64 system in order to get my Hauppauge WinTV Go card running: diff -r src/sys/dev/bktr/bktr_card.c /source/freeBSD/src/6.2-RELEASE/amd64/sys/dev/bktr/bktr_card.c 1123,1125d1122 < case 0x79: < select_tuner( bktr, PHILIPS_TDA6503_NTSC); < goto checkDBX; diff -r src/sys/dev/bktr/bktr_tuner.c /source/freeBSD/src/6.2-RELEASE/amd64/sys/dev/bktr/bktr_tuner.c 302,311d301 < < /* 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 */ diff -r src/sys/dev/bktr/bktr_tuner.h /source/freeBSD/src/6.2-RELEASE/amd64/sys/dev/bktr/bktr_tuner.h 64,65c64 < #define PHILIPS_TDA6503_NTSC 16 < #define Bt848_MAX_TUNER 17 --- > #define Bt848_MAX_TUNER 16 I have no idea if the values are 100% correct, but they seem to work. Can anyone comment on the correctness, and perhaps on how to get this into the source tree so I don't have to do this again? :-) Thanks in advance! Cheers, -RK -- Robert Krten, PARSE Software Devices, http://www.parse.com/resume.html Wanted: DEC minis: http://www.parse.com/~museum/admin/wanted.html