V4L/DVB (12396): [patch] Added Support for STK7700D (DVB)
authorPete Hildebrandt <send2ph@googlemail.com>
Wed, 5 Aug 2009 14:46:38 +0000 (11:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:36 +0000 (12:18 -0300)
This patch adds support for the STK7700D USB-DVB-Device.

lsusb identifies it as:
idVendor           0x1164 YUAN High-Tech Development Co., Ltd
idProduct          0x1efc
 iProduct                2 STK7700D

The device is build into a Samsung R55-T5500 notebook.

Signed-off-by: Pete Hildebrandt <send2ph@googlemail.com>
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_devices.c
drivers/media/dvb/dvb-usb/dvb-usb-ids.h

index 49fd78118a644979eb7c40f275abe9c86fc02fd4..efbba7029a0566f9a3dbc93ff188347a5b645120 100644 (file)
@@ -1497,6 +1497,7 @@ struct usb_device_id dib0700_usb_id_table[] = {
        { USB_DEVICE(USB_VID_LEADTEK,   USB_PID_WINFAST_DTV_DONGLE_H) },
        { USB_DEVICE(USB_VID_TERRATEC,  USB_PID_TERRATEC_T3) },
        { USB_DEVICE(USB_VID_TERRATEC,  USB_PID_TERRATEC_T5) },
+       { USB_DEVICE(USB_VID_YUAN,      USB_PID_YUAN_STK7700D) },
        { 0 }           /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1822,7 +1823,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
                        },
                },
 
-               .num_device_descs = 8,
+               .num_device_descs = 9,
                .devices = {
                        {   "Terratec Cinergy HT USB XE",
                                { &dib0700_usb_id_table[27], NULL },
@@ -1856,7 +1857,10 @@ struct dvb_usb_device_properties dib0700_devices[] = {
                                { &dib0700_usb_id_table[51], NULL },
                                { NULL },
                        },
-
+                       {   "YUAN High-Tech STK7700D",
+                               { &dib0700_usb_id_table[54], NULL },
+                               { NULL },
+                       },
                },
                .rc_interval      = DEFAULT_RC_INTERVAL,
                .rc_key_map       = dib0700_rc_keys,
index 9593b72899946c3e3f95f97e6cad7ebe191459b6..6eccce1a76f370a1fd5b27f44a99cf71d9fb46dd 100644 (file)
 #define USB_PID_YUAN_STK7700PH                         0x1f08
 #define USB_PID_YUAN_PD378S                            0x2edc
 #define USB_PID_YUAN_MC770                             0x0871
+#define USB_PID_YUAN_STK7700D                          0x1efc
 #define USB_PID_DW2102                                 0x2102
 #define USB_PID_XTENSIONS_XD_380                       0x0381
 #define USB_PID_TELESTAR_STARSTICK_2                   0x8000