Hi ! Intrucat am un TvTuner PixelView PlayTv Pro Rev.4C ce are un Tuner LG fara FM (model TPI8PSB12P) dupa ce am facut ceva sapaturi le-am introdus pe amandoua in sursele de kernel 5.3.Rezultatul este patchul urmator:
--- /sys/dev/bktr/bktr_card.c.orig Sun Aug 8
01:23:39 2004
+++ /sys/dev/bktr/bktr_card.c Sun Dec 5 20:31:32
2004
@@ -368,6 +368,17 @@
{ 0x02, 0x00, 0x00, 0x00, 1 }, /*
audio MUX values */
0x18e0 }, /*
GPIO mask */
+ { CARD_PIXELVIEW_PLAYTV_PRO,
/* the card id */
+ "PixelView PlayTV Pro REV-4C ",
/* the 'name' */
+ 0, /* the
tuner */
+ 0, /*
the tuner i2c address */
+ 0, /*
dbx is optional */
+ 0,
+ 0,
+ 0, /*
EEProm type */
+ 0, /*
EEProm size */
+ { 0x01, 0x04, 0x01, 0, 1 }, /* audio MUX
values */
+ 0x0f }, /*
GPIO mask */
};
struct bt848_card_sig bt848_card_signature[1]= {
--- /sys/dev/bktr/bktr_card.h.orig Sun Aug 8
01:23:39 2004
+++ /sys/dev/bktr/bktr_card.h Sun Dec 5 20:31:32
2004
@@ -59,26 +59,27 @@
* where <card type> is one of the following card
defines.
*/
-#define CARD_UNKNOWN 0
-#define CARD_MIRO 1
-#define CARD_HAUPPAUGE 2
-#define CARD_STB 3
-#define CARD_INTEL 4 /* Also for
VideoLogic Captivator PCI */
-#define CARD_IMS_TURBO 5
-#define CARD_AVER_MEDIA 6
-#define CARD_OSPREY 7
-#define CARD_NEC_PK 8
-#define CARD_IO_BCTV2 9
-#define CARD_FLYVIDEO 10
-#define CARD_ZOLTRIX 11
-#define CARD_KISS 12
+#define CARD_UNKNOWN 0
+#define CARD_MIRO 1
+#define CARD_HAUPPAUGE 2
+#define CARD_STB 3
+#define CARD_INTEL 4 /* Also
for VideoLogic Captivator PCI *
/
+#define CARD_IMS_TURBO 5
+#define CARD_AVER_MEDIA 6
+#define CARD_OSPREY 7
+#define CARD_NEC_PK 8
+#define CARD_IO_BCTV2 9
+#define CARD_FLYVIDEO 10
+#define CARD_ZOLTRIX 11
+#define CARD_KISS 12
#define CARD_VIDEO_HIGHWAY_XTREME 13
#define CARD_ASKEY_DYNALINK_MAGIC_TVIEW 14
-#define CARD_LEADTEK 15
-#define CARD_TERRATVPLUS 16
-#define CARD_IO_BCTV3 17
-#define CARD_AOPEN_VA1000 18
-#define Bt848_MAX_CARD 19
+#define CARD_LEADTEK 15
+#define CARD_TERRATVPLUS 16
+#define CARD_IO_BCTV3 17
+#define CARD_AOPEN_VA1000 18
+#define CARD_PIXELVIEW_PLAYTV_PRO 19
+#define Bt848_MAX_CARD 20
#define CARD_IO_GV CARD_IO_BCTV2
--- /sys/dev/bktr/bktr_tuner.c.orig Sun Jun 27
09:59:02 2004
+++ /sys/dev/bktr/bktr_tuner.c Sun Dec 5 20:31:32
2004
@@ -276,7 +276,17 @@
TSBH1_FCONTROL,
0x00 },
{ 0x00, 0x00 }, /*
band-switch crosspoints */
- { 0x01, 0x02, 0x08, 0x00 } } /*
the band-switch values */
+ { 0x01, 0x02, 0x08, 0x00 } }, /*
the band-switch values */
+
+ /* LG_PAL */
+ { "LG-TPI8PSB12P/PAL", /*
the 'name' */
+ TTYPE_PAL, /*
input type */
+ { TSA552x_SCONTROL, /*
control byte for Tuner PLL */
+ TSA552x_SCONTROL,
+ TSA552x_SCONTROL,
+ 0x00 },
+ { 0x00, 0x00 }, /*
band-switch crosspoints */
+ { 0xa0, 0x90, 0x30, 0x8e } } /*
the band-switch values */
};
--- /sys/dev/bktr/bktr_tuner.h.orig Sun Dec 5
18:48:36 2004
+++ /sys/dev/bktr/bktr_tuner.h Sun Dec 5 22:38:09
2004
@@ -50,7 +50,7 @@
#define TEMIC_PAL 2
#define TEMIC_SECAM 3
#define PHILIPS_NTSC 4
-#define PHILIPS_PAL 5
+#define PHILIPS_PAL 5
#define PHILIPS_SECAM 6
#define TEMIC_PALI 7
@@ -59,7 +59,8 @@
#define PHILIPS_FR1236_SECAM 11 /* These have FM
radio support */
#define ALPS_TSCH5 12
#define ALPS_TSBH1 13
-#define Bt848_MAX_TUNER 14
+#define LG_PAL 14
+#define Bt848_MAX_TUNER 15
/* experimental code for Automatic Frequency Control
*/
#define TUNER_AFC
Cam atat.Intrucat versiunea asta de placa nu are
memorie PCF trebiue date tipul de placa si de tuner
fie in fisierul de configurare al kernelului fie cu
sysctl.
Placa va fi recunoscuta de kernel ca nr 19 iar tunerul
ca nr 14.
Hope it helps !
PS: Trimit patchul si ca atasament.
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
PivelView_Rev.4C_
Description: PivelView_Rev.4C_

