All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add another Terratec H7 usb id to az6007
@ 2012-01-27  0:02 Jose Alberto Reguero
  2012-01-27 10:17 ` Benjamin Larsson
  0 siblings, 1 reply; 2+ messages in thread
From: Jose Alberto Reguero @ 2012-01-27  0:02 UTC (permalink / raw)
  To: linux-media

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

This patch add another Terratec H7 usb id to az6007 driver.

Jose Alberto

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>

[-- Attachment #2: az6007.diff --]
[-- Type: text/x-patch, Size: 1407 bytes --]

diff -ur linux/drivers/media/dvb/dvb-usb/az6007.c linux.new/drivers/media/dvb/dvb-usb/az6007.c
--- linux/drivers/media/dvb/dvb-usb/az6007.c	2012-01-22 02:53:17.000000000 +0100
+++ linux.new/drivers/media/dvb/dvb-usb/az6007.c	2012-01-23 00:17:57.859087470 +0100
@@ -481,6 +481,7 @@
 static struct usb_device_id az6007_usb_table[] = {
 	{USB_DEVICE(USB_VID_AZUREWAVE, USB_PID_AZUREWAVE_6007)},
 	{USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_H7)},
+	{USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_H7_2)},
 	{0},
 };
 
@@ -534,7 +535,7 @@
 		  .warm_ids = { NULL },
 		},
 		{ .name = "TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)",
-		  .cold_ids = { &az6007_usb_table[1], NULL },
+		  .cold_ids = { &az6007_usb_table[1], &az6007_usb_table[2], NULL },
 		  .warm_ids = { NULL },
 		},
 		{ NULL },
diff -ur linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h linux.new/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2012-01-22 02:53:17.000000000 +0100
+++ linux.new/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2012-01-23 00:16:49.993324303 +0100
@@ -228,6 +228,7 @@
 #define USB_PID_TERRATEC_CINERGY_T_XXS			0x0078
 #define USB_PID_TERRATEC_CINERGY_T_XXS_2		0x00ab
 #define USB_PID_TERRATEC_H7				0x10b4
+#define USB_PID_TERRATEC_H7_2				0x10a3
 #define USB_PID_TERRATEC_T3				0x10a0
 #define USB_PID_TERRATEC_T5				0x10a1
 #define USB_PID_PINNACLE_EXPRESSCARD_320CX		0x022e

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] add another Terratec H7 usb id to az6007
  2012-01-27  0:02 [PATCH] add another Terratec H7 usb id to az6007 Jose Alberto Reguero
@ 2012-01-27 10:17 ` Benjamin Larsson
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Larsson @ 2012-01-27 10:17 UTC (permalink / raw)
  To: linux-media

On 01/27/2012 01:02 AM, Jose Alberto Reguero wrote:
> This patch add another Terratec H7 usb id to az6007 driver.
>
> Jose Alberto
>
> Signed-off-by: Jose Alberto Reguero<jareguero@telefonica.net>

http://linux.terratec.de/tv_en.html

Confirms this, but it might be a good idea to let the defines reflect 
the revision. I also have the rev 1 firmware.

MvH
Benjamin Larsson

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-27 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27  0:02 [PATCH] add another Terratec H7 usb id to az6007 Jose Alberto Reguero
2012-01-27 10:17 ` Benjamin Larsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.