From: Gareth Williams <gareth@garethwilliams.me.uk>
To: linux-media@vger.kernel.org
Subject: [PATCH 2/2] Added USB Id & configuration array for Honestech Vidbox NW03
Date: Sat, 24 Dec 2011 09:47:29 +0000 [thread overview]
Message-ID: <1678583.ZtWKZmGDtk@kubuntu> (raw)
Adds support for the Honestech Vidbox NW03 USB capture device.
The device has an eMpia EMP202 audio chip which in my Vidbox has a Vendor Id
identical to the STAC9750 therefore my previous patch to change the driver's
Vendor ID recognition is also required for audio to work with this device.
Signed-off-by: Gareth Williams <gareth@garethwilliams.me.uk>
---
linux/drivers/media/video/em28xx/em28xx-cards.c | 18 ++++++++++++++++++
linux/drivers/media/video/em28xx/em28xx.h | 1 +
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c
b/linux/drivers/media/video/em28xx/em28xx-cards.c
index 1704da0..4f55962 100644
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c
@@ -1888,6 +1888,22 @@ struct em28xx_board em28xx_boards[] = {
.has_dvb = 1,
.ir_codes = RC_MAP_PINNACLE_PCTV_HD,
},
+ /* eb1a:5006 Honestech VIDBOX NW03
+ * Empia EM2860, Philips SAA7113, Empia EMP202, No Tuner */
+ [EM2860_BOARD_HT_VIDBOX_NW03] = {
+ .name = "Honestech Vidbox NW03",
+ .tuner_type = TUNER_ABSENT,
+ .decoder = EM28XX_SAA711X,
+ .input = { {
+ .type = EM28XX_VMUX_COMPOSITE1,
+ .vmux = SAA7115_COMPOSITE0,
+ .amux = EM28XX_AMUX_LINE_IN,
+ }, {
+ .type = EM28XX_VMUX_SVIDEO,
+ .vmux = SAA7115_SVIDEO3, /* S-VIDEO needs confirming */
+ .amux = EM28XX_AMUX_LINE_IN,
+ } },
+ },
};
const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);
@@ -2027,6 +2043,8 @@ struct usb_device_id em28xx_id_table[] = {
.driver_info = EM28174_BOARD_PCTV_460E },
{ USB_DEVICE(0x2040, 0x1605),
.driver_info = EM2884_BOARD_HAUPPAUGE_WINTV_HVR_930C },
+ { USB_DEVICE(0xeb1a, 0x5006),
+ .driver_info = EM2860_BOARD_HT_VIDBOX_NW03 },
{ },
};
MODULE_DEVICE_TABLE(usb, em28xx_id_table);
diff --git a/linux/drivers/media/video/em28xx/em28xx.h
b/linux/drivers/media/video/em28xx/em28xx.h
index b1199ef..2dbb12c 100644
--- a/linux/drivers/media/video/em28xx/em28xx.h
+++ b/linux/drivers/media/video/em28xx/em28xx.h
@@ -124,6 +124,7 @@
#define EM28174_BOARD_PCTV_460E 80
#define EM2884_BOARD_HAUPPAUGE_WINTV_HVR_930C 81
#define EM2884_BOARD_CINERGY_HTC_STICK 82
+#define EM2860_BOARD_HT_VIDBOX_NW03 83
/* Limits minimum and default number of buffers */
#define EM28XX_MIN_BUF 4
--
reply other threads:[~2011-12-24 9:47 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=1678583.ZtWKZmGDtk@kubuntu \
--to=gareth@garethwilliams.me.uk \
--cc=linux-media@vger.kernel.org \
/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