When the module is compiled, Linux kernel header is necessary.
Please install the kernel header in advance.
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.
It is required to startup with root authority for install.
This driver is provided in a compressed file.
You can use the following command in shell to copy/extract it.
The following XXX is the driver version.
Please refer "File Structure"
topic if you need to know more details.
# tar xvfz caioXXX.tgz
................
# cd contec/caio
# make
................
# make install
................
For how to configure I2C devices, please refer to [Configure I2C device].
When using a device other than the CPI series, there is
no need to configure I2C device.
Please proceed to the next step.
You have to configure your device and to save the configuration
file with this tool.
You can not execute the script without the configuration file.
Please refer "Configuration Tool (config)" topic if you need more detail.
# 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.