Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 13:54:14 -0500 (EST)
From:      Robert Krten <root@parse.com>
To:        multimedia@freebsd.org
Subject:   bktr Hauppage WinTV id 0x79 patch
Message-ID:  <200701171854.l0HIsEYs043594@amd64.ott.parse.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701171854.l0HIsEYs043594>