public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [rtl28xxu] Add support for Crypto Redi PC50A device (rtl2832u + FC0012 tuner)
@ 2013-06-04 20:10 Alessandro Miceli
  2013-06-04 22:46 ` Antti Palosaari
  0 siblings, 1 reply; 2+ messages in thread
From: Alessandro Miceli @ 2013-06-04 20:10 UTC (permalink / raw)
  Cc: Alessandro Miceli, Linux Media Mailing List

The device has been tested on a MIPSel box with kernel 3.1.1 and backported media_tree drivers

The kernel detects the device with the following output:

usbcore: registered new interface driver dvb_usb_rtl28xxu
usb 1-2: dvb_usb_v2: found a 'Crypto Redi PC50A' in warm state
usb 1-2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
DVB: registering new adapter (Crypto Redi PC50A)
usb 1-2: DVB: registering adapter 1 frontend 0 (Realtek RTL2832 (DVB-T))...
i2c i2c-4: fc0012: Fitipower FC0012 successfully identified
usb 1-2: dvb_usb_v2: 'Crypto Redi PC50A' successfully initialized and connected

Signed-off-by: Alessandro Miceli <angelofsky1980@gmail.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 2e0709a..87bf2eb 100644
--- a/drivers/media/dvb-core/dvb-usb-ids.h
+++ b/drivers/media/dvb-core/dvb-usb-ids.h
@@ -368,4 +368,5 @@
 #define USB_PID_TECHNISAT_AIRSTAR_TELESTICK_2		0x0004
 #define USB_PID_TECHNISAT_USB2_DVB_S2			0x0500
 #define USB_PID_CTVDIGDUAL_V2				0xe410
+#define USB_PID_CPYTO_REDI_PC50A			0xa803
 #endif
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index 22015fe..9a0ad1e 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@ -1408,6 +1408,8 @@ static const struct usb_device_id rtl28xxu_id_table[] = {
 		&rtl2832u_props, "Compro VideoMate U620F", NULL) },
 	{ DVB_USB_DEVICE(USB_VID_KWORLD_2, 0xd394,
 		&rtl2832u_props, "MaxMedia HU394-T", NULL) },
+	{ DVB_USB_DEVICE(USB_VID_GTEK, USB_PID_CPYTO_REDI_PC50A,
+		&rtl2832u_props, "Crypto Redi PC50A", NULL) },
 	{ }
 };
 MODULE_DEVICE_TABLE(usb, rtl28xxu_id_table);
-- 
1.7.9.5


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

* Re: [PATCH] [rtl28xxu] Add support for Crypto Redi PC50A device (rtl2832u + FC0012 tuner)
  2013-06-04 20:10 [PATCH] [rtl28xxu] Add support for Crypto Redi PC50A device (rtl2832u + FC0012 tuner) Alessandro Miceli
@ 2013-06-04 22:46 ` Antti Palosaari
  0 siblings, 0 replies; 2+ messages in thread
From: Antti Palosaari @ 2013-06-04 22:46 UTC (permalink / raw)
  To: Alessandro Miceli

Applied!
http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/rtl28xxu

t. Antti

On 06/04/2013 11:10 PM, Alessandro Miceli wrote:
> The device has been tested on a MIPSel box with kernel 3.1.1 and backported media_tree drivers
>
> The kernel detects the device with the following output:
>
> usbcore: registered new interface driver dvb_usb_rtl28xxu
> usb 1-2: dvb_usb_v2: found a 'Crypto Redi PC50A' in warm state
> usb 1-2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
> DVB: registering new adapter (Crypto Redi PC50A)
> usb 1-2: DVB: registering adapter 1 frontend 0 (Realtek RTL2832 (DVB-T))...
> i2c i2c-4: fc0012: Fitipower FC0012 successfully identified
> usb 1-2: dvb_usb_v2: 'Crypto Redi PC50A' successfully initialized and connected
>
> Signed-off-by: Alessandro Miceli <angelofsky1980@gmail.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 2e0709a..87bf2eb 100644
> --- a/drivers/media/dvb-core/dvb-usb-ids.h
> +++ b/drivers/media/dvb-core/dvb-usb-ids.h
> @@ -368,4 +368,5 @@
>   #define USB_PID_TECHNISAT_AIRSTAR_TELESTICK_2		0x0004
>   #define USB_PID_TECHNISAT_USB2_DVB_S2			0x0500
>   #define USB_PID_CTVDIGDUAL_V2				0xe410
> +#define USB_PID_CPYTO_REDI_PC50A			0xa803
>   #endif
> diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> index 22015fe..9a0ad1e 100644
> --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> +++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> @@ -1408,6 +1408,8 @@ static const struct usb_device_id rtl28xxu_id_table[] = {
>   		&rtl2832u_props, "Compro VideoMate U620F", NULL) },
>   	{ DVB_USB_DEVICE(USB_VID_KWORLD_2, 0xd394,
>   		&rtl2832u_props, "MaxMedia HU394-T", NULL) },
> +	{ DVB_USB_DEVICE(USB_VID_GTEK, USB_PID_CPYTO_REDI_PC50A,
> +		&rtl2832u_props, "Crypto Redi PC50A", NULL) },
>   	{ }
>   };
>   MODULE_DEVICE_TABLE(usb, rtl28xxu_id_table);
>


-- 
http://palosaari.fi/

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

end of thread, other threads:[~2013-06-04 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04 20:10 [PATCH] [rtl28xxu] Add support for Crypto Redi PC50A device (rtl2832u + FC0012 tuner) Alessandro Miceli
2013-06-04 22:46 ` Antti Palosaari

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