================================================================================

            MOXA Smartio/Industio Multiport Serial Board User Guide
	    	           for Solaris 10 (i386 platform)

		                 Copyright(c)2014 Moxa Inc.

================================================================================
Date: 03/04/2014

CONTENTS

0. Introduction
1. Supported Models
2. System Requirements
3. Installation
   3.1 Driver files   
   3.2 Device naming convention
   3.3 Verify driver installation
   3.4 High baud rate setting
4. Utility
5. Troubleshooting

--------------------------------------------------------------------------------
0. Introduction

   With twenty-plus years of experience in serial board technology, Moxa is able
   to offer one of the most comprehensive selections of industrial-grade 
   multiport serial boards in the world. Moxa serial boards are known for their 
   thoughtful design, high reliability, and top performance, and are used to 
   connect any number of serial devices directly to a PC.

   Multiport serial boards are installed in the slots inside a PC. Slots are 
   available for PCI, PCI-X and PCI express busses, with each board providing 
   one or more serial ports.

--------------------------------------------------------------------------------
1. Supported Models

   The Moxa Smartio/Industio multiport serial board driver supports following 
   models: 

   - 2 Ports
	 CP-102E, CP-102EL, CP-132EL, CP-132EL-I
	 CP-102U, CP-102UL,
	 CP-132U-I, CP-132UL,
	 CP-132, CP-132I, CP132S, CP-132IS, 
	 CI-132, CI-132I, CI-132IS, CP-112UL

   - 4 Ports
	 CP-114EL, CP-114EL-I,
	 CP-104EL, CP-104UL, CP-104JU,
	 CP-134U, CP-134U-I, CP-134EL-A-I
	 C104H/PCI, C104HS/PCI, 
	 CP-114UL, CP-114, CP-114I, CP-114S, CP-114IS,
	 CI-104J, CI-104JS,     
	 CI-134, CI-134I, CI-134IS,
	 CB-114, CB-134I,
	 POS-104UL, CP-104EL-A

   - 8 Ports
	 CP-118EL, CP-118U,
	 CP-168EL, CP-168U,
	 CP-118U-I, CP-138U, CP-138U-I,
	 C168H/PCI,
	 CB-108, 
	 CP-118EL-A, CP-168EL-A, CP-118E-A-I
     CP-138E-A-I, CP-116E-A
	
--------------------------------------------------------------------------------
2. System Requirements

   - Hardware platform: Intel or AMD x86/x64 machine
   - Solaris version: Solaris 10	
   - Maximum 4 boards can be installed in combination

--------------------------------------------------------------------------------
3. Installation
      
   3.1 Driver files

       The driver file may be obtained from the CD-ROM or floppy disk. The first 
       step is to copy the driver file 
       "driv_solaris10_smart_i386_vx.x_build_yymmddhh.pkg" 
       into a chosen directory, e.g./moxa. Then, type the command below to 
       install the driver:

       # pkgadd -d driv_solaris10_smart_i386_vx.x_build_yymmddhh.pkg

       Type the command below to uninstall the driver:
       
       # pkgrm MxSIBoard
             
   3.2 Device naming convention
   
       serial and dialout port
       -----------------------
       
       The location of the serial ports is in /dev/term and the location of the 
       dialout ports are in /dev/cua. The driver also creates a symbolic link 
       for each serial and dialout port under /dev.

       Naming rule of the PCI board device node: tty[x][y]

           x: indicates the serial port and dialout port
              M: serial port, m: dialout port

           y: indicates the port number [0-7], [8-15], [16-23], [24-31]

	     Board Num.      Serial Port        Dialout Port
    	 ----------      -------------      -------------
	     1st board       ttyM0-ttyM7        ttym0-ttym7
	     2nd board       ttyM8-ttyM15       ttym8-ttym15
	     3rd board       ttyM16-ttyM23      ttym16-ttym23
	     4th board       ttyM24-ttyM31      ttym24-ttym31
       
       Naming rule of the PCIe board device node: tty[x][y]

           x: indicates the serial port and dialout port
              MUE: serial port, mue: dialout port

           y: indicates the port number [0-7], [8-15], [16-23], [24-31]

	     Board Num.      Serial Port            Dialout Port
    	 ----------      -----------------      -----------------
	     1st board       ttyMUE0-ttyMUE7        ttymue0-ttymue7
	     2nd board       ttyMUE8-ttyMUE15       ttymue8-ttymue15
	     3rd board       ttyMUE16-ttyMUE23      ttymue16-ttymue23
	     4th board       ttyMUE24-ttyMUE31      ttymue24-ttymue31
				
       For example, when a system installs a CP-102U and a CP-168U, the device 
       node will be created as follows:
       
        - Serial Ports:
            
          /dev/ttyM0 - ttyM1   : The CP-102U serial ports (1st board)
          /dev/ttyM8 - ttyM15  : The CP-168U serial ports (2nd board)
              
        - Dialout Ports:
       
          /dev/ttym0 - ttym1   : The CP-102U dialout ports (1st board)
          /dev/ttym8 - ttym15  : The CP-168U dialout ports (2nd board)
	
       Using the "prtconf -v | grep MOXA" command to get devnode information.
    
       # prtconf -v | grep MOXA
                               
   3.3 Verify driver installation
   
       Using the 'stty' command to check that the port works normally.
       
       # stty -a < /dev/ttyM0

   3.4 High baud rate setting

       The baud rates that are supported in Solaris are:

       B50, B75, B110, B134, B150, B200, B300, B600, B1200, B1800, B2400, 
       B4800, B9600, B19200, B38400, B57600, B76800, B115200, B153600, 
       B230400, B307200, B460800

       In addition, for baud rates such as 921600, the user must define B921600 
       as 23 to make the B921600 rate available. 

--------------------------------------------------------------------------------
4. Utility

   muestty - Port Configuration Tool
   ---------------------------------
   This utility provides some options to set or get interface and terminator 
   resistor information for the MUE series.

	 Usage: muestty <operation> device
   
	 device: specify a serial port for the MUE device 

	 operation:	 
		 -h        Help
                 -g        Get interface or terminator resistor type
                 -i intf   Specify a serial interface type
                 -t value  Specify a terminator resistor value

                 intf   RS232	 RS-232 mode
                        RS422    RS-422 mode
                        RS4852W  RS-485 2 wire mode
                        RS4854W  RS-485 4 wire mode
		
                 value  NONTERM	  None terminator resistor
                        120TERM   120ohm terminator resistor

   For example:
	
   To set the interface
   # muestty -i RS422 /dev/ttyMUE2

   To set the terminator resistor
   # muestty -t 120TERM /dev/ttyMUE5

--------------------------------------------------------------------------------
5. Troubleshooting 

   For questions or problems with this driver, please feel free to contact
   Moxa Inc. technical support (support@moxa.com). 
--------------------------------------------------------------------------------
