Selaa lähdekoodia

V4L/DVB (4651): Adding another USB product ID for Nova-T 500

Adding another USB product ID for the Nova-T 500. Reported by Jose Alberto Reguero.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Patrick Boettcher 18 vuotta sitten
vanhempi
commit
d535cfa776

+ 4 - 3
drivers/media/dvb/dvb-usb/dib0700_devices.c

@@ -114,6 +114,7 @@ static int stk7700p_tuner_attach(struct dvb_usb_adapter *adap)
 struct usb_device_id dib0700_usb_id_table[] = {
 		{ USB_DEVICE(USB_VID_DIBCOM,    USB_PID_DIBCOM_STK7700P) },
 		{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_500) },
+		{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_500_2) },
 		{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK) },
 		{ USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_VOLAR) },
 		{ }		/* Terminating entry */
@@ -164,11 +165,11 @@ struct dvb_usb_device_properties dib0700_devices[] = {
 				{ NULL },
 			},
 			{   "Hauppauge Nova-T Stick",
-				{ &dib0700_usb_id_table[2], NULL },
+				{ &dib0700_usb_id_table[3], NULL },
 				{ NULL },
 			},
 			{   "AVerMedia AVerTV DVB-T Volar",
-				{ &dib0700_usb_id_table[3], NULL },
+				{ &dib0700_usb_id_table[4], NULL },
 				{ NULL },
 			},
 		}
@@ -192,7 +193,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
 		.num_device_descs = 1,
 		.devices = {
 			{   "Hauppauge Nova-T 500 Dual DVB-T",
-				{ &dib0700_usb_id_table[1], NULL },
+				{ &dib0700_usb_id_table[1], &dib0700_usb_id_table[2], NULL },
 				{ NULL },
 			},
 		}

+ 1 - 0
drivers/media/dvb/dvb-usb/dvb-usb-ids.h

@@ -95,6 +95,7 @@
 #define USB_PID_WINTV_NOVA_T_USB2_COLD			0x9300
 #define USB_PID_WINTV_NOVA_T_USB2_WARM			0x9301
 #define USB_PID_HAUPPAUGE_NOVA_T_500			0x9941
+#define USB_PID_HAUPPAUGE_NOVA_T_500_2			0x9950
 #define USB_PID_HAUPPAUGE_NOVA_T_STICK			0x7050
 #define USB_PID_AVERMEDIA_VOLAR				0x1234
 #define USB_PID_NEBULA_DIGITV				0x0201