]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[media] Added USB Id & configuration array for Honestech Vidbox NW03
authorGareth Williams <gareth@garethwilliams.me.uk>
Sat, 24 Dec 2011 08:47:29 +0000 (05:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 13:27:33 +0000 (11:27 -0200)
Adds support for the Honestech Vidbox NW03 USB capture device.

Signed-off-by: Gareth Williams <gareth@garethwilliams.me.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx.h

index 67b897336281a9a11613b47bc90e81dfcfa72399..b95e66146501b974df736f6758d45ec79e2f985a 100644 (file)
@@ -1892,6 +1892,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);
 
@@ -2037,6 +2053,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);
index b1199ef6da681eb0c594c8d60106acaab64cc82c..2dbb12c7333958895cd669dcb14304aaa4ae1e81 100644 (file)
 #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