diff options
author | Albert Comerma <albert.comerma@gmail.com> | 2008-03-29 20:35:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:56 -0400 |
commit | 6ca8f0b97473dcef3a754bab5239dcfcdd00b244 (patch) | |
tree | 61d03622007db66066ad78958a4e7817faea09c4 /drivers | |
parent | 8c899bce2a5540b19e86dd3b355e5699657da144 (diff) |
V4L/DVB (7473): PATCH for various Dibcom based devices
This patch introduces support for dvb-t for the following DiBcom based cards:
- Terratec Cinergy HT USB XE (USB-ID: 0ccd:0058)
- Terratec Cinergy HT Express (USB-ID: 0ccd:0060)
- Pinnacle 320CX (USB-ID: 2304:022e)
- Pinnacle PCTV72e (USB-ID: 2304:0236)
- Pinnacle PCTV73e (USB-ID: 2304:0237)
- Yuan EC372S (USB-ID: 1164:1edc)
Signed-off-by: Hans-Frieder Vogt <hfvogt@gmx.net>
Signed-off-by: Felix Apitzsch <F.Apitzsch@soz.uni-frankfurt.de>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Albert Comerma <albert.comerma@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dib0700_devices.c | 259 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-ids.h | 9 |
2 files changed, 238 insertions, 30 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c index e7093826e975..9fd8399e5d8f 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include "dib7000p.h" | 13 | #include "dib7000p.h" |
14 | #include "mt2060.h" | 14 | #include "mt2060.h" |
15 | #include "mt2266.h" | 15 | #include "mt2266.h" |
16 | #include "tuner-xc2028.h" | ||
16 | #include "dib0070.h" | 17 | #include "dib0070.h" |
17 | 18 | ||
18 | static int force_lna_activation; | 19 | static int force_lna_activation; |
@@ -297,6 +298,149 @@ static int stk7700d_tuner_attach(struct dvb_usb_adapter *adap) | |||
297 | &stk7700d_mt2266_config[adap->id]) == NULL ? -ENODEV : 0;; | 298 | &stk7700d_mt2266_config[adap->id]) == NULL ? -ENODEV : 0;; |
298 | } | 299 | } |
299 | 300 | ||
301 | /* STK7700-PH: Digital/Analog Hybrid Tuner, e.h. Cinergy HT USB HE */ | ||
302 | struct dibx000_agc_config xc3028_agc_config = { | ||
303 | BAND_VHF | BAND_UHF, /* band_caps */ | ||
304 | |||
305 | /* P_agc_use_sd_mod1=0, P_agc_use_sd_mod2=0, P_agc_freq_pwm_div=0, | ||
306 | * P_agc_inv_pwm1=0, P_agc_inv_pwm2=0, P_agc_inh_dc_rv_est=0, | ||
307 | * P_agc_time_est=3, P_agc_freeze=0, P_agc_nb_est=2, P_agc_write=0 */ | ||
308 | (0 << 15) | (0 << 14) | (0 << 11) | (0 << 10) | (0 << 9) | (0 << 8) | | ||
309 | (3 << 5) | (0 << 4) | (2 << 1) | (0 << 0), /* setup */ | ||
310 | |||
311 | 712, /* inv_gain */ | ||
312 | 21, /* time_stabiliz */ | ||
313 | |||
314 | 0, /* alpha_level */ | ||
315 | 118, /* thlock */ | ||
316 | |||
317 | 0, /* wbd_inv */ | ||
318 | 2867, /* wbd_ref */ | ||
319 | 0, /* wbd_sel */ | ||
320 | 2, /* wbd_alpha */ | ||
321 | |||
322 | 0, /* agc1_max */ | ||
323 | 0, /* agc1_min */ | ||
324 | 39718, /* agc2_max */ | ||
325 | 9930, /* agc2_min */ | ||
326 | 0, /* agc1_pt1 */ | ||
327 | 0, /* agc1_pt2 */ | ||
328 | 0, /* agc1_pt3 */ | ||
329 | 0, /* agc1_slope1 */ | ||
330 | 0, /* agc1_slope2 */ | ||
331 | 0, /* agc2_pt1 */ | ||
332 | 128, /* agc2_pt2 */ | ||
333 | 29, /* agc2_slope1 */ | ||
334 | 29, /* agc2_slope2 */ | ||
335 | |||
336 | 17, /* alpha_mant */ | ||
337 | 27, /* alpha_exp */ | ||
338 | 23, /* beta_mant */ | ||
339 | 51, /* beta_exp */ | ||
340 | |||
341 | 1, /* perform_agc_softsplit */ | ||
342 | }; | ||
343 | |||
344 | /* PLL Configuration for COFDM BW_MHz = 8.00 with external clock = 30.00 */ | ||
345 | struct dibx000_bandwidth_config xc3028_bw_config = { | ||
346 | 60000, 30000, /* internal, sampling */ | ||
347 | 1, 8, 3, 1, 0, /* pll_cfg: prediv, ratio, range, reset, bypass */ | ||
348 | 0, 0, 1, 1, 0, /* misc: refdiv, bypclk_div, IO_CLK_en_core, ADClkSrc, | ||
349 | modulo */ | ||
350 | (3 << 14) | (1 << 12) | (524 << 0), /* sad_cfg: refsel, sel, freq_15k */ | ||
351 | (1 << 25) | 5816102, /* ifreq = 5.200000 MHz */ | ||
352 | 20452225, /* timf */ | ||
353 | 30000000, /* xtal_hz */ | ||
354 | }; | ||
355 | |||
356 | static struct dib7000p_config stk7700ph_dib7700_xc3028_config = { | ||
357 | .output_mpeg2_in_188_bytes = 1, | ||
358 | .tuner_is_baseband = 1, | ||
359 | |||
360 | .agc_config_count = 1, | ||
361 | .agc = &xc3028_agc_config, | ||
362 | .bw = &xc3028_bw_config, | ||
363 | |||
364 | .gpio_dir = DIB7000P_GPIO_DEFAULT_DIRECTIONS, | ||
365 | .gpio_val = DIB7000P_GPIO_DEFAULT_VALUES, | ||
366 | .gpio_pwm_pos = DIB7000P_GPIO_DEFAULT_PWM_POS, | ||
367 | }; | ||
368 | |||
369 | static int stk7700ph_xc3028_callback(void *ptr, int command, int arg) | ||
370 | { | ||
371 | struct dvb_usb_adapter *adap = ptr; | ||
372 | |||
373 | switch (command) { | ||
374 | case XC2028_TUNER_RESET: | ||
375 | /* Send the tuner in then out of reset */ | ||
376 | dib7000p_set_gpio(adap->fe, 8, 0, 0); msleep(10); | ||
377 | dib7000p_set_gpio(adap->fe, 8, 0, 1); | ||
378 | break; | ||
379 | case XC2028_RESET_CLK: | ||
380 | break; | ||
381 | default: | ||
382 | err("%s: unknown command %d, arg %d\n", __func__, | ||
383 | command, arg); | ||
384 | return -EINVAL; | ||
385 | } | ||
386 | return 0; | ||
387 | } | ||
388 | |||
389 | static struct xc2028_ctrl stk7700ph_xc3028_ctrl = { | ||
390 | .fname = XC2028_DEFAULT_FIRMWARE, | ||
391 | .max_len = 64, | ||
392 | .demod = XC3028_FE_DIBCOM52, | ||
393 | }; | ||
394 | |||
395 | static struct xc2028_config stk7700ph_xc3028_config = { | ||
396 | .i2c_addr = 0x61, | ||
397 | .callback = stk7700ph_xc3028_callback, | ||
398 | .ctrl = &stk7700ph_xc3028_ctrl, | ||
399 | }; | ||
400 | |||
401 | static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap) | ||
402 | { | ||
403 | struct usb_device_descriptor *desc = &adap->dev->udev->descriptor; | ||
404 | |||
405 | if (desc->idVendor == USB_VID_PINNACLE && | ||
406 | desc->idProduct == USB_PID_PINNACLE_EXPRESSCARD_320CX) | ||
407 | dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 0); | ||
408 | else | ||
409 | dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1); | ||
410 | msleep(20); | ||
411 | dib0700_set_gpio(adap->dev, GPIO9, GPIO_OUT, 1); | ||
412 | dib0700_set_gpio(adap->dev, GPIO4, GPIO_OUT, 1); | ||
413 | dib0700_set_gpio(adap->dev, GPIO7, GPIO_OUT, 1); | ||
414 | dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0); | ||
415 | msleep(10); | ||
416 | dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 1); | ||
417 | msleep(20); | ||
418 | dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1); | ||
419 | msleep(10); | ||
420 | |||
421 | dib7000p_i2c_enumeration(&adap->dev->i2c_adap, 1, 18, | ||
422 | &stk7700ph_dib7700_xc3028_config); | ||
423 | |||
424 | adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x80, | ||
425 | &stk7700ph_dib7700_xc3028_config); | ||
426 | |||
427 | return adap->fe == NULL ? -ENODEV : 0; | ||
428 | } | ||
429 | |||
430 | static int stk7700ph_tuner_attach(struct dvb_usb_adapter *adap) | ||
431 | { | ||
432 | struct i2c_adapter *tun_i2c; | ||
433 | |||
434 | tun_i2c = dib7000p_get_i2c_master(adap->fe, | ||
435 | DIBX000_I2C_INTERFACE_TUNER, 1); | ||
436 | |||
437 | stk7700ph_xc3028_config.i2c_adap = tun_i2c; | ||
438 | stk7700ph_xc3028_config.video_dev = adap; | ||
439 | |||
440 | return dvb_attach(xc2028_attach, adap->fe, &stk7700ph_xc3028_config) | ||
441 | == NULL ? -ENODEV : 0; | ||
442 | } | ||
443 | |||
300 | #define DEFAULT_RC_INTERVAL 150 | 444 | #define DEFAULT_RC_INTERVAL 150 |
301 | 445 | ||
302 | static u8 rc_request[] = { REQUEST_POLL_RC, 0 }; | 446 | static u8 rc_request[] = { REQUEST_POLL_RC, 0 }; |
@@ -794,6 +938,10 @@ static struct dib7000p_config dib7070p_dib7000p_config = { | |||
794 | /* STK7070P */ | 938 | /* STK7070P */ |
795 | static int stk7070p_frontend_attach(struct dvb_usb_adapter *adap) | 939 | static int stk7070p_frontend_attach(struct dvb_usb_adapter *adap) |
796 | { | 940 | { |
941 | if (adap->dev->udev->descriptor.idVendor == USB_VID_PINNACLE && | ||
942 | adap->dev->udev->descriptor.idProduct == USB_PID_PINNACLE_PCTV72E) | ||
943 | dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 0); | ||
944 | else | ||
797 | dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1); | 945 | dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1); |
798 | msleep(10); | 946 | msleep(10); |
799 | dib0700_set_gpio(adap->dev, GPIO9, GPIO_OUT, 1); | 947 | dib0700_set_gpio(adap->dev, GPIO9, GPIO_OUT, 1); |
@@ -808,9 +956,11 @@ static int stk7070p_frontend_attach(struct dvb_usb_adapter *adap) | |||
808 | msleep(10); | 956 | msleep(10); |
809 | dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1); | 957 | dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1); |
810 | 958 | ||
811 | dib7000p_i2c_enumeration(&adap->dev->i2c_adap, 1, 18, &dib7070p_dib7000p_config); | 959 | dib7000p_i2c_enumeration(&adap->dev->i2c_adap, 1, 18, |
960 | &dib7070p_dib7000p_config); | ||
812 | 961 | ||
813 | adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x80, &dib7070p_dib7000p_config); | 962 | adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x80, |
963 | &dib7070p_dib7000p_config); | ||
814 | return adap->fe == NULL ? -ENODEV : 0; | 964 | return adap->fe == NULL ? -ENODEV : 0; |
815 | } | 965 | } |
816 | 966 | ||
@@ -878,34 +1028,41 @@ static int stk7070pd_frontend_attach1(struct dvb_usb_adapter *adap) | |||
878 | /* DVB-USB and USB stuff follows */ | 1028 | /* DVB-USB and USB stuff follows */ |
879 | struct usb_device_id dib0700_usb_id_table[] = { | 1029 | struct usb_device_id dib0700_usb_id_table[] = { |
880 | /* 0 */ { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7700P) }, | 1030 | /* 0 */ { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7700P) }, |
881 | { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7700P_PC) }, | 1031 | { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7700P_PC) }, |
882 | 1032 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_500) }, | |
883 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_500) }, | 1033 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_500_2) }, |
884 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_500_2) }, | 1034 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK) }, |
885 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK) }, | ||
886 | /* 5 */ { USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_VOLAR) }, | 1035 | /* 5 */ { USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_VOLAR) }, |
887 | { USB_DEVICE(USB_VID_COMPRO, USB_PID_COMPRO_VIDEOMATE_U500) }, | 1036 | { USB_DEVICE(USB_VID_COMPRO, USB_PID_COMPRO_VIDEOMATE_U500) }, |
888 | { USB_DEVICE(USB_VID_UNIWILL, USB_PID_UNIWILL_STK7700P) }, | 1037 | { USB_DEVICE(USB_VID_UNIWILL, USB_PID_UNIWILL_STK7700P) }, |
889 | { USB_DEVICE(USB_VID_LEADTEK, USB_PID_WINFAST_DTV_DONGLE_STK7700P) }, | 1038 | { USB_DEVICE(USB_VID_LEADTEK, USB_PID_WINFAST_DTV_DONGLE_STK7700P) }, |
890 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK_2) }, | 1039 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK_2) }, |
891 | /* 10 */{ USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_VOLAR_2) }, | 1040 | /* 10 */{ USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_VOLAR_2) }, |
892 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV2000E) }, | 1041 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV2000E) }, |
893 | { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY) }, | 1042 | { USB_DEVICE(USB_VID_TERRATEC, |
894 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_TD_STICK) }, | 1043 | USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY) }, |
895 | { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7700D) }, | 1044 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_TD_STICK) }, |
1045 | { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7700D) }, | ||
896 | /* 15 */{ USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7070P) }, | 1046 | /* 15 */{ USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7070P) }, |
897 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV_DVB_T_FLASH) }, | 1047 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV_DVB_T_FLASH) }, |
898 | { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7070PD) }, | 1048 | { USB_DEVICE(USB_VID_DIBCOM, USB_PID_DIBCOM_STK7070PD) }, |
899 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV_DUAL_DIVERSITY_DVB_T) }, | 1049 | { USB_DEVICE(USB_VID_PINNACLE, |
900 | { USB_DEVICE(USB_VID_COMPRO, USB_PID_COMPRO_VIDEOMATE_U500_PC) }, | 1050 | USB_PID_PINNACLE_PCTV_DUAL_DIVERSITY_DVB_T) }, |
1051 | { USB_DEVICE(USB_VID_COMPRO, USB_PID_COMPRO_VIDEOMATE_U500_PC) }, | ||
901 | /* 20 */{ USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_EXPRESS) }, | 1052 | /* 20 */{ USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_EXPRESS) }, |
902 | { USB_DEVICE(USB_VID_GIGABYTE, USB_PID_GIGABYTE_U7000) }, | 1053 | { USB_DEVICE(USB_VID_GIGABYTE, USB_PID_GIGABYTE_U7000) }, |
903 | { USB_DEVICE(USB_VID_ULTIMA_ELECTRONIC, USB_PID_ARTEC_T14BR) }, | 1054 | { USB_DEVICE(USB_VID_ULTIMA_ELECTRONIC, USB_PID_ARTEC_T14BR) }, |
904 | { USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3000) }, | 1055 | { USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3000) }, |
905 | { USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3100) }, | 1056 | { USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3100) }, |
906 | /* 25 */ { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK_3) }, | 1057 | /* 25 */{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK_3) }, |
907 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_MYTV_T) }, | 1058 | { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_MYTV_T) }, |
908 | { 0 } /* Terminating entry */ | 1059 | { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_HT_USB_XE) }, |
1060 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_EXPRESSCARD_320CX) }, | ||
1061 | { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV72E) }, | ||
1062 | /* 30 */{ USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV73E) }, | ||
1063 | { USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_EC372S) }, | ||
1064 | { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_HT_EXPRESS) }, | ||
1065 | { 0 } /* Terminating entry */ | ||
909 | }; | 1066 | }; |
910 | MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); | 1067 | MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); |
911 | 1068 | ||
@@ -1069,12 +1226,16 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
1069 | }, | 1226 | }, |
1070 | }, | 1227 | }, |
1071 | 1228 | ||
1072 | .num_device_descs = 1, | 1229 | .num_device_descs = 2, |
1073 | .devices = { | 1230 | .devices = { |
1074 | { "ASUS My Cinema U3000 Mini DVBT Tuner", | 1231 | { "ASUS My Cinema U3000 Mini DVBT Tuner", |
1075 | { &dib0700_usb_id_table[23], NULL }, | 1232 | { &dib0700_usb_id_table[23], NULL }, |
1076 | { NULL }, | 1233 | { NULL }, |
1077 | }, | 1234 | }, |
1235 | { "Yuan EC372S", | ||
1236 | { &dib0700_usb_id_table[31], NULL }, | ||
1237 | { NULL }, | ||
1238 | } | ||
1078 | } | 1239 | } |
1079 | }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, | 1240 | }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, |
1080 | 1241 | ||
@@ -1090,7 +1251,7 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
1090 | }, | 1251 | }, |
1091 | }, | 1252 | }, |
1092 | 1253 | ||
1093 | .num_device_descs = 6, | 1254 | .num_device_descs = 8, |
1094 | .devices = { | 1255 | .devices = { |
1095 | { "DiBcom STK7070P reference design", | 1256 | { "DiBcom STK7070P reference design", |
1096 | { &dib0700_usb_id_table[15], NULL }, | 1257 | { &dib0700_usb_id_table[15], NULL }, |
@@ -1116,6 +1277,14 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
1116 | { &dib0700_usb_id_table[26], NULL }, | 1277 | { &dib0700_usb_id_table[26], NULL }, |
1117 | { NULL }, | 1278 | { NULL }, |
1118 | }, | 1279 | }, |
1280 | { "Pinnacle PCTV 72e", | ||
1281 | { &dib0700_usb_id_table[29], NULL }, | ||
1282 | { NULL }, | ||
1283 | }, | ||
1284 | { "Pinnacle PCTV 73e", | ||
1285 | { &dib0700_usb_id_table[30], NULL }, | ||
1286 | { NULL }, | ||
1287 | }, | ||
1119 | }, | 1288 | }, |
1120 | 1289 | ||
1121 | .rc_interval = DEFAULT_RC_INTERVAL, | 1290 | .rc_interval = DEFAULT_RC_INTERVAL, |
@@ -1155,6 +1324,40 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
1155 | { NULL }, | 1324 | { NULL }, |
1156 | } | 1325 | } |
1157 | } | 1326 | } |
1327 | }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, | ||
1328 | |||
1329 | .num_adapters = 1, | ||
1330 | .adapter = { | ||
1331 | { | ||
1332 | .frontend_attach = stk7700ph_frontend_attach, | ||
1333 | .tuner_attach = stk7700ph_tuner_attach, | ||
1334 | |||
1335 | DIB0700_DEFAULT_STREAMING_CONFIG(0x02), | ||
1336 | |||
1337 | .size_of_priv = sizeof(struct | ||
1338 | dib0700_adapter_state), | ||
1339 | }, | ||
1340 | }, | ||
1341 | |||
1342 | .num_device_descs = 3, | ||
1343 | .devices = { | ||
1344 | { "Terratec Cinergy HT USB XE", | ||
1345 | { &dib0700_usb_id_table[27], NULL }, | ||
1346 | { NULL }, | ||
1347 | }, | ||
1348 | { "Pinnacle Expresscard 320cx", | ||
1349 | { &dib0700_usb_id_table[28], NULL }, | ||
1350 | { NULL }, | ||
1351 | }, | ||
1352 | { "Terratec Cinergy HT Express", | ||
1353 | { &dib0700_usb_id_table[32], NULL }, | ||
1354 | { NULL }, | ||
1355 | }, | ||
1356 | }, | ||
1357 | .rc_interval = DEFAULT_RC_INTERVAL, | ||
1358 | .rc_key_map = dib0700_rc_keys, | ||
1359 | .rc_key_map_size = ARRAY_SIZE(dib0700_rc_keys), | ||
1360 | .rc_query = dib0700_rc_query | ||
1158 | }, | 1361 | }, |
1159 | }; | 1362 | }; |
1160 | 1363 | ||
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h index 2cbfd6694cf9..2214bfe80940 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h | |||
@@ -47,8 +47,8 @@ | |||
47 | #define USB_VID_ULTIMA_ELECTRONIC 0x05d8 | 47 | #define USB_VID_ULTIMA_ELECTRONIC 0x05d8 |
48 | #define USB_VID_UNIWILL 0x1584 | 48 | #define USB_VID_UNIWILL 0x1584 |
49 | #define USB_VID_WIDEVIEW 0x14aa | 49 | #define USB_VID_WIDEVIEW 0x14aa |
50 | /* dom : pour gigabyte u7000 */ | ||
51 | #define USB_VID_GIGABYTE 0x1044 | 50 | #define USB_VID_GIGABYTE 0x1044 |
51 | #define USB_VID_YUAN 0x1164 | ||
52 | 52 | ||
53 | 53 | ||
54 | /* Product IDs */ | 54 | /* Product IDs */ |
@@ -137,9 +137,14 @@ | |||
137 | #define USB_PID_AVERMEDIA_VOLAR_2 0xb808 | 137 | #define USB_PID_AVERMEDIA_VOLAR_2 0xb808 |
138 | #define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006 | 138 | #define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006 |
139 | #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY 0x005a | 139 | #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY 0x005a |
140 | #define USB_PID_TERRATEC_CINERGY_HT_USB_XE 0x0058 | ||
141 | #define USB_PID_TERRATEC_CINERGY_HT_EXPRESS 0x0060 | ||
142 | #define USB_PID_PINNACLE_EXPRESSCARD_320CX 0x022e | ||
140 | #define USB_PID_PINNACLE_PCTV2000E 0x022c | 143 | #define USB_PID_PINNACLE_PCTV2000E 0x022c |
141 | #define USB_PID_PINNACLE_PCTV_DVB_T_FLASH 0x0228 | 144 | #define USB_PID_PINNACLE_PCTV_DVB_T_FLASH 0x0228 |
142 | #define USB_PID_PINNACLE_PCTV_DUAL_DIVERSITY_DVB_T 0x0229 | 145 | #define USB_PID_PINNACLE_PCTV_DUAL_DIVERSITY_DVB_T 0x0229 |
146 | #define USB_PID_PINNACLE_PCTV72E 0x0236 | ||
147 | #define USB_PID_PINNACLE_PCTV73E 0x0237 | ||
143 | #define USB_PID_PCTV_200E 0x020e | 148 | #define USB_PID_PCTV_200E 0x020e |
144 | #define USB_PID_PCTV_400E 0x020f | 149 | #define USB_PID_PCTV_400E 0x020f |
145 | #define USB_PID_PCTV_450E 0x0222 | 150 | #define USB_PID_PCTV_450E 0x0222 |
@@ -185,9 +190,9 @@ | |||
185 | #define USB_PID_OPERA1_WARM 0x3829 | 190 | #define USB_PID_OPERA1_WARM 0x3829 |
186 | #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_COLD 0x0514 | 191 | #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_COLD 0x0514 |
187 | #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_WARM 0x0513 | 192 | #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_WARM 0x0513 |
188 | /* dom pour gigabyte u7000 */ | ||
189 | #define USB_PID_GIGABYTE_U7000 0x7001 | 193 | #define USB_PID_GIGABYTE_U7000 0x7001 |
190 | #define USB_PID_ASUS_U3000 0x171f | 194 | #define USB_PID_ASUS_U3000 0x171f |
191 | #define USB_PID_ASUS_U3100 0x173f | 195 | #define USB_PID_ASUS_U3100 0x173f |
196 | #define USB_PID_YUAN_EC372S 0x1edc | ||
192 | 197 | ||
193 | #endif | 198 | #endif |