From: Tony Cook <tony-cook@bigpond.com>
To: Video4linux List <video4linux-list@redhat.com>
Subject: [PATCH] em28xx-cards - added composite input capability to Hauppauge WinTV USB 2
Date: Sat, 15 Aug 2009 13:11:55 +0930 [thread overview]
Message-ID: <4A862E83.20801@bigpond.com> (raw)
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 <tony-cook@bigpond.com>"
# Date 1250296801 -34200
# Node ID 93a0e421297b029c61a4837e8f4860669722e8d8
# Parent d2843f5f8fdef65f51ad83f868e5c7f0b2c2e4ce
Added composite input capability to EM2820_BOARD_HAUPPAUGE_WINTV_USB_2
From: Tony Cook <tony-cook@bigpond.com>
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 <tony-cook@bigpond.com>"
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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
reply other threads:[~2009-08-15 3:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A862E83.20801@bigpond.com \
--to=tony-cook@bigpond.com \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox