[media] af9015: add support for Sveon STV22 [1b80:e401]
authorEmilio David Diaus Lopez <reality_es@yahoo.es>
Tue, 12 Jul 2011 22:53:39 +0000 (19:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:55:58 +0000 (17:55 -0300)
Signed-off-by: Emilio David Diaus Lopez <reality_es@yahoo.es>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/af9015.c
drivers/media/dvb/dvb-usb/dvb-usb-ids.h

index be6306b48a5df6d6ede3f6c412b4e87f92ea911b..d7ad05fc383b7a8422fb8d1b8425bb87862790ed 100644 (file)
@@ -766,6 +766,8 @@ static const struct af9015_rc_setup af9015_rc_setup_usbids[] = {
                RC_MAP_DIGITALNOW_TINYTWIN },
        { (USB_VID_GTEK << 16) + USB_PID_TINYTWIN_3,
                RC_MAP_DIGITALNOW_TINYTWIN },
+       { (USB_VID_KWORLD_2 << 16) + USB_PID_SVEON_STV22,
+               RC_MAP_MSI_DIGIVOX_III },
        { }
 };
 
@@ -1282,6 +1284,7 @@ static struct usb_device_id af9015_usb_table[] = {
                USB_PID_TERRATEC_CINERGY_T_STICK_DUAL_RC)},
 /* 35 */{USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A850T)},
        {USB_DEVICE(USB_VID_GTEK,      USB_PID_TINYTWIN_3)},
+       {USB_DEVICE(USB_VID_KWORLD_2,  USB_PID_SVEON_STV22)},
        {0},
 };
 MODULE_DEVICE_TABLE(usb, af9015_usb_table);
@@ -1475,7 +1478,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
 
                .i2c_algo = &af9015_i2c_algo,
 
-               .num_device_descs = 9, /* check max from dvb-usb.h */
+               .num_device_descs = 10, /* check max from dvb-usb.h */
                .devices = {
                        {
                                .name = "Xtensions XD-380",
@@ -1527,6 +1530,11 @@ static struct dvb_usb_device_properties af9015_properties[] = {
                                .cold_ids = {&af9015_usb_table[20], NULL},
                                .warm_ids = {NULL},
                        },
+                       {
+                               .name = "Sveon STV22 Dual USB DVB-T Tuner HDTV",
+                               .cold_ids = {&af9015_usb_table[37], NULL},
+                               .warm_ids = {NULL},
+                       },
                }
        }, {
                .caps = DVB_USB_IS_AN_I2C_ADAPTER,
index 20e47882827b8827ba8fc8b4188b4d1119b19e05..2a79b8fb3e8dc283ddb8ee8a466b9696440eb620 100644 (file)
 #define USB_PID_FRIIO_WHITE                            0x0001
 #define USB_PID_TVWAY_PLUS                             0x0002
 #define USB_PID_SVEON_STV20                            0xe39d
+#define USB_PID_SVEON_STV22                            0xe401
 #define USB_PID_AZUREWAVE_AZ6027                       0x3275
 #define USB_PID_TERRATEC_DVBS2CI_V1                    0x10a4
 #define USB_PID_TERRATEC_DVBS2CI_V2                    0x10ac