User talk:Sandybutt
Hello,
I have exactly the same setup: Terratec Cinergy T USB XE Rev 2 (Device ID: 0ccd:0069), Ubuntu Hardy Heron with a 2.6.24 kernel.
The driver works very well for me, as did you build instructions. Many thanks!
Note: it suffices to install the file dvb-af901x.ko; the others can be removed from the install target.
- @for i in dvb-core.ko dvb-pll.ko dvb-usb.ko dvb-af901x.ko;do if [ -e "$$i" ]; then echo -n "$$i "; install -m 644 -c $$i $(KDIR26); fi; done; echo; + @for i in dvb-af901x.ko; do if [ -e "$$i" ]; then echo -n "$$i "; install -m 644 -c $$i $(KDIR26); fi; done; echo;
Greetings
Bjoern
Thanks !
Hi ! It worked for me as well ! Thanks a lot !
Léo
2.6.27
to compile it with the newest kernel i had to edit it a little more, so it looks like that:
--- af901x-core.c 2007-10-08 03:59:56.000000000 +0200 +++ ../Cin/af901x-core.c 2008-10-12 23:55:34.000000000 +0200 @@ -1,6 +1,7 @@ #include "af901x.h" DEVICE_CONTEXT DC; +DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); int af901x_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, int *cold) @@ -56,16 +57,13 @@ deb_data("AF9015_download_firmware\n"); for (i = 0; i < af901x_device_count; i++) - if (dvb_usb_device_init(intf, &af901x_devices[i], THIS_MODULE, NULL) == 0) + if (dvb_usb_device_init(intf, &af901x_devices[i], THIS_MODULE, NULL, adapter_nr) == 0) return 0; return -ENODEV; } 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,
The above patch does not work with kernel 2.6.27. The error message reads:
patching file af901x-core.c Hunk #1 succeeded at 1 with fuzz 1. patch: **** malformed patch at line 22: static struct usb_driver af901x_driver = {
Any suggestions? Michl
Hi, it work`s with die newest Kernel 2.6.27 perfectly! Thanks.