patch[saa7134-0.2.9+snapshot]: pinnacle pctv stereo (experimental)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Gerd,
please apply this patch for latest card variation (untested).

Regards, Gunther

diff -Nur video4linux-20031218/saa7134-cards.c video4linux-20031218gm/saa7134-cards.c
--- video4linux-20031218/saa7134-cards.c        2003-12-17 11:32:01.000000000 +0100
+++ video4linux-20031218gm/saa7134-cards.c      2003-12-22 21:52:11.000000000 +0100
@@ -641,7 +641,7 @@
                 }},
         },
        [SAA7134_BOARD_MD2819] = {
-               .name           = "Medion 2819",
+               .name           = "Medion 2819/ AverMedia M156",
                .audio_clock    = 0x00187de7,
                .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
                .need_tda9887   = 1,
@@ -707,6 +707,35 @@
                         .amux = LINE1,
                 },
         },
+       [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {                //untested
+                .name           = "Pinnacle PCTV Stereo (saa7134)",
+                .audio_clock    = 0x00187de7,
+                .tuner_type     = TUNER_MT2032,
+                .need_tda9887   = 1,
+                .inputs         = {{
+                        .name = name_tv,
+                        .vmux = 1,
+                        .amux = TV,
+                        .tv   = 1,
+                },{
+                        .name = name_comp1,
+                        .vmux = 0,
+                        .amux = LINE2,
+                },{
+                        .name = name_comp2,
+                        .vmux = 3,
+                        .amux = LINE2,
+                },{
+                        .name = name_svideo,
+                        .vmux = 8,
+                        .amux = LINE2,
+                }},
+                .radio = {
+                        .name = name_radio,
+                        .amux = LINE1,
+                },
+        },
+

 };
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -848,6 +877,12 @@
                 .subdevice    = 0xa70b,
                .driver_data  = SAA7134_BOARD_MD2819,
        },{
+                .vendor       = PCI_VENDOR_ID_PHILIPS,
+                .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
+                .subvendor    = 0x11bd,
+                .subdevice    = 0x002b,
+                .driver_data  = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
+        },{

                /* --- boards without eeprom + subsystem ID --- */
                 .vendor       = PCI_VENDOR_ID_PHILIPS,
diff -Nur video4linux-20031218/saa7134.h video4linux-20031218gm/saa7134.h
--- video4linux-20031218/saa7134.h      2003-12-17 11:32:01.000000000 +0100
+++ video4linux-20031218gm/saa7134.h    2003-12-22 21:50:21.000000000 +0100
@@ -174,6 +174,7 @@
 #define SAA7134_BOARD_BMK_MPEX_TUNER   23
 #define SAA7134_BOARD_TVSTATION_DVR    24
 #define SAA7134_BOARD_ASUSTEK_TVFM7133 25
+#define SAA7134_BOARD_PINNACLE_PCTV_STEREO 26

 #define SAA7134_INPUT_MAX 8

diff -Nur video4linux-20031218/saa7134-cards.c video4linux-20031218gm/saa7134-cards.c
--- video4linux-20031218/saa7134-cards.c	2003-12-17 11:32:01.000000000 +0100
+++ video4linux-20031218gm/saa7134-cards.c	2003-12-22 21:52:11.000000000 +0100
@@ -641,7 +641,7 @@
                 }},
         },
 	[SAA7134_BOARD_MD2819] = {
-		.name           = "Medion 2819",
+		.name           = "Medion 2819/ AverMedia M156",
 		.audio_clock    = 0x00187de7,
 		.tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
 		.need_tda9887   = 1,
@@ -707,6 +707,35 @@
                         .amux = LINE1,
                 },
         },
+	[SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {		//untested
+                .name           = "Pinnacle PCTV Stereo (saa7134)",
+                .audio_clock    = 0x00187de7,
+                .tuner_type     = TUNER_MT2032,
+                .need_tda9887   = 1,
+                .inputs         = {{
+                        .name = name_tv,
+                        .vmux = 1,
+                        .amux = TV,
+                        .tv   = 1,
+                },{
+                        .name = name_comp1,
+                        .vmux = 0,
+                        .amux = LINE2,
+                },{
+                        .name = name_comp2,
+                        .vmux = 3,
+                        .amux = LINE2,
+                },{
+                        .name = name_svideo,
+                        .vmux = 8,
+                        .amux = LINE2,
+                }},
+                .radio = {
+                        .name = name_radio,
+                        .amux = LINE1,
+                },
+        },
+
 
 };
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -848,6 +877,12 @@
                 .subdevice    = 0xa70b,
 		.driver_data  = SAA7134_BOARD_MD2819,
 	},{
+                .vendor       = PCI_VENDOR_ID_PHILIPS,
+                .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
+                .subvendor    = 0x11bd,
+                .subdevice    = 0x002b,
+                .driver_data  = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
+        },{
 		
 		/* --- boards without eeprom + subsystem ID --- */
                 .vendor       = PCI_VENDOR_ID_PHILIPS,
diff -Nur video4linux-20031218/saa7134.h video4linux-20031218gm/saa7134.h
--- video4linux-20031218/saa7134.h	2003-12-17 11:32:01.000000000 +0100
+++ video4linux-20031218gm/saa7134.h	2003-12-22 21:50:21.000000000 +0100
@@ -174,6 +174,7 @@
 #define SAA7134_BOARD_BMK_MPEX_TUNER   23
 #define SAA7134_BOARD_TVSTATION_DVR    24
 #define SAA7134_BOARD_ASUSTEK_TVFM7133	25
+#define SAA7134_BOARD_PINNACLE_PCTV_STEREO 26
 
 #define SAA7134_INPUT_MAX 8
 

[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux