upstream: [media] Add support for Crypto Redi PC50A device (rtl2832u + FC0012 tuner)
authorAlessandro Miceli <angelofsky1980@gmail.com>
Tue, 4 Jun 2013 19:10:34 +0000 (16:10 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:17 +0000 (11:55 +0900)
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

[crope@iki.fi: fix trivial merge conflict]
Signed-off-by: Alessandro Miceli <angelofsky1980@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-core/dvb-usb-ids.h
drivers/media/usb/dvb-usb-v2/rtl28xxu.c

index e1bf1d3..1bdc0e7 100644 (file)
 #define USB_PID_TECHNISAT_USB2_CABLESTAR_HDCI          0x0003
 #define USB_PID_TECHNISAT_AIRSTAR_TELESTICK_2          0x0004
 #define USB_PID_TECHNISAT_USB2_DVB_S2                  0x0500
+#define USB_PID_CPYTO_REDI_PC50A                       0xa803
 #define USB_PID_CTVDIGDUAL_V2                          0xe410
 #define USB_PID_PCTV_2002E                              0x025c
 #define USB_PID_PCTV_2002E_SE                           0x025d
index c99a289..d27f96e 100644 (file)
@@ -1466,6 +1466,8 @@ static const struct usb_device_id rtl28xxu_id_table[] = {
                &rtl2832u_props, "MaxMedia HU394-T", NULL) },
        { DVB_USB_DEVICE(USB_VID_LEADTEK, 0x6a03,
                &rtl2832u_props, "Leadtek WinFast DTV Dongle mini", 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);