On Thursday 13 Oct 2005 11:53, Trev Jackson wrote:
> > Hi
> >
> > I tried SVN-1291, which gives a similar error:
> >
> > make[2]: Entering directory `/usr/src/linux-2.6.8.1-12mdk'
> >   CC [M]  /home/mythtv/ivtv-2791/driver/ivtv-driver.o
> > /home/mythtv/ivtv-2791/driver/ivtv-driver.c: In function
> > `ivtv_read_eeprom': /home/mythtv/ivtv-2791/driver/ivtv-driver.c:468:
> > warning: passing arg 1 of `tveeprom_hauppauge_analog' from incompatible
> > pointer type
> > /home/mythtv/ivtv-2791/driver/ivtv-driver.c:468: warning: passing arg 2
> > of `tveeprom_hauppauge_analog' from incompatible pointer type
> > /home/mythtv/ivtv-2791/driver/ivtv-driver.c:468: error: too few arguments
> > to function `tveeprom_hauppauge_analog'
> > /home/mythtv/ivtv-2791/driver/ivtv-driver.c: In function `ivtv_probe':
> > /home/mythtv/ivtv-2791/driver/ivtv-driver.c:1292: error: `TUNER_SET_TYPE'
> > undeclared (first use in this function)
> > /home/mythtv/ivtv-2791/driver/ivtv-driver.c:1292: error: (Each undeclared
> > identifier is reported only once
> > /home/mythtv/ivtv-2791/driver/ivtv-driver.c:1292: error: for each
> > function it appears in.)
> > make[3]: *** [/home/mythtv/ivtv-2791/driver/ivtv-driver.o] Error 1
> > make[2]: *** [_module_/home/mythtv/ivtv-2791/driver] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.6.8.1-12mdk'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/home/mythtv/ivtv-2791/driver'
> > make: *** [all] Error 2
> >
> > I'm still doing:
> > > In the ivtv directory I'm doing:
> > >
> > > make v4l-checkout
> > > make v4l
> > > make v4l-install
> > >
> >  >make
> >
> > line 1292 of ivtv-driver.c reads:
> >
> >                 ivtv_tv_tuner(itv, TUNER_SET_TYPE,
> > &(itv->options.tuner));
> >
> > The kernel versions later than  2, 6, 13 uses:
> >
> >             ivtv_tv_tuner(itv, TUNER_SET_TYPE_ADDR, &setup);
> >
> >
> > Should TUNER_SET_TYPE be TUNER_SET_TYPE_ADDR
> >
> > Has anyone else with an earlier kernel had similar problems with the
> > 0.5.0
> >
> > Best Regards
> >
> > Trev
>
> Hi
>
> I've had a look at SVN-1290 and
>
> TUNER_SET_TYPE is defined in tuner.h
>
> The new tuner.h in SVN-1291 does not have it set, is this an oversight?
>
> Best Regards
>
> Trev
>
>
Hi again

I added:

#define TUNER_SET_TYPE               _IOW('t',1,int)    /* set tuner type */

to ivtv-compat.h

I also hacked line 468 of ivtv-driver.c from:

tveeprom_hauppauge_analog(tv, eedata);

to

tveeprom_hauppauge_analog(&itv->i2c_client,tv, eedata);

ivtv now compiles and appears to work OK.

I'm not sure if the above modifications are correct, but they at least show 
the problem.

Best Regards

Trev


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

Reply via email to