Signed-off-by: Albert Comerma <albert.comerma@xxxxxxxxx>
Albert
diff -crB v4l-dvb-orig/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c v4l-72e/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c *** v4l-dvb-orig/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c 2008-03-18 18:49:45.000000000 +0100 --- v4l-72e/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c 2008-03-18 20:39:28.000000000 +0100 *************** *** 794,800 **** /* STK7070P */ static int stk7070p_frontend_attach(struct dvb_usb_adapter *adap) { ! dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1); msleep(10); dib0700_set_gpio(adap->dev, GPIO9, GPIO_OUT, 1); dib0700_set_gpio(adap->dev, GPIO4, GPIO_OUT, 1); --- 794,801 ---- /* STK7070P */ static int stk7070p_frontend_attach(struct dvb_usb_adapter *adap) { ! if(adap->dev->udev->descriptor.idVendor == USB_VID_PINNACLE && adap->dev->udev->descriptor.idProduct == USB_PID_PINNACLE_PCTV72E) dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 0); ! else dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1); msleep(10); dib0700_set_gpio(adap->dev, GPIO9, GPIO_OUT, 1); dib0700_set_gpio(adap->dev, GPIO4, GPIO_OUT, 1); *************** *** 905,910 **** --- 906,912 ---- { USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3100) }, /* 25 */ { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK_3) }, { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_MYTV_T) }, + { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PINNACLE_PCTV72E) }, { 0 } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); *************** *** 1090,1096 **** }, }, ! .num_device_descs = 6, .devices = { { "DiBcom STK7070P reference design", { &dib0700_usb_id_table[15], NULL }, --- 1092,1098 ---- }, }, ! .num_device_descs = 7, .devices = { { "DiBcom STK7070P reference design", { &dib0700_usb_id_table[15], NULL }, *************** *** 1116,1121 **** --- 1118,1127 ---- { &dib0700_usb_id_table[26], NULL }, { NULL }, }, + { "Pinnacle PCTV 72e DVB-T", + { &dib0700_usb_id_table[27], NULL }, + { NULL }, + }, }, .rc_interval = DEFAULT_RC_INTERVAL, diff -crB v4l-dvb-orig/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h v4l-72e/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h *** v4l-dvb-orig/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h 2008-03-18 18:49:45.000000000 +0100 --- v4l-72e/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h 2008-03-18 20:39:44.000000000 +0100 *************** *** 46,52 **** #define USB_VID_ULTIMA_ELECTRONIC 0x05d8 #define USB_VID_UNIWILL 0x1584 #define USB_VID_WIDEVIEW 0x14aa - /* dom : pour gigabyte u7000 */ #define USB_VID_GIGABYTE 0x1044 --- 46,51 ---- *************** *** 136,141 **** --- 135,141 ---- #define USB_PID_AVERMEDIA_VOLAR_2 0xb808 #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY 0x005a #define USB_PID_PINNACLE_PCTV2000E 0x022c + #define USB_PID_PINNACLE_PCTV72E 0x0236 #define USB_PID_PINNACLE_PCTV_DVB_T_FLASH 0x0228 #define USB_PID_PINNACLE_PCTV_DUAL_DIVERSITY_DVB_T 0x0229 #define USB_PID_PCTV_200E 0x020e *************** *** 183,189 **** #define USB_PID_OPERA1_WARM 0x3829 #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_COLD 0x0514 #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_WARM 0x0513 - /* dom pour gigabyte u7000 */ #define USB_PID_GIGABYTE_U7000 0x7001 #define USB_PID_ASUS_U3000 0x171f #define USB_PID_ASUS_U3100 0x173f --- 183,188 ----
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb