bktr Hauppage WinTV id 0x79 patch

Robert Krten root at parse.com
Wed Jan 17 19:32:55 UTC 2007


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


More information about the freebsd-multimedia mailing list