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?



Robert Schlabbach schrieb:
From: "Markus Schulz" <msc@antzsystem.de>

I've done the steps you mentioned in your last post (renamed and delete
0x00 from the named methods) with one exception, in i2c-id.h exists one
define (I2C_DRIVERID_VES1820) for VES1820 but don't for tda10021. So i
used the same id for tda10021. Is this correct?

Ummm, no idea, but I think you can do with the VES1820 ID for the time
being...


I've attached the tda10021.c perhaps i've done something wrong.

I spotted one mistake:

struct i2c_msg msg[] =

{.addr = 0x08,.flags = 0,.buf = b,.len = 2},
{.addr = 0x0c,.flags = I2C_M_RD,.buf = &id,.len = 1}
};

The first .addr needs to be changed to 0x08 as well!

Next thing you can try is adding a few printk() instructions to the
attach() and the probe_demod_addr() functions to see if they are actually
called and what they are doing...

I've played a little bit with different i2c addresse (loop from 0x7 to 0x20) but with no luck.
The problem seems to be that no i2c level transform is possible. Each i2c_transfer returned -ENOSYS cause of undefined i2c->algo->master_xfer variable.(checked against i2c-core.c code)

I'm not familiar with i2c (and kernel) programming and so i don't know what i can do furthermore.
I've also found (with google) an 2.4 kernel-source rpm with an tda10021.c from Ralph Metzler (seems to be also on this list) but it seems to be use an incompatible i2c interface for kernel 2.6? But the probing code seems to be similiar.

Can it be possible that there is another dvb-c demodulator on this card then a tda10021? Only chance to be sure with opening the metal box?

Markus




Home | Main Index | Thread Index