fanghuilin / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
Blob Blame History Raw
centosplus kernel patch (bug#8285)

This patch was centos-linux-3.10-fix-em28xx-cards-bug8285.patch in CentOS 7.

Reported by armada:
DVB-T Receiver "Terratec Cinergy Hybrid T USB XS" not working

My problem is exactly the same as described in
http://linuxtv.org/pipermail/linux-dvb/2014-May/032967.html [^]
This post also has a patch which solved the problem for me.

The em28xx driver causes the :
em2882/3 #0: /2: dvb frontend not attached. Can't attach xc3028

Changing the USB_DEVICE(0x0ccd, 0x0042) from driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS to EM2880_BOARD_TERRATEC_HYBRID_XS solved the problem.


--- a/drivers/media/usb/em28xx/em28xx-cards.c	2019-03-13 04:04:53.000000000 -0700
+++ b/drivers/media/usb/em28xx/em28xx-cards.c	2019-06-29 11:26:11.364672420 -0700
@@ -2565,7 +2565,7 @@ struct usb_device_id em28xx_id_table[] =
 	{ USB_DEVICE(0x0ccd, 0x005e),
 			.driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS },
 	{ USB_DEVICE(0x0ccd, 0x0042),
-			.driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS },
+			.driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS },
 	{ USB_DEVICE(0x0ccd, 0x0043),
 			.driver_info = EM2870_BOARD_TERRATEC_XS_MT2060 },
 	{ USB_DEVICE(0x0ccd, 0x008e),	/* Cinergy HTC USB XS Rev. 1 */