Install

When the module is compiled, Linux kernel header is necessary.
Please install the kernel header in advance.

It is required to startup with root authority for install.

 

Extract the driver file which is downloaded

This driver is provided in a compressed file.
Please execute the following command from the terminal 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 COMDRVLNX_XXX.tgz
...............

 

Execute make, install the driver

If an older version of the driver is already installed, do not overwrite it.
Be sure to uninstall the older version of the driver before installing the new version of the driver.

# cd contec/comdrv/driver

# make

................

# make install

................

Now you can recognize the serial device you are using.

 

Example : Relationship between multiple devices and serial port names

When 4 boards are connected, the serial port names are automatically assigned as follows.

      Board Num.                       Port Num
      --------------------------------------------------
      1st Board (COM-2CL-PCI)    ttyCom0 - ttyCom1
      2nd Board (COM-4CL-PCI)    ttyCom2 - ttyCom5
      3rd Board (COM-2DL-PCI)    ttyCom6 - ttyCom7
      4th Board (COM-4(PCI)H)    ttyCom8 - ttyCom11
      --------------------------------------------------

COM-DRV(LNX) provides the "search-contec-comport" script to easily check the serial port name.