[linux-dvb] Fwd: [PATCH] Pinnacle PCTV Sat Pro USB (450e) support
by ttusb2.c (400e driver)
Christophe Cattelain
xof at skynet.be
Wed Feb 7 09:01:45 CET 2007
from Christophe Cattelain <xof at skynet.be>
Added USB_PID_PCTV_450E to the 'usb_device_id ttusb2_table' and an entry
in the .devices table.
The 400e driver now supports the 'Pinnacle PCTV Sat Pro USB (450e)' with
USB_ID 2304:0222.
Signed-off-by: Christophe Cattelain <xof at skynet.be>
---
tested on a Ubuntu 6.06.1 LTS, 2.6.15-27-386.
-------------- next part --------------
diff -r 3f061cb1de09 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h Wed Feb 7 00:59:18 2007
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h Wed Feb 7 08:19:51 2007
@@ -125,6 +125,7 @@
#define USB_PID_KYE_DVB_T_WARM 0x701f
#define USB_PID_PCTV_200E 0x020e
#define USB_PID_PCTV_400E 0x020f
+#define USB_PID_PCTV_450E 0x0222
#define USB_PID_LITEON_DVB_T_COLD 0xf000
#define USB_PID_LITEON_DVB_T_WARM 0xf001
#define USB_PID_DIGIVOX_MINI_SL_COLD 0xe360
diff -r 3f061cb1de09 linux/drivers/media/dvb/dvb-usb/ttusb2.c
--- a/linux/drivers/media/dvb/dvb-usb/ttusb2.c Wed Feb 7 00:59:18 2007
+++ b/linux/drivers/media/dvb/dvb-usb/ttusb2.c Wed Feb 7 08:19:51 2007
@@ -190,6 +190,7 @@
static struct usb_device_id ttusb2_table [] = {
{ USB_DEVICE(USB_VID_PINNACLE, USB_PID_PCTV_400E) },
+ { USB_DEVICE(USB_VID_PINNACLE, USB_PID_PCTV_450E) },
{} /* Terminating entry */
};
MODULE_DEVICE_TABLE (usb, ttusb2_table);
@@ -233,12 +234,16 @@
.generic_bulk_ctrl_endpoint = 0x01,
- .num_device_descs = 1,
+ .num_device_descs = 2,
.devices = {
{ "Pinnacle 400e DVB-S USB2.0",
{ &ttusb2_table[0], NULL },
{ NULL },
},
+ { "Pinnacle 450e DVB-S USB2.0",
+ { &ttusb2_table[1], NULL },
+ { NULL },
+ },
}
};
More information about the linux-dvb
mailing list