Web lists-archives.org

Re: Question about saa7115




On Thu, 7 Feb 2008 12:03:10 -0800
"Guillaume Quintard" <guillaume.quintard@xxxxxxxxx> wrote:

> On Feb 7, 2008 11:47 AM, Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> wrote:
> > On Wed, 6 Feb 2008 17:44:05 -0800
> > On embedded processors, you generally attach devices directly to the CPU i2c
> > bus. In this case, you'll need to implement a host v4l2 module for your
> > processor, and use it to access the i2c device.
> >
> 
> Ok, that's what I feared :-)

It shouldn't be that hard. You just need to implement something like vivi.c +
cx88-i2c ;)

> anyway, in the saa711x_probe function (in saa7115.c), the "if
> (adapter->class & I2C_CLASS_TV_ANALOG)" test always fails as
> I2C_CLASS_TV_ANALOG is 2 and adapter->class is 1 (lm sensors), is that
> normal ? shouldn't class be 2 ?

If you're using the same i2c bus for lm_sensors and for tv_analog,
you'll need to set adapter->class to 3.


Cheers,
Mauro

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list