Edit file kernel-oem/farsync.c in the installation folder and change:
if (!pci_dma_supported(pdev, 0xffffffff))
{
printk("Can't do DMA on this device\n");
}
To:
#if 0
if (!pci_dma_supported(pdev, 0xffffffff))
{
printk("Can't do DMA on this device\n");
}
#endif
sudo apt-get source linux
linux_3.16.7-ckt25-2.dsc
linux_3.16.7-ckt25-2.debian.tar.xz
linux_3.16.7-ckt25.orig.tar.xz
linux-3.16.7-ckt25
sudo ln -s /usr/src/linux-3.16.7-ckt25/ /usr/src/linux
cdand then i run the install script with:
cd src/farsync-2.2.13-b271/
sudo ./install oem
Installing OEM Development drivers... really do not know what is the problem .....
Kernel source identified as version 3.16.0
Installing the driver sources
Installing the OEM driver module
rm -rf *.o *.ko .*.cmd
make -C /lib/modules/3.16.0-4-686-pae/build SUBDIRS=/home/opendab/src/farsync-2.2.13-b271/kernel-oem modules
make[1]: *** /lib/modules/3.16.0-4-686-pae/build: No such file or directory. Stop.
Makefile:19: recipe for target 'modules' failed
make: *** [modules] Error 2
apt-get source linux-image-$(uname -r)
sudo apt-get install linux-headers-$(uname -r)