User:Sandybutt

From LinuxTVWiki
Jump to: navigation, search

Step-by-step instruction to get a Terratec Cinergy T USB XE Rev 2 (Device ID: 0ccd:0069) to work. Worked on my Ubuntu Hardy Heron with a 2.6.24 kernel:

Make sure you have kernel source and headers and build-essentials installed.

issue the following commands:

cd /tmp
wget ftp://ftp.terratec.net/Receiver/Cinergy_T_USB_XE/Update/Cinergy_T_USB_XE_MKII_Drv_Linux.zip
unzip Cinergy_T_USB_XE_MKII_Drv_Linux.zip
mv Cinergy\ T\ USB\ XE\ MKII/Fedora\ Core\ Release\ 6 dvb_cinergy
cd dvb_cinergy/
cp /usr/src/linux-source-2.6.24/drivers/media/dvb/dvb-core/*.c .
cp /usr/src/linux-source-2.6.24/drivers/media/dvb/dvb-core/*.h .
cp /usr/src/linux-source-2.6.24/drivers/media/dvb/dvb-usb/*.c .
cp /usr/src/linux-source-2.6.24/drivers/media/dvb/dvb-usb/*.h .

Create a file "af_patch" in the dvb_cinergy folder and insert the following lines:

--- bak/af901x-core.c	2008-06-20 15:12:37.000000000 +0200
+++ af901x-core.c	2008-06-20 15:12:52.000000000 +0200
@@ -63,9 +63,6 @@
 }

 static struct usb_driver af901x_driver = {
-#if LINUX_VERSION_CODE <=  KERNEL_VERSION(2,6,15)
-	.owner = THIS_MODULE,
-#endif
 	.name       = "dvb_usb_af901x",
 	.probe      = af901x_probe,
 	.disconnect = dvb_usb_device_exit,

issue the following commands:

patch < ./af_patch
make && sudo make install

Any feedback about your experience is appreciated.