you will get compilation problems under Ubuntu 11.04 which is now using
the latest Linux kernel 2.6.38
I spent some time trying to understand what was the problems.
The main two problems are refactored methods under the kernel:
- MUTEX methods renamed to stick to semaphore stuff
- IOCTL redefinitions (ioctl -> compat_ioctl -> unlocked_ioctl)
Therefore for example in the directory Dta1xx (for cards 1xx but
this is exactly the same patch for Dtu2xx and Dta1xxNw), you just have to patch
those 3 files in order to compile the kernel module:
Dta1xx.c: --------- #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
I hope it will help you.
As it seems far better to provide the full source code than patches
so here are the file links on the Dta1xx files to replace in the Dektec SDK:
You will see that a "make" and "make install" will work and then you will be able to call the driver launch command "sh ./Dta1xxInit start" as explained in their ReadMe file.
To see if the driver is fully loaded you can check the linux log using "dmesg" command.
I also tried on Linux MINT distro too.
Those patches have also been sent to Dektec that they will integrate in their next release.