Am Dienstag, 19. November 2002 14:34 schrieb Holger Waechtler:
> Hi,
>
> Juri Haberland wrote:
> > Nils Ohlmeier wrote:
> >>From the logs i would say the driver is not loaded correct or even
> >>does not
> >>support my card. But i'm a newbie to this stuff and may be wrong,
> >>That's why
> >>i'm asking for help with my logs here.
> >
> > Nils,
> >
> > I think the driver is actually working and it seems that you have the
> > same revision as I have (1.2). You also seem to have copied the
> > Sc_main.mc file from the Windows driver to the appropiate directory.
> >
> > Please try to unload/load the driver one or two times and try to tune
> > with 'tzap ZDF'.
>
> please update your driver source before - yesterday I introduced a bug
> which might had caused your problems. should be fixed again.
>
> Holger

Hi,

because of some changes in dvb_frontend.c the tdlb7 driver works better with 
this patch.

Holger, can you please add this also to CVS. 

J�rgen 


patch for DVB/driver/frontends/tdlb7.c:

----------------------cut here--------------------

diff -rbBNu DVB_CVS/DVB/driver/frontends/alps_tdlb7.c 
DVB_CVS_PATCH/DVB/driver/frontends/alps_tdlb7.c
--- DVB_CVS/DVB/driver/frontends/alps_tdlb7.c   Tue Nov 19 14:20:22 2002
+++ DVB_CVS_PATCH/DVB/driver/frontends/alps_tdlb7.c     Tue Nov 19 18:17:54 2002

@@ -247,14 +247,6 @@
        sp8870_readreg(i2c,0x0F00);
        sp8870_readreg(i2c,0x0200);

-       if (loadcode) {
-               dprintk("%s: loading mcfile '%s' !\n", __FUNCTION__, mcfile);
-               if (sp8870_load_code(i2c)==0)
-                   dprintk("%s: microcode loaded!\n", __FUNCTION__);
-       }else{
-               dprintk("%s: without loading mcfile!\n", __FUNCTION__);
-       }
-
        return 0;
 }

@@ -383,6 +375,14 @@

        if (i2c->xfer (i2c, &msg, 1) != 1)
                 return -ENODEV;
+
+       if (loadcode) {
+               dprintk("%s: loading mcfile '%s' !\n", __FUNCTION__, mcfile);
+               if (sp8870_load_code(i2c)==0)
+                   dprintk("%s: microcode loaded!\n", __FUNCTION__);
+       }else{
+               dprintk("%s: without loading mcfile!\n", __FUNCTION__);
+       }

        dvb_register_frontend (tdlb7_ioctl, i2c, NULL, &tdlb7_info);



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to