On Tuesday 13 November 2007 23:21:55 Mark Paulus wrote:
> Hans Verkuil wrote:
> > Hi all,
> >
> > A long standing problem with ivtv (and v4l drivers in general) is
> > that sometimes i2c devices are misidentified. So the driver thinks
> > that at a certain i2c address a tuner is connected, when in reality
> > it is a audio muxer or whatever. The root cause was a problem in
> > the i2c subsystem of the kernel which made it very hard to tell the
> > i2c subsystem what to expect at which address.
> >
> > A new way of handling the i2c bus was added in kernel 2.6.22.
> > However, in order to actually make use of this (and so finally fix
> > this issue once and for all) all i2c drivers that are used by ivtv
> > had to be converted first and only then could ivtv itself be
> > changed. Since ivtv uses some 15 different i2c devices (each board
> > uses a subset of 1-4/5 devices) this was a substantial amount of
> > work. And it's also a record: no other driver has to support that
> > many i2c devices.
> >
> > I've finally converted all the i2c drivers (they are now part of
> > the v4l-dvb repository) and have finished converting ivtv itself.
> > But before I ask the v4l-dvb maintainer to pull my ivtv changes I
> > want people to test it first. If I've made a mistake here, then
> > devices suddenly won't work anymore, so it's rather important that
> > I let people test first. Especially for non-standard boards like
> > Japanese variants and other non-Hauppauge cards.
> >
> > It is also important that I know I haven't broken support for older
> > pre-2.6.22 kernels, so if you have an older kernel then please
> > still test it!
>
> Hmmm.
>
> Won't compile on my debian etch stock kernel:

I heard more reports about compatibility problems and I traced it to 
some recent videodev changes that break compatibility for kernels < 
2.6.19. So in order to test this you need a kernel >- 2.6.19.

I'll also report this compatibility breakage to the v4l mailinglist.

Regards,

        Hans

>
> # make
> creating symbolic links...
> Kernel build directory is /lib/modules/2.6.18-5-k7/build
> make -C /lib/modules/2.6.18-5-k7/build
> SUBDIRS=/usr/src/ivtv/ivtv-i2c-7b56d82d91 bb/v4l  modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.18-5-k7'
>   CC [M]  /usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l/videodev.o
> /usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l/videodev.c:126: error:
> unknown field 'dev_attrs' specified in initializer
> /usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l/videodev.c:126: warning:
> initialization from incompatible pointer type
> /usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l/videodev.c:127: error:
> unknown field 'dev_release' specified in initializer
> /usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l/videodev.c:127: warning:
> missing braces around initializer
> /usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l/videodev.c:127: warning:
> (near initialization for 'video_class.subsys')
> /usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l/videodev.c:127: warning:
> initialization from incompatible pointer type make[2]: ***
> [/usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l/videodev.o] Error 1 make[1]:
> *** [_module_/usr/src/ivtv/ivtv-i2c-7b56d82d91bb/v4l] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-5-k7' make:
> *** [default] Error 2



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to