Multi-Tech Systems ISI9234PCIE Building the Linux Driver, Creating Linux TTY Device Names

Page 14

ISI Quick Start Guide

Building the Linux Driver

1 . Create a temporary directory: "mkdir /mtsi_upci"

2.Copy the tar file to the temporary directory "cp ISI_U_PCI_LINUX_V_1 01 .tar.gz /mtsi_upci"

3.Go to the temporary directory "cd /mtsi_upci"

4.Untar the file, "tarxvfzISI_U_PCI_LINUX_V_1 01 .tar.gz". This command will unzip the source files to the "mtsi_upci_driver" directory.

5.Switch to the newly created directory "cd mtsi_upci_driver"

6.Run the "make" command. The files "mtsi_upci.o" and "resetport" will be created.

7.Run the "make install" script. The script will create the driver module and tty devices, and modify the rc files in order to load the driver automatically on system reboot. Successful compilation and loading of the module is displayed on the screen. Specifically, when the script has finished running successfully, it will display the message "MultiTech ISIPCIE driver loaded successfully YY" The script will also create the "ttyMUxy" ports and list the ports it has created. If this message and a list of ports do not appear, watch for error messages.

Creating Linux TTY Device Names

1.This driver retains the standard serial device properties: dial-in port files (named in the form "ttyMUxy"), and call-out port files (named in the form "cumxy"). File names of these two special types become associated with each serial port. The first file type is for the dial-in port and has a name of the form "ttyMUxy" where the "x" denotes the card number and the final "y" denotes the port number on that card. The second file type is for the call-out port and has a name of the form "cumxy" where, again, the "x" denotes the card number and the "y" denotes the port number on that card.

2.Consider the situation of installing two 8-port serial cards in the server computer. In that case, the driver would create TTY devices "ttyMUla" to "ttyMUlh" and devices "cumla" to "cumlh" under the "/dev" directory for card 1. Similarly, devices ttyMU2a to ttyMU2h and devices "cum2a" to "cum2h" would be created for card 2. (If a 4-port card were installed as card 1, the driver would create TTY devices "ttyMUla" to "ttyMUld.")

14

Image 14
Contents Intelligent Serial Interface Record of Revision Date Description TrademarksSafety Warnings Page Software Installation Driver Installation for Windows Server 2008 and VistaSelect Don’t search online Click Close Installation of the Communications Port Select Don’t search onlineClick Close Installation of the Modem Page MultTech Systems MT9234SMI Installing the ISI Card Driver in Linux Linux Driver Installation OverviewBuilding the Linux Driver Creating Linux TTY Device NamesUsing the Linux Port Reset Utility Verifying Successful Loading of the Linux DriverConfiguring your Modems for your Country Click Initial Setup & Country SelISI Quick Start Guide Patents
Related manuals
Manual 42 pages 9.61 Kb