[linux-dvb] [PATCH] Siemens DVB-C PCI: SAA7113 Analog Module,
on integrating msp3400.c, fixing stereo
js at linuxtv.org
Tue Jul 19 22:04:15 CEST 2005
thomas schorpp wrote:
> at the moment ive to solve a type conversion problem for inter-module
> communication with the msp3400.ko, since msp_command() takes i2c_client
> type and av7110 type does only provide type i2c_adapter member (which
> has a container member of clients). and the i2c_client seems to be
> higher level not implemented (or hard hex) in the dvb-driver... on
> learning kernel i2c subsystem library. a hint on this could speed up.
I can recommend linux/Documentation/i2c/writing-clients.
Basically you can add I2C_CLASS_TV_ANALOG to
av7110->i2c_adap.class (av7110.c) and load
the msp3400 driver, it should automatically
attach to the bus. This is of course just a hack,
because the classes were introduced specifically
to keep analog stuff away from DVB I2C busses,
because it causes problems in some cases.
More information about the linux-dvb