public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Support for Sveon STV22 (IT9137)
       [not found] <CABb1zhvkLYTZ4zUy7jPh1AH+1XGQRdhsHM7CxK5ADMuuzKHAzg@mail.gmail.com>
@ 2011-10-09  5:09 ` Leandro Terrés
  2011-10-14 13:27   ` Mauro Carvalho Chehab
  2011-11-06 22:30   ` [PATCH ]Re: " Malcolm Priestley
  0 siblings, 2 replies; 4+ messages in thread
From: Leandro Terrés @ 2011-10-09  5:09 UTC (permalink / raw)
  To: linux-media

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

This device identifies has IdProduct 0xe411 and is a clone of KWorld
UB499-2T T09(IT9137).

This patch simply adds support for this device.

[-- Attachment #2: sveon-it913x.patch --]
[-- Type: text/x-patch, Size: 1392 bytes --]

diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2011-09-24 05:45:14.000000000 +0200
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2011-10-08 08:23:15.789883877 +0200
@@ -320,6 +320,7 @@
 #define USB_PID_TVWAY_PLUS				0x0002
 #define USB_PID_SVEON_STV20				0xe39d
 #define USB_PID_SVEON_STV22				0xe401
+#define USB_PID_SVEON_STV22_IT9137     		0xe411
 #define USB_PID_AZUREWAVE_AZ6027			0x3275
 #define USB_PID_TERRATEC_DVBS2CI_V1			0x10a4
 #define USB_PID_TERRATEC_DVBS2CI_V2			0x10ac
diff --git a/drivers/media/dvb/dvb-usb/it913x.c b/drivers/media/dvb/dvb-usb/it913x.c
--- a/drivers/media/dvb/dvb-usb/it913x.c	2011-09-24 05:45:14.000000000 +0200
+++ b/drivers/media/dvb/dvb-usb/it913x.c	2011-10-08 08:32:00.388191986 +0200
@@ -533,6 +533,7 @@
 
 static struct usb_device_id it913x_table[] = {
 	{ USB_DEVICE(USB_VID_KWORLD_2, USB_PID_KWORLD_UB499_2T_T09) },
+	{ USB_DEVICE(USB_VID_KWORLD_2, USB_PID_SVEON_STV22_IT9137) },
 	{}		/* Terminating entry */
 };
 
@@ -608,11 +609,14 @@
 		.rc_codes	= RC_MAP_KWORLD_315U,
 	},
 	.i2c_algo         = &it913x_i2c_algo,
-	.num_device_descs = 1,
+	.num_device_descs = 2,
 	.devices = {
 		{   "Kworld UB499-2T T09(IT9137)",
 			{ &it913x_table[0], NULL },
 			},
+		{   "Sveon STV22 Dual DVB-T HDTV(IT9137)",
+			{ &it913x_table[1], NULL },
+			},
 
 	}
 };

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

* Re: Support for Sveon STV22 (IT9137)
  2011-10-09  5:09 ` Support for Sveon STV22 (IT9137) Leandro Terrés
@ 2011-10-14 13:27   ` Mauro Carvalho Chehab
  2011-10-14 17:01     ` Leandro Terrés
  2011-11-06 22:30   ` [PATCH ]Re: " Malcolm Priestley
  1 sibling, 1 reply; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2011-10-14 13:27 UTC (permalink / raw)
  To: Leandro Terrés; +Cc: Linux Media Mailing List, Malcolm Priestley

Em 09-10-2011 02:09, Leandro Terrés escreveu:
> This device identifies has IdProduct 0xe411 and is a clone of KWorld
> UB499-2T T09(IT9137).
> 
> This patch simply adds support for this device.

Patch applies ok, with just one small whitespace issue. However, you
forgot to add your signed-off-by: on it. Also, it helps if you copy the
driver's maintainer (Malcolm).

Patchwork: http://patchwork.linuxtv.org/patch/8099/

WARNING: please, no space before tabs
#24: FILE: drivers/media/dvb/dvb-usb/dvb-usb-ids.h:323:
+#define USB_PID_SVEON_STV22_IT9137     ^I^I0xe411$

ERROR: Missing Signed-off-by: line(s)

total: 1 errors, 1 warnings, 29 lines checked

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

* Re: Support for Sveon STV22 (IT9137)
  2011-10-14 13:27   ` Mauro Carvalho Chehab
@ 2011-10-14 17:01     ` Leandro Terrés
  0 siblings, 0 replies; 4+ messages in thread
From: Leandro Terrés @ 2011-10-14 17:01 UTC (permalink / raw)
  To: Linux Media Mailing List

2011/10/14 Mauro Carvalho Chehab <mchehab@redhat.com>:
> Em 09-10-2011 02:09, Leandro Terrés escreveu:
>> This device identifies has IdProduct 0xe411 and is a clone of KWorld
>> UB499-2T T09(IT9137).
>>
>> This patch simply adds support for this device.
>
> Patch applies ok, with just one small whitespace issue. However, you
> forgot to add your signed-off-by: on it. Also, it helps if you copy the
> driver's maintainer (Malcolm).
>
> Patchwork: http://patchwork.linuxtv.org/patch/8099/
>
> WARNING: please, no space before tabs
> #24: FILE: drivers/media/dvb/dvb-usb/dvb-usb-ids.h:323:
> +#define USB_PID_SVEON_STV22_IT9137     ^I^I0xe411$
>
> ERROR: Missing Signed-off-by: line(s)
>
> total: 1 errors, 1 warnings, 29 lines checked
>

This is my first contribution and I don't know who to do that.

Sorry.

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

* [PATCH ]Re: Support for Sveon STV22 (IT9137)
  2011-10-09  5:09 ` Support for Sveon STV22 (IT9137) Leandro Terrés
  2011-10-14 13:27   ` Mauro Carvalho Chehab
@ 2011-11-06 22:30   ` Malcolm Priestley
  1 sibling, 0 replies; 4+ messages in thread
From: Malcolm Priestley @ 2011-11-06 22:30 UTC (permalink / raw)
  To: linux-media; +Cc: Leandro Terrés, Mauro Carvalho Chehab

This indeed a clone of Kworld UB499 2T

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/media/dvb/dvb-usb/dvb-usb-ids.h |    1 +
 drivers/media/dvb/dvb-usb/it913x.c      |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
index 31b4aa4..07ede26 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -319,6 +319,7 @@
 #define USB_PID_TVWAY_PLUS				0x0002
 #define USB_PID_SVEON_STV20				0xe39d
 #define USB_PID_SVEON_STV22				0xe401
+#define USB_PID_SVEON_STV22_IT9137			0xe411
 #define USB_PID_AZUREWAVE_AZ6027			0x3275
 #define USB_PID_TERRATEC_DVBS2CI_V1			0x10a4
 #define USB_PID_TERRATEC_DVBS2CI_V2			0x10ac
diff --git a/drivers/media/dvb/dvb-usb/it913x.c b/drivers/media/dvb/dvb-usb/it913x.c
index d4739d1..66b2dcb 100644
--- a/drivers/media/dvb/dvb-usb/it913x.c
+++ b/drivers/media/dvb/dvb-usb/it913x.c
@@ -577,6 +577,7 @@ static int it913x_probe(struct usb_interface *intf,
 static struct usb_device_id it913x_table[] = {
 	{ USB_DEVICE(USB_VID_KWORLD_2, USB_PID_KWORLD_UB499_2T_T09) },
 	{ USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135) },
+	{ USB_DEVICE(USB_VID_KWORLD_2, USB_PID_SVEON_STV22_IT9137) },
 	{}		/* Terminating entry */
 };
 
@@ -652,7 +653,7 @@ static struct dvb_usb_device_properties it913x_properties = {
 		.rc_codes	= RC_MAP_KWORLD_315U,
 	},
 	.i2c_algo         = &it913x_i2c_algo,
-	.num_device_descs = 2,
+	.num_device_descs = 3,
 	.devices = {
 		{   "Kworld UB499-2T T09(IT9137)",
 			{ &it913x_table[0], NULL },
@@ -660,6 +661,9 @@ static struct dvb_usb_device_properties it913x_properties = {
 		{   "ITE 9135 Generic",
 			{ &it913x_table[1], NULL },
 			},
+		{   "Sveon STV22 Dual DVB-T HDTV(IT9137)",
+			{ &it913x_table[2], NULL },
+			},
 	}
 };
 
-- 
1.7.5.4



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

end of thread, other threads:[~2011-11-06 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CABb1zhvkLYTZ4zUy7jPh1AH+1XGQRdhsHM7CxK5ADMuuzKHAzg@mail.gmail.com>
2011-10-09  5:09 ` Support for Sveon STV22 (IT9137) Leandro Terrés
2011-10-14 13:27   ` Mauro Carvalho Chehab
2011-10-14 17:01     ` Leandro Terrés
2011-11-06 22:30   ` [PATCH ]Re: " Malcolm Priestley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox