> > > > make[3]: *** 
> > > [/home/michael/Programs/TVTuner/v4l-dvb-bef996fa0ded/v4l/cx18-gpio.o] 
> > > Error 
> 1
> > > > make[2]: *** 
> [_module_/home/michael/Programs/TVTuner/v4l-dvb-bef996fa0ded/v4l] 
> > > Error 2
> > > > make[2]: Leaving directory `/usr/src/linux-2.6.22.17.tex2'
> > > > make[1]: *** [default] Error 2
> > > > make[1]: Leaving directory 
> > > `/home/michael/Programs/TVTuner/v4l-dvb-bef996fa0ded/v4l'
> > > > make: *** [all] Error 2
> > > > 
> > > > It seems to compile fine without the patch.
> > > > 
> > > > I tried compiling this without the other two patches, if you want, I'll 
> find 
> > > those patches, and try again.
> > > 
> > > No, not at this time.  Just this cx18-i2c-gpio-reset2.patch.
> 
> OK.  Now try the other two patches as well.  I don't have high hopes
> though.
> 
Still didn't work.... Sadly.
> 
> > > Let me know how it goes.
> > > 
> > It compiled fine this time.  However, after running modprobe cx18, heres 
> > the 
> dmesg:
> > 
> > Linux video capture interface: v2.00
> > cx18:  Start initialization, version 1.0.0
> > cx18-0: Initializing card #0
> > cx18-0: Autodetected Hauppauge card
> > cx18-0: cx23418 revision 01010000 (B)
> > tveeprom 0-0050: Encountered bad packet header [00]. Corrupt or not a 
> Hauppauge eeprom.
> > cx18-0: Invalid EEPROM
> > cx18-0: VBI is not yet supported
> > cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
> > cx18-0: Disabled encoder IDX device
> > videodev: "" has no release callback. Please fix your driver for proper 
> > sysfs 
> support, see http://lwn.net/Articles/36850/
> > cx18-0: Registered device video0 for encoder MPEG (2 MB)
> > DVB: registering new adapter (cx18).
> > MXL5005S: Attached at address 0x63
> > DVB: registering frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
> > cx18-0: DVB Frontend registered
> > videodev: "" has no release callback. Please fix your driver for proper 
> > sysfs 
> support, see http://lwn.net/Articles/36850/
> > cx18-0: Registered device video32 for encoder YUV (2 MB)
> > videodev: "" has no release callback. Please fix your driver for proper 
> > sysfs 
> support, see http://lwn.net/Articles/36850/
> > cx18-0: Registered device video24 for encoder PCM audio (1 MB)
> > videodev: "" has no release callback. Please fix your driver for proper 
> > sysfs 
> support, see http://lwn.net/Articles/36850/
> > cx18-0: Registered device radio-64 for encoder radio
> > cx18-0: Initialized card #0: Hauppauge HVR-1600
> > cx18:  End initialization
> 
> The "videodev:" messages bug me.  Can you check to make sure you don't
> have duplicate tuner, tveeprom, videodev, etc., modules lying around for
> the same kernel under /lib/modules/(kernelver)/?
> 
I'm looking around in the folder, however, I'm not sure how to tell if there 
are multiple modules... I've never did this before.  Kernel is 2.6.22.17

Someone did state awhile back that possibly re-installing the device onto of a 
previous install could cause this.
> 
> 
> Regards,
> Andy



> Michael,
> 
> One more thing to try with the gpio reset patch:
> 
> Can you change these lines in cx18-gpio.c:
> 
>         /* Assert */
>         cx->gpio_val =
>                 (cx->gpio_val | p->active_hi_mask) & ~(p->active_lo_mask);
>         gpio_write(cx);
>         schedule_timeout_interruptible(msecs_to_jiffies(p->msecs_asserted));
> 
>         /* Deassert */
>         cx->gpio_val =
>                 (cx->gpio_val | p->active_lo_mask) & ~(p->active_hi_mask);
>         gpio_write(cx);
>         schedule_timeout_interruptible(msecs_to_jiffies(p->msecs_recovery));
> 
> 
> To both call "schedule_timeout_uninterruptible()" instead?  And then
> test again.
>
Starting at line 71, correct?  I just want to make sure I changed the right 
part.

With that change, I cannot seem to compile:

  CC [M]  /home/michael/Desktop/v4l-dvb-2aa420c58fc6/v4l/cx18-gpio.o
/home/michael/Desktop/v4l-dvb-2aa420c58fc6/v4l/cx18-gpio.c: In function 
'cx18_gpio_i2c_slave_reset':
/home/michael/Desktop/v4l-dvb-2aa420c58fc6/v4l/cx18-gpio.c:82: warning: ISO C90 
forbids mixed declarations and code
/home/michael/Desktop/v4l-dvb-2aa420c58fc6/v4l/cx18-gpio.c:124: error: expected 
declaration or statement at end of input
make[3]: *** [/home/michael/Desktop/v4l-dvb-2aa420c58fc6/v4l/cx18-gpio.o] Error 
1
make[2]: *** [_module_/home/michael/Desktop/v4l-dvb-2aa420c58fc6/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.22.17.tex2'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/michael/Desktop/v4l-dvb-2aa420c58fc6/v4l'
make: *** [all] Error 2

Thanks

> 
> That will guarantee the call doesn't return until the proper number of
> milliseconds have elapsed.
> 
> Regards,
> Andy


      

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

Reply via email to