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.