From 9d1760059f29f91ad24cb2dcf75ed2b3f5198dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paolo=20Pant=C3=B2?= Date: Tue, 21 Feb 2012 12:26:29 -0300 Subject: [media] rtl28xxu: add another Freecom usb id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Besides sticks with the usb id 14AA:0160, there exists also some with 14AA:0161 - this is the output in /var/log/messages: usb 1-1: new high-speed USB device number 2 using ehci_hcd usb 1-1: New USB device found, idVendor=14aa, idProduct=0161 usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1: Product: Freecom DVB-T usb 1-1: Manufacturer: Freecom DVB-T usb 1-1: SerialNumber: 00000000000036742 The patch is based on the code at http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/realtek Signed-off-by: Paolo Pantò Acked-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb/dvb-usb/rtl28xxu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/media/dvb/dvb-usb/rtl28xxu.c') diff --git a/drivers/media/dvb/dvb-usb/rtl28xxu.c b/drivers/media/dvb/dvb-usb/rtl28xxu.c index 07597c53d07b..8f4736a10fc8 100644 --- a/drivers/media/dvb/dvb-usb/rtl28xxu.c +++ b/drivers/media/dvb/dvb-usb/rtl28xxu.c @@ -767,6 +767,7 @@ err: enum rtl28xxu_usb_table_entry { RTL2831U_0BDA_2831, RTL2831U_14AA_0160, + RTL2831U_14AA_0161, }; static struct usb_device_id rtl28xxu_table[] = { @@ -775,6 +776,8 @@ static struct usb_device_id rtl28xxu_table[] = { USB_DEVICE(USB_VID_REALTEK, USB_PID_REALTEK_RTL2831U)}, [RTL2831U_14AA_0160] = { USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_FREECOM_DVBT)}, + [RTL2831U_14AA_0161] = { + USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_FREECOM_DVBT_2)}, /* RTL2832U */ {} /* terminating entry */ @@ -840,6 +843,7 @@ static struct dvb_usb_device_properties rtl28xxu_properties[] = { .name = "Freecom USB2.0 DVB-T", .warm_ids = { &rtl28xxu_table[RTL2831U_14AA_0160], + &rtl28xxu_table[RTL2831U_14AA_0161], }, }, } -- cgit v1.2.1