Installation

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.

 

Extract the driver file which is downloaded.

The following XXX is the driver version.
Please refer "File Structure" topic if you need to know more details.

# tar xvfz csmcXXX.tgz
................

 

Execute make, prepare to install the driver.

# cd contec/csmc
# make
................
# make install
................

 

Setup the being used board by using Configuration Tool (config).

Set the device name to be used, and save the settings.
If the settings are not saved, the device cannot be used properly.

When the device settings are saved, the driver is started.
The driver is automatically started each time the system starts.
The driver is stopped when the system shuts down.

Please refer "Configuration Tool (config)" topic if you need more detail.

# cd config
# ./config
..... Setup the following .........