51
Chapter 3—Driver Installation - Linux
LINUX: Setting the baud rate
The 'stty' utility can be used to set the baud rate of a particular port.
For example, to set the baud rate of the first port on the first card
(ttyM1a) to 38400 bps, execute 'stty 38400 < /dev/ttyM1a'.
The current baud rate can be viewed by executing 'stty < /dev/
ttyM1a'.
LINUX: Verifying the ports
Terminal utilities like 'minicom' can be used to verify the ports,
'talk' to the modem, and dial out.
To configure 'minicom' for a particular port, run it with the '-s'
option. In the 'serial port setup' menu option, set the serial device to
the required ISI port device (for example, '/dev/ttyM1a' for the
first port on the first card). Save the configuration for a particular port
using the 'save setup as' menu option as, for example, '1a' for the port /
dev/ttyM1a. To connect to the port /dev/ttyM1a using minicom the
next time, 'minicom 1a' needs to be executed.
LINUX: TTY Devices Created by the Drivers:
Device files corresponding to ports on the ISI card are created in
the /dev folder. Use ttyMxy for normal ports and cumxy for
corresponding callout ports. Normal ports (ttyM) are configured for
dial-in connections. Callout ports (cum) are used for dial-out
connections.
In these expressions (ttyMxy and cumxy), the letter x is the card
number (1-4), and y is the port designator (a, b, c, ...).
The ISI Linux driver creates the following TTY devices in /dev
directory:
- /dev/ttyM1a TO /dev/ttyM1p for the first ISI card
- /dev/ttyM2a TO /dev/ttyM2p for the second ISI card
- /dev/ttyM3a TO /dev/ttyM3p for the third ISI card
- /dev/ttyM4a TO /dev/ttyM4p for the fourth ISI card