How to Install and Test ISA INDUSTRIAL CONTROL CARD on Linux
(1) Instalation : Download driver from as follows:
Download the driver to /
(2)
Please follow as follows to install:
This sample is under REDHAT 8.0 KERNEL 2.4.18-14.
Step1: Extract the file
Step 2: Edit /dist/install
Here you need to modify the "install" file,because we should tell driver what the IO address that
card uses.The line that you need to modify is "ioaddr=0x180".It means that the carduse 0x180 as
its IO address.
Step 3: Execute the install file to install
Step 4: Please use "lsmod" command to check
(3)Please edit /etc/rc.local to add a command line as follows:
(4)Please reboot systems.
(5)Please use 'lsmod' to check after system restarted. You can find 'disaindust' .
2.About uninstall
3.About Test:
The industrial control card (ORT 1 2) connect to the 8 channel SSR.
(1)The
test program
The device driver already includes three test programs.
1.test.c: It is the basic I/O program for 8255.
2.test1.c: It is used for test the 8253 timer.
3.test2.c: Manuly tests Output.
(2)Please
compile the 'test.c' 'test1.c' 'test2.c' files as following step:
Then it will create the 'test' 'test1' 'test2' file.
(3)Please execute the 'test' file to test output. You will see Led light from L1 to L8 Auto ON and
OFF .
The test.c's content is as follows:
(4) Please execute 'test1' to test the 8253 timer . The result is as follows:
The test1.c's content is as follows:
(5) Please execute 'test2' to manuly test output. The result is as follows:
The test2.c's content is as follows: