[PATCH 1/1] em28xx: Add Pinnacle Dazzle DVC 100

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

 



Hi,

this patch adds support for the Pinnacle Dazzle DVD Recorder DVC 100.
Tested on 2.6.20 series kernel, digitizing from the composite input, and it
works fine.  This code came from 'Bernd' at:

http://www.linuxquestions.org/questions/showthread.php?t=497596

He mentions that his patches were submitted upstream, but the changes aren't 
in the v4l-dvb Mercurial repo, so, here they are again.

These instructions are also very helpful for using the device on Linux:

http://www.lea-linux.org/cached/index/Num%C3%A9riser_une_cassette_VHS_sous_Linux.html

Signed-off-by: Paul Walmsley <paul@xxxxxxxxxxx>

---
 linux/drivers/media/video/em28xx/em28xx-cards.c |   17 +++++++++++++++++
 linux/drivers/media/video/em28xx/em28xx.h       |    1 +
 2 files changed, 18 insertions(+)

Index: v4l-dvb/linux/drivers/media/video/em28xx/em28xx-cards.c
===================================================================
--- v4l-dvb.orig/linux/drivers/media/video/em28xx/em28xx-cards.c
+++ v4l-dvb/linux/drivers/media/video/em28xx/em28xx-cards.c
@@ -334,6 +334,22 @@ struct em28xx_board em28xx_boards[] = {
 			.amux     = 1,
 		}},
 	},
+	[EM2820_BOARD_PINNACLE_DVC_100] = {
+		.name         = "Pinnacle Dazzle DVC 100",
+		.vchannels    = 3,
+		.norm         = VIDEO_MODE_PAL,
+		.has_tuner    = 0,
+		.decoder      = EM28XX_SAA7113,
+		.input          = {{
+			.type     = EM28XX_VMUX_COMPOSITE1,
+			.vmux     = SAA7115_COMPOSITE0,
+			.amux     = 1,
+		},{
+			.type     = EM28XX_VMUX_SVIDEO,
+			.vmux     = SAA7115_SVIDEO3,
+			.amux     = 1,
+		}},
+	},
 };
 const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);
 
@@ -345,6 +361,7 @@ struct usb_device_id em28xx_id_table [] 
 	{ USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 },
 	{ USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 },
 	{ USB_DEVICE(0x2304, 0x0207), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 },
+	{ USB_DEVICE(0x2304, 0x021a), .driver_info = EM2820_BOARD_PINNACLE_DVC_100 },
 #ifdef CONFIG_XC3028
 	{ USB_DEVICE(0x2040, 0x6500), .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900 },
 	{ USB_DEVICE(0x0ccd, 0x0042), .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS },
Index: v4l-dvb/linux/drivers/media/video/em28xx/em28xx.h
===================================================================
--- v4l-dvb.orig/linux/drivers/media/video/em28xx/em28xx.h
+++ v4l-dvb/linux/drivers/media/video/em28xx/em28xx.h
@@ -49,6 +49,7 @@
 #define EM2880_BOARD_TERRATEC_HYBRID_XS		11
 #define EM2820_BOARD_KWORLD_PVRTV2800RF		12
 #define EM2880_BOARD_TERRATEC_PRODIGY_XS	13
+#define EM2820_BOARD_PINNACLE_DVC_100		14
 
 #define UNSET -1
 

-- 


_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux