Verifying successful loading of the linux driver, Un-installing the linux isi driver, Using the linux port reset utility – Multi-Tech Systems INTELLIGENT SERIAL INTERFACE ISI9234PCIE User Manual

Page 15

Advertising
background image

ISI Quick Start Guide

15

Verifying Successful Loading of the Linux Driver

1. To confirm the successful loading of the driver, execute the command "lsmod".

The driver "mtsi_upci" should be listed in the list of modules. If the driver is
not listed, invoke the "lsmod" command again and watch for errors.

2. Check that the tty devices (with names of the form "ttyMUxy") are listed under

the /dev directory. If the tty devices are not listed, invoke the ".
/mknod_script" command again (it was previously run as part of the "make
install" script in step 7 of the "Building the Linux Driver" procedure) and watch
for errors.

3. To confirm that the tty devices function for each modem on the ISI

card, execute the utility "minicom" and dial out on each modem.

Un-Installing the Linux ISI Driver

1. Run the "make clean" script. You must run this command from the

"mtsi_upci_driver" directory.

The "make clean" script will delete the "resetport" and "mtsi_upci.o"
files.

2. Run the "make uninstall" script.

You must run this command from the "mtsi_upci_driver" directory. The "make
clean" script will remove the module "mtsi_upci".

3. Execute the "lsmod" command. The "mtsi_upci" module should no longer

be listed. If this module is still listed, then invoke the command "rmmod
mtsi_upci" and check again to see whether or not the module is listed.

4. Delete serial ports (these are files with names of the form "ttyMUxy").

To do so, go to the "dev" directory.

Enter the command "rm ttyMUZ".

Using the Linux Port Reset Utility

For the serial cards, the port-reset utility allows you to reset ports without rebooting. For
the modem cards, the port-reset utility allows you to reset both ports and modems
without rebooting.

To reset a serial port, the DTR pin is set to the low logic level for one second. To reset
the modem port, the Reset pin is toggled (i.e., its logic state is inverted and then
restored).

1. To reset the port (for serial card) or modem (for modem card) run the command

"resetport /dev/ttyMUxy"

(where 'x' stands for card number and 'y' for the port number).

2. On the serial cards, the DTR LED will toggle indicating that the reset has occurred

and this toggling might be observable on the modem attached to the port (if
the modem is equipped for this indication). There is no similar indication of
successful reset on the modem cards.

Advertising
This manual is related to the following products: