Patch to add new card to saa7134

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



This patch adds (at least) video support for the Compro Videomate TV card. This is an SAA7133 based card with a Philips tuner. [It is also dirt cheap!] I haven't tested sound -- my real interest is just in the video section (and my linux box doesn't have sound working anyway)

philip
diff -u saa7134-0.2.9-orig/saa7134-cards.c saa7134-0.2.9/saa7134-cards.c
--- saa7134-0.2.9-orig/saa7134-cards.c	2003-08-26 07:42:52.000000000 -0400
+++ saa7134-0.2.9/saa7134-cards.c	2003-09-10 21:18:33.000000000 -0400
@@ -535,6 +535,25 @@
 		.has_ts    = 1,
 		.video_out = CCIR656,
 	},
+	[SAA7134_BOARD_VIDEOMATE_TV] = {
+                .name           = "Compro VideoMate TV",
+		.audio_clock    = 0x00187de7,
+		.tuner_type     = TUNER_PHILIPS_NTSC_M,
+                .inputs         = {{
+                        .name = name_svideo,
+                        .vmux = 8,
+                        .amux = LINE1,
+                },{
+                        .name = name_comp1,
+                        .vmux = 3,
+                        .amux = LINE1,
+                },{
+                        .name = name_tv,
+                        .vmux = 1,
+                        .amux = LINE2,
+                        .tv   = 1,
+                }},
+        },
 };
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
 
@@ -632,6 +651,13 @@
                 .subvendor    = 0x1131,
                 .subdevice    = 0x7133,
 		.driver_data  = SAA7134_BOARD_VA1000POWER,
+        },{
+		/* COMPRO Videomate TV */
+		.vendor       = PCI_VENDOR_ID_PHILIPS,
+		.device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
+                .subvendor    = 0x185b,
+                .subdevice    = 0xc100,
+		.driver_data  = SAA7134_BOARD_VIDEOMATE_TV,
 	},{
 		
 		/* --- boards without eeprom + subsystem ID --- */
diff -u saa7134-0.2.9-orig/saa7134.h saa7134-0.2.9/saa7134.h
--- saa7134-0.2.9-orig/saa7134.h	2003-08-27 06:35:01.000000000 -0400
+++ saa7134-0.2.9/saa7134.h	2003-09-10 21:19:00.000000000 -0400
@@ -163,6 +164,7 @@
 #define SAA7134_BOARD_ASUSTeK_TVFM7134 16
 #define SAA7134_BOARD_VA1000POWER      17
 #define SAA7134_BOARD_BMK_MPEX_NOTUNER 18
+#define SAA7134_BOARD_VIDEOMATE_TV     19
 
 #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