On Wednesday 09 March 2005 11:32, Jasper van der Neut wrote: [...] > > 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
Please give the attached a try instead. Its against 0.3.2h, and includes all my tuner and tveeprom changes for all three PAL PVR-150/500 variants. The tuner def your patch modifies is the idx 97 tuner, so it shouldn't be modified, you may break tuning for other people, I think. My patch includes another tuner def for the idx 60 tuner, as well as the needed tveeprom update to have it properly auto-detected. What is the other part of your patch for? -- Jarod Wilson [EMAIL PROTECTED]
diff -BurN ivtv-0.3.2h/driver/ivtv-driver.c ivtv-0.3.2h-morepal/driver/ivtv-driver.c
--- ivtv-0.3.2h/driver/ivtv-driver.c 2005-03-06 19:44:31.000000000 -0800
+++ ivtv-0.3.2h-morepal/driver/ivtv-driver.c 2005-03-07 16:41:51.000000000 -0800
@@ -179,6 +179,8 @@
"\t\t3 = AVerMedia M179\n"
"\t\t4 = YUAN MPG600/Kuroutoshikou iTVC16-STVLP\n"
"\t\t5 = YUAN MPG160/Kuroutoshikou iTVC15-STVLP\n"
+ "\t\t6 = WinTV PVR-150 or PVR-500\n"
+ "\t\t7 = YUAN PG600/DIAMONDMM PVR-550 (CX Falcon 2)\n"
"\t\tDefault: Autodetect" );
MODULE_PARM_DESC(ivtv_debug, "Debug level (bitmask). Default: errors only "
"(ivtv_debug = 255 gives full debugging)");
@@ -187,7 +189,7 @@
MODULE_AUTHOR("Kevin Thayer");
MODULE_DESCRIPTION("iTVC15_16 driver");
-MODULE_SUPPORTED_DEVICE("iTVC15_16 mpg2 encoder (aka WinTV PVR 250/350)");
+MODULE_SUPPORTED_DEVICE("iTVC15_16 mpg2 encoder (WinTV PVR-150/250/350/500, Yuan MPG series and similar)");
MODULE_LICENSE("GPL");
#if defined(LINUX26)
diff -BurN ivtv-0.3.2h/driver/ivtv-driver.h ivtv-0.3.2h-morepal/driver/ivtv-driver.h
--- ivtv-0.3.2h/driver/ivtv-driver.h 2005-03-06 19:44:56.000000000 -0800
+++ ivtv-0.3.2h-morepal/driver/ivtv-driver.h 2005-03-07 16:03:05.000000000 -0800
@@ -141,7 +141,7 @@
#define IVTV_CARD_MPG600 3 /* Kuroutoshikou ITVC16-STVLP/YUAN MPG600, encoder only */
#define IVTV_CARD_MPG160 4 /* Kuroutoshikou ITVC15-STVLP/YUAN MPG160
iTVC15 based, but does not have tv-out */
-#define IVTV_CARD_PVR_150 5 /* wintv pvr 250 */
+#define IVTV_CARD_PVR_150 5 /* wintv pvr 150 */
#define IVTV_CARD_PG600 6 /* YUAN PG600/DIAMONDMM PVR-550 based on the CX Falcon 2 */
#define NO_AUDIO 0 /* the card can't handle audio */
diff -BurN ivtv-0.3.2h/driver/tuner.c ivtv-0.3.2h-morepal/driver/tuner.c
--- ivtv-0.3.2h/driver/tuner.c 2005-03-06 11:59:58.000000000 -0800
+++ ivtv-0.3.2h-morepal/driver/tuner.c 2005-03-09 11:51:21.475554433 -0800
@@ -124,13 +124,14 @@
unsigned short thresh1; /* band switch VHF_LO <=> VHF_HI */
unsigned short thresh2; /* band switch VHF_HI <=> UHF */
- unsigned char VHF_L;
- unsigned char VHF_H;
- unsigned char UHF;
- unsigned char config;
- unsigned short IFPCoff; /* 622.4=16*38.90 MHz PAL,
- 732 =16*45.75 NTSCi,
- 940 =58.75 NTSC-Japan */
+ unsigned char VHF_L; /* band switch byte, low band */
+ unsigned char VHF_H; /* band switch byte, mid band */
+ unsigned char UHF; /* band switch byte, high band */
+ unsigned char config; /* config byte, aka control byte */
+ unsigned short IFPCoff; /* Intermediate Frequency Picture Carrier:
+ 622.4 = 16*38.90 MHz PAL,
+ 732 = 16*45.75 NTSCi,
+ 940 = 58.75 NTSC-Japan */
};
/*
@@ -249,12 +250,14 @@
/* 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,
+ { "LG PAL (TAPE series)", LGINNOTEK, PAL,
16*170.00, 16*450.00, 0x01,0x02,0x08,0xce,623},
- { "Philips PAL/SECAM multi (FM1216ME pvr150)", Philips, PAL,
+ { "Philips PAL/SECAM multi (FQ1216AME MK4)", Philips, PAL,
16*160.00,16*442.00,0x01,0x02,0x04,0xce,623 },
{ "Philips FQ1236A MK4", Philips, NTSC,
16*160.00,16*442.00,0x01,0x02,0x04,0x8e,732},
+ { "LG PAL TAPE-S001D", LGINNOTEK, PAL,
+ 16*160.00, 16*442.00, 0x01,0x02,0x04,0xce,623},
};
#define TUNERS ARRAY_SIZE(tuners)
diff -BurN ivtv-0.3.2h/driver/tuner.h ivtv-0.3.2h-morepal/driver/tuner.h
--- ivtv-0.3.2h/driver/tuner.h 2005-03-06 11:59:58.000000000 -0800
+++ ivtv-0.3.2h-morepal/driver/tuner.h 2005-03-09 11:18:20.760434676 -0800
@@ -77,8 +77,9 @@
#define TUNER_PHILIPS_FQ1286 53
#define TUNER_PHILIPS_TDA8290 54
#define TUNER_LG_PAL_TAPE 55 /* Hauppauge PVR-150 PAL */
-#define TUNER_PHILIPS_FM1216ME 56 /* Hauppauge PVR-150 PAL */
+#define TUNER_PHILIPS_FQ1216AME_MK4 56 /* Hauppauge PVR-150 PAL */
#define TUNER_PHILIPS_FQ1236A_MK4 57 /* Hauppauge PVR-500MCE NTSC */
+#define TUNER_LG_PAL_TAPE_S001D 58 /* Another PAL PVR-150 */
#define NOTUNER 0
#define PAL 1 /* PAL_BG */
diff -BurN ivtv-0.3.2h/driver/tveeprom.c ivtv-0.3.2h-morepal/driver/tveeprom.c
--- ivtv-0.3.2h/driver/tveeprom.c 2005-03-01 07:45:52.000000000 -0800
+++ ivtv-0.3.2h-morepal/driver/tveeprom.c 2005-03-09 11:18:54.619269803 -0800
@@ -219,7 +219,7 @@
{ TUNER_ABSENT, "Philips FM1236 MK3"},
{ TUNER_ABSENT, "Philips FM1216MP MK3"},
/* 60-69 */
- { TUNER_ABSENT, "LG S001D MK3"},
+ { TUNER_LG_PAL_TAPE_S001D, "LG S001D MK3"},
{ TUNER_ABSENT, "LG M001D MK3"},
{ TUNER_ABSENT, "LG S701D MK3"},
{ TUNER_ABSENT, "LG M701D MK3"},
@@ -253,11 +253,13 @@
{ TUNER_ABSENT, "TCL MFPE05 2"},
/* 90-99 */
{ TUNER_ABSENT, "LG TALN H202T"},
- { TUNER_ABSENT, "Philips FQ1216AME MK4"},
+ { TUNER_PHILIPS_FQ1216AME_MK4, "Philips FQ1216AME MK4"},
{ TUNER_PHILIPS_FQ1236A_MK4, "Philips FQ1236A MK4"},
{ TUNER_ABSENT, "Philips FQ1286A MK4"},
{ TUNER_ABSENT, "Philips FQ1216ME MK5"},
{ TUNER_ABSENT, "Philips FQ1236 MK5"},
+ { TUNER_ABSENT, "Unspecified"},
+ { TUNER_LG_PAL_TAPE, "LG PAL (TAPE Series)"},
};
static char *sndtype[] = {
pgpIQnpDQ4TPL.pgp
Description: PGP signature
