linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtl28xxu: add support for Turbo-X DTT2000
@ 2015-02-14 14:11 Dimitris Lampridis
  2015-02-16 12:31 ` Antti Palosaari
  0 siblings, 1 reply; 2+ messages in thread
From: Dimitris Lampridis @ 2015-02-14 14:11 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Antti Palosaari
  Cc: Dimitris Lampridis, Linux Media Mailing List

ID 1b80:d3a4 Afatech

Simply added the PID (0xd3a4) of this DVB-T USB device to the list of rtl2832u-supported devices. VID (0x1b80) is same as KWORLD2.

Tested and verified to work in amd64 with kernels 3.13.0 and 3.16.0.

Signed-off-by: Dimitris Lampridis <dlampridis@logikonlabs.com>
---
 drivers/media/dvb-core/dvb-usb-ids.h    | 1 +
 drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h
index 80ab8d0..a9d601d 100644
--- a/drivers/media/dvb-core/dvb-usb-ids.h
+++ b/drivers/media/dvb-core/dvb-usb-ids.h
@@ -385,4 +385,5 @@
 #define USB_PID_PCTV_2002E                              0x025c
 #define USB_PID_PCTV_2002E_SE                           0x025d
 #define USB_PID_SVEON_STV27                             0xd3af
+#define USB_PID_TURBOX_DTT_2000                         0xd3a4
 #endif
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index 77dcfdf..b11380d 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@ -1756,6 +1756,8 @@ static const struct usb_device_id rtl28xxu_id_table[] = {
 		&rtl28xxu_props, "Sveon STV21", NULL) },
 	{ DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_SVEON_STV27,
 		&rtl28xxu_props, "Sveon STV27", NULL) },
+	{ DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_TURBOX_DTT_2000,
+		&rtl28xxu_props, "TURBO-X Pure TV Tuner DTT-2000", NULL) },
 
 	/* RTL2832P devices: */
 	{ DVB_USB_DEVICE(USB_VID_HANFTEK, 0x0131,
-- 
2.1.4


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

* Re: [PATCH] rtl28xxu: add support for Turbo-X DTT2000
  2015-02-14 14:11 [PATCH] rtl28xxu: add support for Turbo-X DTT2000 Dimitris Lampridis
@ 2015-02-16 12:31 ` Antti Palosaari
  0 siblings, 0 replies; 2+ messages in thread
From: Antti Palosaari @ 2015-02-16 12:31 UTC (permalink / raw)
  To: Dimitris Lampridis, Mauro Carvalho Chehab
  Cc: Dimitris Lampridis, Linux Media Mailing List

On 02/14/2015 04:11 PM, Dimitris Lampridis wrote:
> ID 1b80:d3a4 Afatech
>
> Simply added the PID (0xd3a4) of this DVB-T USB device to the list of rtl2832u-supported devices. VID (0x1b80) is same as KWORLD2.
>
> Tested and verified to work in amd64 with kernels 3.13.0 and 3.16.0.
>
> Signed-off-by: Dimitris Lampridis <dlampridis@logikonlabs.com>

Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>


PS. Could someone correct that USB ID vendor name for database? It is 
not Afatech, but MaxMedia in my understanding...

http://www.maxmediatek.com/pd-page/DVB-T.htm


Antti

> ---
>   drivers/media/dvb-core/dvb-usb-ids.h    | 1 +
>   drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 ++
>   2 files changed, 3 insertions(+)
>
> diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h
> index 80ab8d0..a9d601d 100644
> --- a/drivers/media/dvb-core/dvb-usb-ids.h
> +++ b/drivers/media/dvb-core/dvb-usb-ids.h
> @@ -385,4 +385,5 @@
>   #define USB_PID_PCTV_2002E                              0x025c
>   #define USB_PID_PCTV_2002E_SE                           0x025d
>   #define USB_PID_SVEON_STV27                             0xd3af
> +#define USB_PID_TURBOX_DTT_2000                         0xd3a4
>   #endif
> diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> index 77dcfdf..b11380d 100644
> --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> +++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> @@ -1756,6 +1756,8 @@ static const struct usb_device_id rtl28xxu_id_table[] = {
>   		&rtl28xxu_props, "Sveon STV21", NULL) },
>   	{ DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_SVEON_STV27,
>   		&rtl28xxu_props, "Sveon STV27", NULL) },
> +	{ DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_TURBOX_DTT_2000,
> +		&rtl28xxu_props, "TURBO-X Pure TV Tuner DTT-2000", NULL) },
>
>   	/* RTL2832P devices: */
>   	{ DVB_USB_DEVICE(USB_VID_HANFTEK, 0x0131,
>

-- 
http://palosaari.fi/

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

end of thread, other threads:[~2015-02-16 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-14 14:11 [PATCH] rtl28xxu: add support for Turbo-X DTT2000 Dimitris Lampridis
2015-02-16 12:31 ` Antti Palosaari

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).