aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorChristoph Nuscheler <christoph.nuscheler@t-online.de>2013-02-09 13:56:23 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-13 15:05:29 -0500
commited72d37a33fdf43dc47787fe220532cdec9da528 (patch)
tree8adf78a59864771fd6443360bb262461e1f0e43d /drivers/media
parentb9e2afff1e6b36d05a0e12b6114eb0aaf8949c09 (diff)
[media] media: Add 0x3009 USB PID to ttusb2 driver (fixed diff)
The "Technisat SkyStar USB plus" is a TT-connect S-2400 clone, which the V4L-DVB drivers already support. However, some of these devices (like mine) come with a different USB PID 0x3009 instead of 0x3006. There have already been patches simply overwriting the USB PID in dvb-usb-ids.h. Of course these patches were rejected because they would have disabled the 0x3006 PID. This new patch adds the 0x3009 PID to dvb-usb-ids.h, and adds references to it within the ttusb2.c driver. PID 0x3006 devices will continue to work. The only difference between the two hardware models seems to be the EEPROM chip. In fact, Windows BDA driver names the 0x3009 device with a "(8 kB EEPROM)" suffix. In spite of that, the 0x3009 device works absolutely flawlessly using the existing ttusb2 driver. Signed-off-by: Christoph Nuscheler <christoph.nuscheler@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb-core/dvb-usb-ids.h1
-rw-r--r--drivers/media/usb/dvb-usb/ttusb2.c8
2 files changed, 8 insertions, 1 deletions
diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h
index 7e1597dad568..399e1042d351 100644
--- a/drivers/media/dvb-core/dvb-usb-ids.h
+++ b/drivers/media/dvb-core/dvb-usb-ids.h
@@ -242,6 +242,7 @@
242#define USB_PID_AVERMEDIA_A867 0xa867 242#define USB_PID_AVERMEDIA_A867 0xa867
243#define USB_PID_AVERMEDIA_TWINSTAR 0x0825 243#define USB_PID_AVERMEDIA_TWINSTAR 0x0825
244#define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006 244#define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006
245#define USB_PID_TECHNOTREND_CONNECT_S2400_8KEEPROM 0x3009
245#define USB_PID_TECHNOTREND_CONNECT_CT3650 0x300d 246#define USB_PID_TECHNOTREND_CONNECT_CT3650 0x300d
246#define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY 0x005a 247#define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY 0x005a
247#define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2 0x0081 248#define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2 0x0081
diff --git a/drivers/media/usb/dvb-usb/ttusb2.c b/drivers/media/usb/dvb-usb/ttusb2.c
index bcdac225ebe1..2ce3d19c58ef 100644
--- a/drivers/media/usb/dvb-usb/ttusb2.c
+++ b/drivers/media/usb/dvb-usb/ttusb2.c
@@ -620,6 +620,8 @@ static struct usb_device_id ttusb2_table [] = {
620 USB_PID_TECHNOTREND_CONNECT_S2400) }, 620 USB_PID_TECHNOTREND_CONNECT_S2400) },
621 { USB_DEVICE(USB_VID_TECHNOTREND, 621 { USB_DEVICE(USB_VID_TECHNOTREND,
622 USB_PID_TECHNOTREND_CONNECT_CT3650) }, 622 USB_PID_TECHNOTREND_CONNECT_CT3650) },
623 { USB_DEVICE(USB_VID_TECHNOTREND,
624 USB_PID_TECHNOTREND_CONNECT_S2400_8KEEPROM) },
623 {} /* Terminating entry */ 625 {} /* Terminating entry */
624}; 626};
625MODULE_DEVICE_TABLE (usb, ttusb2_table); 627MODULE_DEVICE_TABLE (usb, ttusb2_table);
@@ -721,12 +723,16 @@ static struct dvb_usb_device_properties ttusb2_properties_s2400 = {
721 723
722 .generic_bulk_ctrl_endpoint = 0x01, 724 .generic_bulk_ctrl_endpoint = 0x01,
723 725
724 .num_device_descs = 1, 726 .num_device_descs = 2,
725 .devices = { 727 .devices = {
726 { "Technotrend TT-connect S-2400", 728 { "Technotrend TT-connect S-2400",
727 { &ttusb2_table[2], NULL }, 729 { &ttusb2_table[2], NULL },
728 { NULL }, 730 { NULL },
729 }, 731 },
732 { "Technotrend TT-connect S-2400 (8kB EEPROM)",
733 { &ttusb2_table[4], NULL },
734 { NULL },
735 },
730 } 736 }
731}; 737};
732 738