===================================================================== = Linux Driver for Analog Input/Output = = API-AIO(LNX) Ver1.90 = = CONTEC Co.,Ltd. = ===================================================================== Contents ======= Introduction About the Product Restrictions Note How to install Installed files How to uninstall Sample programs Version up history Introduction ============ Thank you for purchasing this product. The following description is a supplementary explanation for API-AIO(LNX). Please refer to Online Help(apitool.htm) for how to use API-AIO(LNX). Product introduction =========== - API-AIO(LNX) supplies the set of functions for controlling our analog I/O board by the driver and the shared library in module. - Setup and use the device to be used by using the setup program (config) and setup files. - Setup program generates the setting file and driver start script file required for shifting to executing environment and stop script file. Restrictions ============ This product supports the following versions of Linux. Distribution Kernel version ---------------------- ------------------ RedHat Linux 7.1 2.4.2 7.2 2.4.7 7.3 2.4.18 8.0 2.4.18 9.0 2.4.20 Professional Workstation 2.4.21 Enterprise Linux 4 2.6.9-5EL TurboLinux 7.0 2.4.5 8.0 2.4.18 10 Server 2.6.8 Please understand that the behavior-verifications on the other than above versions have not be done. And, SMP is not supported. Note ========== To install and setup the driver, it is required to startup with root authority. How to install ================== The driver is provided in a compressed file. You can use the following command in shell to copy/extract it. If you want to change the library install path to a location, such as /usr/local/lib, you should find the Makefile and change the install path in advance. # cd # mount /dev/cdrom /mnt/cdrom # cp /mnt/cdrom/linux/aio/caioX.XXu.tgz ./ # tar xvfz caioX.XXu.tgz ................ # cd contec/caio # make ................ # make install ................ # cd config # ./config ..... Setup the following ......... # ./contec_aio_start.sh Start and stop the driver by executing contec_aio_start.sh and contec_aio_stop.sh. If you want to start driver when the system started, please add the processing contents of start script to /etc/rc.d/rc.local. Installed files ============================ - The compressed file of the product installs files in the hierarchical directory structure as follows. //contec/caio caio_uninstall.sh ............ Shell script for uninstall Makefile ..................... Make file for install readme.txt ................... README file /config config ................... Setup program contec_aio.conf .......... Setup file: created by executing config, It is copied to /proc as the start script contec_aio_start.sh ...... Driver start script contec_aio_stop.sh ....... Driver stop script caio.o ................... Driver for the version of the started OS /2.4.2-2 cgetres.o ............ Driver for config to get the resources(RedHat Linux 7.1) /2.4.5-3 ................. /Same as 2.4.2-2(Turbo Linux 7.0) /2.4.7-10 ................ /Same as 2.4.2-2(RedHat Linux 7.2) /2.4.18-1 ................ /Same as 2.4.2-2(Turbo Linux 8.0) /2.4.18-3 ................ /Same as 2.4.2-2(RedHat Linux 7.3) /2.4.18-14 ............... /Same as 2.4.2-2(RedHat Linux 8.0) /2.4.20-8 ................ /Same as 2.4.2-2(RedHat Linux 9.0) /2.4.21-4.EL ............. /Same as 2.4.2-2(RedHat Professional Workstation) /2.6.8-1 cgetres.ko ........... Driver for config to get the resources(Turbo Linux 10 Server) /2.6.9-5.EL .............. /Same as 2.6.8-1(RedHat Enterprise Linux 4) /module Makefile ................. Make file for compiling and installing /2.4.2-2 caio.o ............... Compiled driver(RedHat Linux 7.1) /2.4.5-3 ................. /Same as 2.4.2-2(Turbo Linux 7.0) /2.4.7-10 ................ /Same as 2.4.2-2(RedHat Linux 7.2) /2.4.18-1 ................ /Same as 2.4.2-2(Turbo Linux 8.0) /2.4.18-3 ................ /Same as 2.4.2-2(RedHat Linux 7.3) /2.4.18-14 ............... /Same as 2.4.2-2(RedHat Linux 8.0) /2.4.20-8 ................ /Same as 2.4.2-2(RedHat Linux 9.0) /2.4.21-4.EL ............. /Same as 2.4.2-2(RedHat Professional Workstation) /2.6.8-1 caio.ko .............. Compiled driver(Turbo Linux 10 Server) /2.6.9-5.EL .............. /Same as 2.6.8-1(RedHat Enterprise Linux 4) /library Makefile ................. Make file for installing libcaio.so.1.0 ........... Shared library /samples /console ................. gcc sample directory /help apitool.htm .............. html help files - The following files are copied to system by executing make install. /usr/lib/libcaio.so ........... Shared library /usr/lib/libcaio.so.1.0 ....... Shared library - The following files are created in system by performing the start script of driver. /dev/caioXXX (XXX is digital) ..File node of driver /proc/contec_aio.conf ..........The copy of the setup file How to uninstall ====================== Perform the shell script for uninstallation to uninstall this product. # cd contec # ./caio_uninstall.sh ................... # For details, please refer to caio_uninstall.sh script Sample programs ==================== The sample programs are contained in the following directory by language. //contec/caio/samples The explanation of directory /inc Include the function define file in C/C++. When you create the program in C/C++, incule this file. And, don't edit this file. /console Sample program source code in C language and Makefile. - The history of version-up =========================== Ver1.90 2008.03.31 (Ver.Mar.2008) -------------------------------- - Supports new devices AIO-160802LI-PE, AI-1616LI-PE, AI-1664LA-LPE, AO-1604LI-PE, AO-1616L-LPE, AO-1608L-LPE Ver1.80 2007.09.30 (Ver.Oct.2007) -------------------------------- - Supports new devices AIO-121601UE3-PE, AIO-121601E3-PE, AIO-161601UE3-PE, AIO-161601E3-PE Ver1.70 2007.06.11 (Ver.Jun.2007) -------------------------------- - Supports new devices AIO-121602AH-PCI, AIO-121602AL-PCI, AI-1216AH-PCI AI-1216AL-PCI, AI-1216B-RB1-PCI, AI-1216B-RU1-PCI Ver1.60 2006.09.01 -------------------------------- - It corresponds to kernel 2.6.xx - It corresponds to Red Hat Enterprise Linux 4. - It corresponds to Turbo Linux 10 server. Ver1.50 2006.07.14 (Ver.Aug.2006) -------------------------------- - Supports new devices AIO-160802L-LPE, AI-1616L-LPE, AO-1604L-LPE Ver1.40 2006.03.24 (Ver.Apr.2006) -------------------------------- - Supports new devices AIO-163202F-PE, DA16-16(LPCI)L, DA16-8(LPCI)L Ver1.30 2005.09.29 (Ver.Nov.2005) -------------------------------- - Supports new devices AD12-16(PCI)EV, AD16-16(PCI)EV, AD12-16U(PCI)EV, AD16-16U(PCI)EV AD16-64(LPCI)LA Ver1.20 2005.07.22 (Ver.Aug.2005) -------------------------------- - Supports new devices ADAI16-8/2(LPCI)L, ADI16-16(LPCI)L, DAI16-4(LPCI)L Ver1.10 2004.08.24 (Ver.Oct.2004) -------------------------------- - Supports new devices ADA16-8/2(CB)L - Supports new OS RedHat Professional Workstation Ver1.00 2003.10.31 (Ver.Nov.2003) -------------------------------- - First release