Talk:TechnoTrend TT-connect S2-3650 CI: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
Unfortunately, this tutorial does not work for my Linux Distribution (Ubuntu 9.04 Jaunty, Kernel 2.6.28, 64bit). With Ubuntu 8.04.2 (Hardy), I did not experience any problems, but with the new Kernel Version, I am unable to compile the source in the tutorial (S2API - Part). One Problem seems to be the so called dvbdev.c Source - file, which seems to distinguish by Precompiler between Kernel < 2.6.26 and Kernel >= 2.6.26. At this point, compilation aborts:
Unfortunately, this tutorial does not work for my Linux Distribution (Ubuntu 9.04 Jaunty, Kernel 2.6.28, 64bit). With Ubuntu 8.04.2 (Hardy), I did not experience any problems, but with the new Kernel Version, I am unable to compile the source in the tutorial (S2API - Part). One Problem seems to be the so called dvbdev.c Source - file, which seems to distinguish by Precompiler between Kernel < 2.6.26 and Kernel >= 2.6.26. At this point, compilation aborts:


<nowiki>CC [M] /home/user/technotrend/s2-liplianin/v4l/dvbdev.o
CC [M] /home/user/technotrend/s2-liplianin/v4l/dvbdev.o

/home/user/technotrend/s2-liplianin/v4l/dvbdev.c: In function 'dvb_register_device':
/home/user/technotrend/s2-liplianin/v4l/dvbdev.c: In function 'dvb_register_device':

/home/user/technotrend/s2-liplianin/v4l/dvbdev.c:246: error: implicit declaration of function 'device_create_drvdata'
/home/user/technotrend/s2-liplianin/v4l/dvbdev.c:246: error: implicit declaration of function 'device_create_drvdata'

/home/user/technotrend/s2-liplianin/v4l/dvbdev.c:248: warning: assignment makes pointer from integer without a cast
/home/user/technotrend/s2-liplianin/v4l/dvbdev.c:248: warning: assignment makes pointer from integer without a cast

make[3]: *** [/home/user/technotrend/s2-liplianin/v4l/dvbdev.o] Error 1
make[3]: *** [/home/user/technotrend/s2-liplianin/v4l/dvbdev.o] Error 1

make[2]: *** [_module_/home/user/technotrend/s2-liplianin/v4l] Error 2
make[2]: *** [_module_/home/user/technotrend/s2-liplianin/v4l] Error 2

make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'

make[1]: *** [default] Fehler 2
make[1]: *** [default] Fehler 2

make[1]: Verlasse Verzeichnis '/home/user/technotrend/s2-liplianin/v4l'
make[1]: Verlasse Verzeichnis '/home/user/technotrend/s2-liplianin/v4l'

make: *** [all] Fehler 2</nowiki>
make: *** [all] Fehler 2


If I remove this if-statement to compile only the source for the older kernel-versions, then compilation succeeds. But when I try to insert the kernel modules, it says
If I remove this if-statement to compile only the source for the older kernel-versions, then compilation succeeds. But when I try to insert the kernel modules, it says

Latest revision as of 16:17, 29 May 2009

Afaik this is the TechnoTrend TT-connect S2-3600, bundled with a CI interface.

Kernel 2.6.28

Unfortunately, this tutorial does not work for my Linux Distribution (Ubuntu 9.04 Jaunty, Kernel 2.6.28, 64bit). With Ubuntu 8.04.2 (Hardy), I did not experience any problems, but with the new Kernel Version, I am unable to compile the source in the tutorial (S2API - Part). One Problem seems to be the so called dvbdev.c Source - file, which seems to distinguish by Precompiler between Kernel < 2.6.26 and Kernel >= 2.6.26. At this point, compilation aborts:

CC [M] /home/user/technotrend/s2-liplianin/v4l/dvbdev.o

/home/user/technotrend/s2-liplianin/v4l/dvbdev.c: In function 'dvb_register_device':

/home/user/technotrend/s2-liplianin/v4l/dvbdev.c:246: error: implicit declaration of function 'device_create_drvdata'

/home/user/technotrend/s2-liplianin/v4l/dvbdev.c:248: warning: assignment makes pointer from integer without a cast

make[3]: *** [/home/user/technotrend/s2-liplianin/v4l/dvbdev.o] Error 1

make[2]: *** [_module_/home/user/technotrend/s2-liplianin/v4l] Error 2

make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'

make[1]: *** [default] Fehler 2

make[1]: Verlasse Verzeichnis '/home/user/technotrend/s2-liplianin/v4l'

make: *** [all] Fehler 2

If I remove this if-statement to compile only the source for the older kernel-versions, then compilation succeeds. But when I try to insert the kernel modules, it says

insmod: error inserting 'dvb-usb-pctv452e.ko': -1 Unknown symbol in module

Maybe that this is just the result of my editing of the dvbdev.c - source - file, or this is an additional bug.

Any suggestions how I could solve this problem?