Here is the linux driver of Decision PCI 4in4out card.
And this driver is tested well on the kernel with version 2.2.14. 

To decompress the file: tar -xvzf pci4in4outdist.tgz 

After you decompress the pci4in4outdist.tgz file, do the following steps: 


->1.Login as root. 
->2.chmod +x install 
->3.chmod +x uninstall 
->4.install 
  After you run 4th step , you will see "Register Successful",
  then it will build a device node in "/dev" named "/dev/dpci4in4out". 

If you want to remove the driver , please run the 5th step. 
5.uninstall 
 
Note: You can compile "test.c". It tests output of Decision 4in4out card. 
Another "test1.c" is used to test input. 

 

There are 2 function on this driver: 

int Write4In4OutPort(int file_desc,char data);
- Use to send data. 

Where: 
 file_desc 
 data - the value to send 

char Read4In4OutPort(int file_desc);
- Use to get data. 

Where: 
 file_desc - is the file handle 

For more information please see the dpci4in4out.h 
