Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: szap/driver problems



Ralph Metzler wrote:

Peter Schildmann writes:
> The original stv0299 driver from dvb-kernel checks for
> the PLL chip at the I2C addresses 0x60 and 0x61. If a device
> at 0x60 is found an SU1278/SH is detected (works with my
> Lorenzen DVB-S (Technotrend Budget CI) board) if a device at
> 0x61 is found an Alps BSRU6 is detected.
> > Please get the stv0299 driver from the dvb-kernel CVS and apply the patch
> attached to this mail. The frontend detection is now hardwired for
> the SU1278/SH with PLL at 0x61.
> > We have to write a new auto probing routine because there are > SU1278/SH frontends with the PLL at 0x60 and 0x61 out there.


How do you intend to differentiate between SU1278 and bsru2 tuners at
the same address?

By looking at the PCI Subsystem ID ?
And adding appropriate info to card_info ?

static struct card_info fs_1_5 = { DVB_CARD_TT_SIEMENS, "Siemens cable card PCI rev1.5" };
static struct card_info fs_1_3 = { DVB_CARD_TT_SIEMENS, "Siemens/Technotrend/Hauppauge PCI rev1.3" };
static struct card_info ttbs = { DVB_CARD_TT_BUDGET, "TT-Budget/WinTV-NOVA-S PCI" };
static struct card_info ttbc = { DVB_CARD_TT_BUDGET, "TT-Budget/WinTV-NOVA-C PCI" };
static struct card_info ttbt = { DVB_CARD_TT_BUDGET, "TT-Budget/WinTV-NOVA-T PCI" };
static struct card_info ttbci = { DVB_CARD_TT_BUDGET_CI, "TT-Budget/WinTV-NOVA-CI PCI" };
static struct card_info satel = { DVB_CARD_TT_BUDGET, "SATELCO Multimedia PCI"};
static struct card_info unkwn = { DVB_CARD_TT_SIEMENS, "Technotrend/Hauppauge PCI rev?(unknown0)?"};
static struct card_info tt_1_6 = { DVB_CARD_TT_SIEMENS, "Technotrend/Hauppauge PCI rev1.3 or 1.6" };
static struct card_info tt_2_1 = { DVB_CARD_TT_SIEMENS, "Technotrend/Hauppauge PCI rev2.1 or 2.2" };
static struct card_info tt_t = { DVB_CARD_TT_SIEMENS, "Technotrend/Hauppauge PCI DVB-T" };
static struct card_info knc1 = { DVB_CARD_KNC1, "KNC1 DVB-S" };

static struct pci_device_id saa7146_pci_tbl[] __devinitdata = {
{ PHILIPS_SAA7146, 0x110a, 0xffff, CARD_INFO fs_1_5 },
{ PHILIPS_SAA7146, 0x110a, 0x0000, CARD_INFO fs_1_5 },
{ PHILIPS_SAA7146, 0x13c2, 0x1003, CARD_INFO ttbs },
{ PHILIPS_SAA7146, 0x13c2, 0x1004, CARD_INFO ttbc },
{ PHILIPS_SAA7146, 0x13c2, 0x1005, CARD_INFO ttbt },
{ PHILIPS_SAA7146, 0x13c2, 0x100c, CARD_INFO ttbci },
{ PHILIPS_SAA7146, 0x13c2, 0x1013, CARD_INFO satel },
{ PHILIPS_SAA7146, 0x13c2, 0x0000, CARD_INFO fs_1_3 },
{ PHILIPS_SAA7146, 0x13c2, 0x1002, CARD_INFO unkwn },
{ PHILIPS_SAA7146, 0x13c2, 0x0001, CARD_INFO tt_1_6 },
{ PHILIPS_SAA7146, 0x13c2, 0x0002, CARD_INFO tt_2_1 },
{ PHILIPS_SAA7146, 0x13c2, 0x0003, CARD_INFO tt_2_1 },
{ PHILIPS_SAA7146, 0x13c2, 0x0004, CARD_INFO tt_2_1 },
{ PHILIPS_SAA7146, 0x13c2, 0x0006, CARD_INFO tt_1_6 },
{ PHILIPS_SAA7146, 0x13c2, 0x0008, CARD_INFO tt_t },
{ PHILIPS_SAA7146, 0xffc2, 0x0000, CARD_INFO unkwn },
{ PHILIPS_SAA7146, 0x1131, 0x4f56, CARD_INFO knc1 },






--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index