linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Malcolm Priestley <tvboxspy@gmail.com>
To: linux-media@vger.kernel.org
Cc: jasondong <jason.dong@ite.com.tw>
Subject: [PATCH 1/2] IT9135 Add support for KWORLD_UB499_2T_T09 (id 1b80:e409)
Date: Sat, 06 Aug 2011 10:51:49 +0100	[thread overview]
Message-ID: <1312624309.2353.16.camel@localhost> (raw)
In-Reply-To: <1312539895.2763.33.camel@Jason-Linux>

Add support for KWORLD_UB499_2T_T09 to IT9135 Driver

***Please note*** that adapter 2 on this device does not function
correctly.

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

diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
index a0f2ee9..4208d3f 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -137,6 +137,7 @@
 #define USB_PID_KWORLD_PC160_2T				0xc160
 #define USB_PID_KWORLD_PC160_T				0xc161
 #define USB_PID_KWORLD_UB383_T				0xe383
+#define USB_PID_KWORLD_UB499_2T_T09			0xe409
 #define USB_PID_KWORLD_VSTREAM_COLD			0x17de
 #define USB_PID_KWORLD_VSTREAM_WARM			0x17df
 #define USB_PID_TERRATEC_CINERGY_T_USB_XE		0x0055
diff --git a/drivers/media/dvb/dvb-usb/it9135.c b/drivers/media/dvb/dvb-usb/it9135.c
index 7fa21c7..772adf4 100644
--- a/drivers/media/dvb/dvb-usb/it9135.c
+++ b/drivers/media/dvb/dvb-usb/it9135.c
@@ -2256,6 +2256,7 @@ struct usb_device_id it9135_usb_id_table[] = {
 	{USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135)},
 	{USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135_9005)},
 	{USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135_9006)},
+	{USB_DEVICE(USB_VID_KWORLD_2, USB_PID_KWORLD_UB499_2T_T09)},
 	{0},			/* Terminating entry */
 };
 
@@ -2319,18 +2320,18 @@ struct dvb_usb_device_properties it9135_properties[] = {
 				       }
 				 }
 		      },
-		     },
-	 .num_device_descs = 1,
+	},
+	 .num_device_descs = 2,
 	 .devices = {
-		     {"ITEtech USB2.0 DVB-T Recevier",
-		      {&it9135_usb_id_table[0], &it9135_usb_id_table[1],
-		       &it9135_usb_id_table[2], NULL},
-		      {NULL},
-		      },
-		     {NULL},
-
-		     }
-	 }
+		{   "ITEtech USB2.0 DVB-T Recevier",
+			{ &it9135_usb_id_table[0], &it9135_usb_id_table[1],
+				&it9135_usb_id_table[2], NULL },
+			},
+		{   "Kworld UB499-2T T09",
+			{ &it9135_usb_id_table[3], NULL },
+			},
+		}
+	}
 };
 
 int it9135_device_count = ARRAY_SIZE(it9135_properties);
-- 
1.7.4.1



  reply	other threads:[~2011-08-06  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-05 10:24 [PATCH 1/1] Add driver support for ITE IT9135 device jasondong
2011-08-06  9:51 ` Malcolm Priestley [this message]
2011-08-06  9:52 ` [PATCH 2/2] IT9135 add MFE support to driver Malcolm Priestley
2011-08-24 18:08 ` [PATCH 1/1] Add driver support for ITE IT9135 device Arkadiusz Miskiewicz
2011-08-24 20:27   ` Arkadiusz Miskiewicz
2011-09-03 13:44 ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1312624309.2353.16.camel@localhost \
    --to=tvboxspy@gmail.com \
    --cc=jason.dong@ite.com.tw \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).