Date: Mon, 5 Apr 2004 21:42:06 +0200 From: "pierpaolo.bruno-0574@poste.it" <pierpaolo.bruno-0574@poste.it> To: freebsd-multimedia@freebsd.org Subject: terratec valuetv card Message-ID: <HVPQQ6$I_5Q0x9UJnwT4TUAzyeDxbAW_aWoMpBSjjJYBp8yW0RYM5ZKWzpAFhlY@poste.it>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I forgot subject and attachment
Hi, I found that bktr in Freebsd 5.2.1 does not support actually terratec tv
card of type terravalue or derived (terravalue radio).
The problem many people and I had is that you can see Image but you can not
hear nothing.
This card are very common in Italy.
Basing on work made by Tanja Wittkeed with patch number 53383 I modified
btrk_cards.c and btrk_cards.h for getting it work with more cards of that
family.
In attachment you see the diff file.
Bye and hope it is usefull
thanks to Tanja who really solved the problem.
Pier Paolo
[-- Attachment #2 --]
diff bktr_cards.c bktr_cards.c.old
359,383d358
< { CARD_TERRATVALUE, /* the card id */
< "TerraTec TValue", /* the 'name' */
< NULL, /* the tuner */
< 0, /* the tuner i2c address */
< 0, /* dbx is optional */
< 0,
< 0,
< 0, /* EEProm type */
< 0, /* EEProm size */
< /* Tuner, Extern, Intern, Mute, Enabled */
< { 0x500, 0x900, 0x300, 0x900, 1 }, /* audio MUX values */
< 0xffff00 },
<
< { CARD_TERRATVALUER, /* the card id */
< "TerraTec TValue Radio", /* the 'name' */
< NULL, /* the tuner */
< 0, /* the tuner i2c address */
< 0, /* dbx is optional */
< 0,
< 0,
< 0, /* EEProm type */
< 0, /* EEProm size */
< /* Tuner, Extern, Intern, Mute, Enabled */
< { 0x500, 0x900, 0x300, 0x900, 1 }, /* audio MUX values */
< 0xffff00 },
585,593d559
< #define PCI_VENDOR_TERRATEC 0x153B
< #define MODEL_IODATA_GV_BCTV3_PCI 0x4020
< #define MODEL_TERRATVALUE1117 0x1117
< #define MODEL_TERRATVALUE1118 0x1118
< #define MODEL_TERRATVALUE1119 0x1119
< #define MODEL_TERRATVALUE111a 0x111a
< #define MODEL_TERRATVALUE1134 0x1134
< #define MODEL_TERRATVALUE5018 0x5018
< #define MODEL_TERRATVALUE1135 0x1135
594a561
> #define MODEL_IODATA_GV_BCTV3_PCI 0x4020
737,756c704
< if (subsystem_vendor_id == PCI_VENDOR_TERRATEC &&
< (subsystem_id == MODEL_TERRATVALUE1117||
< subsystem_id == MODEL_TERRATVALUE1118||
< subsystem_id == MODEL_TERRATVALUE1119||
< subsystem_id == MODEL_TERRATVALUE111a||
< subsystem_id == MODEL_TERRATVALUE1134||
< subsystem_id == MODEL_TERRATVALUE5018)) {
< bktr->card = cards[ (card = CARD_TERRATVALUE) ];
< bktr->card.eepromAddr = eeprom_i2c_address;
< bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
< goto checkTuner;
< }
< if (subsystem_vendor_id == PCI_VENDOR_TERRATEC &&
< subsystem_id == MODEL_TERRATVALUE1135) {
< bktr->card = cards[ (card = CARD_TERRATVALUER) ];
< bktr->card.eepromAddr = eeprom_i2c_address;
< bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
< goto checkTuner;
< }
<
---
>
1173,1182d1120
<
< case CARD_TERRATVALUE:
< select_tuner( bktr, PHILIPS_PAL); /* Phlips PAL tuner */
< goto checkDBX;
< break;
< case CARD_TERRATVALUER:
< select_tuner( bktr, PHILIPS_PAL); /* Phlips PAL tuner */
< goto checkDBX;
< break;
<
diff bktr_cards.h bktr_cards.h.old
80,82c80
< #define CARD_TERRATVALUE 18
< #define CARD_TERRATVALUER 19
< #define Bt848_MAX_CARD 20
---
> #define Bt848_MAX_CARD 18
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HVPQQ6$I_5Q0x9UJnwT4TUAzyeDxbAW_aWoMpBSjjJYBp8yW0RYM5ZKWzpAFhlY>
