[PATCH] em28xx-cards - added composite input capability to Hauppauge WinTV USB 2

Tony Cook <[email protected]>
Newsgroups gmane.comp.video.video4linux
Message-ID <[email protected]>
The Hauppauge WinTV USB 2 device has a composite input capability via the s-video input
connector and a presumably proprietary adapter cable. In order to be able to select this
capability it needs to be added to the descriptor table at EM2820_BOARD_HAUPPAUGE_WINTV_USB_2
which is what this patch does.

I have tested the resulting 3 possible input modes with this patch with success.

--

# HG changeset patch
# User "Tony Cook <[email protected]>"
# Date 1250296801 -34200
# Node ID 93a0e421297b029c61a4837e8f4860669722e8d8
# Parent  d2843f5f8fdef65f51ad83f868e5c7f0b2c2e4ce
Added composite input capability to EM2820_BOARD_HAUPPAUGE_WINTV_USB_2

From: Tony Cook <[email protected]>

The Hauppauge WinTV USB 2 device has a composite input capability via
a provided adapter cable that plugs into the s-video input connector.

Priority: normal

Signed-off-by: "Tony Cook <[email protected]>"

diff -r d2843f5f8fde -r 93a0e421297b linux/drivers/media/video/em28xx/em28xx-cards.c
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c	Tue Aug 11 13:58:54 2009 -0300
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c	Sat Aug 15 10:10:01 2009 +0930
@@ -362,6 +362,11 @@
 			.vmux     = TVP5150_COMPOSITE0,
 			.amux     = MSP_INPUT_DEFAULT,
 		}, {
+			.type     = EM28XX_VMUX_COMPOSITE1,
+			.vmux     = TVP5150_COMPOSITE1,
+			.amux     = MSP_INPUT(MSP_IN_SCART1, MSP_IN_TUNER1,
+					MSP_DSP_IN_SCART, MSP_DSP_IN_SCART),
+		}, {
 			.type     = EM28XX_VMUX_SVIDEO,
 			.vmux     = TVP5150_SVIDEO,
 			.amux     = MSP_INPUT(MSP_IN_SCART1, MSP_IN_TUNER1,


-- 
Tony Cook
Lewiston 5501
Ph.  +61 (0)8 8524 3418
Mob. +61 (0)4 2885 2512

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.