Mailing List archive

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

[linux-dvb] Re: Terratec Cinergy 1200 DVB-C Card supported?



From: "Robert Schlabbach" <robert_s@gmx.net>
> (for reference, the VES1820 has ID 0x79/0x7A, the VES1820X has id 0x7C).

Oops, that got cut short a little. The known IDs are:

0x79 = VES1820  (first version)  I2C addresses: 0x08-0x0F
0x7A = VES1820- (second version) I2C addresses: 0x08-0x0F
0x7B = VES1820X (revision 1)     I2C addresses: 0x08-0x0B
0x7C = TDA10021 (revision 1)     I2C addresses: 0x0C/0x0D

So the current probing code would detect all versions. It didn't detect the
TDA10021 due to the different register addressing used compared to the
older versions, that's why you need to remove the 0x00 from the I2C message
buffers.

Oh, I just noticed another thing: The TDA10021 has a different I2C address
than the VES1820s, it can be 0x0C or 0x0D. Interestingly enough, the old
code only probed two addresses, although the VES1820 allowed up to 8
different ones...

Anyway, change the probe_demod_addr() function as follows:

{.addr = 0x08,.flags = I2C_M_RD,.buf = &id,.len = 1}

-> change 0x08 to 0x0C

msg[0].addr = msg[1].addr = 0x09;

-> change 0x09 to 0x0D

Regards,
--
Robert Schlabbach
e-mail: robert_s@gmx.net
Berlin, Germany





Home | Main Index | Thread Index