Skip to content

Commit 528b1a1

Browse files
dnehring7mchehab
authored andcommitted
media: dvb-usb: Add Cinergy S2 PCIe Dual Port support
Terratec Cinergy S2 PCIe Dual is a PCIe device with two tuners that actually contains two USB devices. The devices are visible in the lsusb printout. Bus 004 Device 002: ID 153b:1182 TerraTec Electronic GmbH Cinergy S2 PCIe Dual Port 2 Bus 003 Device 002: ID 153b:1181 TerraTec Electronic GmbH Cinergy S2 PCIe Dual Port 1 The devices use the Montage M88DS3000/M88TS2022 demod/tuner. Signed-off-by: Dirk Nehring <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 9f984ca commit 528b1a1

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

drivers/media/usb/dvb-usb/dw2102.c

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,6 +1779,8 @@ enum dw2102_table_entry {
17791779
TERRATEC_CINERGY_S2_R2,
17801780
TERRATEC_CINERGY_S2_R3,
17811781
TERRATEC_CINERGY_S2_R4,
1782+
TERRATEC_CINERGY_S2_1,
1783+
TERRATEC_CINERGY_S2_2,
17821784
GOTVIEW_SAT_HD,
17831785
GENIATECH_T220,
17841786
TECHNOTREND_S2_4600,
@@ -1806,9 +1808,16 @@ static struct usb_device_id dw2102_table[] = {
18061808
[X3M_SPC1400HD] = {USB_DEVICE(0x1f4d, 0x3100)},
18071809
[TEVII_S421] = {USB_DEVICE(0x9022, USB_PID_TEVII_S421)},
18081810
[TEVII_S632] = {USB_DEVICE(0x9022, USB_PID_TEVII_S632)},
1809-
[TERRATEC_CINERGY_S2_R2] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_R2)},
1810-
[TERRATEC_CINERGY_S2_R3] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_R3)},
1811-
[TERRATEC_CINERGY_S2_R4] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_R4)},
1811+
[TERRATEC_CINERGY_S2_R2] = {USB_DEVICE(USB_VID_TERRATEC,
1812+
USB_PID_TERRATEC_CINERGY_S2_R2)},
1813+
[TERRATEC_CINERGY_S2_R3] = {USB_DEVICE(USB_VID_TERRATEC,
1814+
USB_PID_TERRATEC_CINERGY_S2_R3)},
1815+
[TERRATEC_CINERGY_S2_R4] = {USB_DEVICE(USB_VID_TERRATEC,
1816+
USB_PID_TERRATEC_CINERGY_S2_R4)},
1817+
[TERRATEC_CINERGY_S2_1] = {USB_DEVICE(USB_VID_TERRATEC_2,
1818+
USB_PID_TERRATEC_CINERGY_S2_1)},
1819+
[TERRATEC_CINERGY_S2_2] = {USB_DEVICE(USB_VID_TERRATEC_2,
1820+
USB_PID_TERRATEC_CINERGY_S2_2)},
18121821
[GOTVIEW_SAT_HD] = {USB_DEVICE(0x1FE1, USB_PID_GOTVIEW_SAT_HD)},
18131822
[GENIATECH_T220] = {USB_DEVICE(0x1f4d, 0xD220)},
18141823
[TECHNOTREND_S2_4600] = {USB_DEVICE(USB_VID_TECHNOTREND,
@@ -2221,7 +2230,7 @@ static struct dvb_usb_device_properties su3000_properties = {
22212230
}},
22222231
}
22232232
},
2224-
.num_device_descs = 6,
2233+
.num_device_descs = 8,
22252234
.devices = {
22262235
{ "SU3000HD DVB-S USB2.0",
22272236
{ &dw2102_table[GENIATECH_SU3000], NULL },
@@ -2243,6 +2252,14 @@ static struct dvb_usb_device_properties su3000_properties = {
22432252
{ &dw2102_table[TERRATEC_CINERGY_S2_R3], NULL },
22442253
{ NULL },
22452254
},
2255+
{ "Terratec Cinergy S2 PCIe Dual Port 1",
2256+
{ &dw2102_table[TERRATEC_CINERGY_S2_1], NULL },
2257+
{ NULL },
2258+
},
2259+
{ "Terratec Cinergy S2 PCIe Dual Port 2",
2260+
{ &dw2102_table[TERRATEC_CINERGY_S2_2], NULL },
2261+
{ NULL },
2262+
},
22462263
{ "GOTVIEW Satellite HD",
22472264
{ &dw2102_table[GOTVIEW_SAT_HD], NULL },
22482265
{ NULL },

include/media/dvb-usb-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
#define USB_VID_REALTEK 0x0bda
5757
#define USB_VID_TECHNOTREND 0x0b48
5858
#define USB_VID_TERRATEC 0x0ccd
59+
#define USB_VID_TERRATEC_2 0x153b
5960
#define USB_VID_TELESTAR 0x10b9
6061
#define USB_VID_VISIONPLUS 0x13d3
6162
#define USB_VID_SONY 0x1415
@@ -280,6 +281,8 @@
280281
#define USB_PID_TERRATEC_CINERGY_S2_R2 0x00b0
281282
#define USB_PID_TERRATEC_CINERGY_S2_R3 0x0102
282283
#define USB_PID_TERRATEC_CINERGY_S2_R4 0x0105
284+
#define USB_PID_TERRATEC_CINERGY_S2_1 0x1181
285+
#define USB_PID_TERRATEC_CINERGY_S2_2 0x1182
283286
#define USB_PID_TERRATEC_H7 0x10b4
284287
#define USB_PID_TERRATEC_H7_2 0x10a3
285288
#define USB_PID_TERRATEC_H7_3 0x10a5

0 commit comments

Comments
 (0)