User:Sandybutt: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
(New page: 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: issue the following commands: cd /tmp wget ftp://ftp.ter...)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
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:
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:
issue the following commands:
cd /tmp
cd /tmp
wget ftp://ftp.terratec.net/Receiver/Cinergy_T_USB_XE/Update/Cinergy_T_USB_XE_MKII_Drv_Linux.zip
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
unzip Cinergy_T_USB_XE_MKII_Drv_Linux.zip
mv Cinergy\ T\ USB\ XE\ MKII/Fedora\ Core\ Release\ 6 dvb_cinergy
mv Cinergy\ T\ USB\ XE\ MKII/Fedora\ Core\ Release\ 6 dvb_cinergy
cd 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/*.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-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/*.c .
cp /usr/src/linux-source-2.6.24/drivers/media/dvb/dvb-usb/*.h .
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:
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
--- bak/af901x-core.c 2008-06-20 15:12:37.000000000 +0200
+++ af901x-core.c 2008-06-20 15:12:52.000000000 +0200
+++ af901x-core.c 2008-06-20 15:12:52.000000000 +0200
@@ -63,9 +63,6 @@
@@ -63,9 +63,6 @@
}
}
static struct usb_driver af901x_driver = {
static struct usb_driver af901x_driver = {
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- .owner = THIS_MODULE,
- .owner = THIS_MODULE,
-#endif
-#endif
.name = "dvb_usb_af901x",
.name = "dvb_usb_af901x",
.probe = af901x_probe,
.probe = af901x_probe,
.disconnect = dvb_usb_device_exit,
.disconnect = dvb_usb_device_exit,

issue the following commands:
issue the following commands:
patch < ./af_patch
patch < ./af_patch
make && sudo make install
make && sudo make install

Any feedback about your experience is appreciated.

Latest revision as of 13:36, 20 June 2008

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.