On Wed, Mar 09, 2005 at 11:16:09AM -0800, Jarod Wilson wrote:
> On Wednesday 09 March 2005 07:00, belcampo wrote:
> > Hi Jarod,
> >
> > Tried your pal-tveeprom-tuner-updates-032g.patch, but tuner isn't
> > recognized.
> 
> Ah, you have yet another variation of the PAL PVR-150 there, the support I 
> added in that patch is for tuners with idx values of 91 and 97.
> 
> > tveeprom output
> >
> > tveeprom: Hauppauge: model = 26559, rev = B260, serial# = 7667836
> > tveeprom: tuner = LG S001D MK3 (idx = 60, type = 4)
> 
> We don't have a specific tuner def for the idx=60 tuner, so it defaults to a 
> type 4, which seems to be very wrong for your tuner.
> 
> > About image quality there's something strange, when I choose 55 as tuner
> > type, most obvious choice because it is a TAPE S001D0408301028, which
> > according to the sticker is a PAL-B/G-I-D/K-SECAM version on a 150MCE card,
> > first only VHF channels are received. By changing
> >         { "LG PAL (TAPE series)", LGINNOTEK, PAL,
> >           16*170.00,16*450.00,0x01,0x02,0x08,0xce,623},
> > to
> >         { "LG PAL (TAPE series)", LGINNOTEK, PAL,
> >           16*170.00,16*450.00,0x01,0x02,0x04,0xce,623},
> > the UHF channels can be choosen.
> 
> It looks like there are two different LG TAPE tuners used on PAL PVR-150 
> cards, because the current def seems to work perfectly for folks with tuner 
> idx=97. I'm looking at the datasheet for your tuner right now, looks like 
> another tuner definition is in order.
> 
> > Hope you'll find the latest missing link.
> 
> I believe I have. I'll try to whip up a patch in just a few...

Attached patch is working for me.

Patch is against 0.3.2h + tveeprom patch


Jasper



diff -ur ivtv-0.3.2h/driver/tuner.c ivtv-0.3.2h-mw/driver/tuner.c
--- ivtv-0.3.2h/driver/tuner.c  2005-03-09 20:26:47.000000000 +0100
+++ ivtv-0.3.2h-mw/driver/tuner.c       2005-03-09 20:24:34.000000000 +0100
@@ -249,8 +249,8 @@
          /* see tda8290.c for details */ },
        { "Philips FQ1286", Philips, NTSC,
          16*160.00,16*454.00,0x41,0x42,0x04,0x8e,940},
-        { "LG PAL (TAPE series, pvr150)", LGINNOTEK, PAL,
-          16*170.00, 16*450.00, 0x01,0x02,0x08,0xce,623},
+        { "LG PAL (TAPE series)", LGINNOTEK, PAL,
+          16*160.00, 16*442.00, 0x01,0x02,0x04,0xce,623},
        { "Philips PAL/SECAM multi (FQ1216AME MK4)", Philips, PAL,
          16*160.00,16*442.00,0x01,0x02,0x04,0xce,623 },
        { "Philips FQ1236A MK4", Philips, NTSC,
@@ -911,7 +911,8 @@
         */
 
        div=freq + tun->IFPCoff;
-       if (t->type == TUNER_PHILIPS_SECAM && freq < t->freq) {
+       if ((t->type == TUNER_PHILIPS_SECAM || 
+            t->type == TUNER_LG_PAL_TAPE) && freq < t->freq) {
                buffer[0] = tun->config;
                buffer[1] = config;
                buffer[2] = (div>>8) & 0x7f;

Reply via email to