[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)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 9 Jun 2013 00:59:59 +0000 (21:59 -0300)
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 2e0709a..886da16 100644 (file)
 #define USB_PID_TECHNISAT_USB2_HDCI_V2                 0x0002
 #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
 #endif
index 6f5a3d0..a49abe4 100644 (file)
@@ -1386,6 +1386,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);