Company
Comtrol
Categories
Networks Cards
Model
Comtrol DeviceMaster RTS
Description
Using MiniCom Documentation
Operating Systems
Manual TXT Linux
Version Manual
C
Size Manual
7Kb
Info
For Linux Only
Using MiniCom to Test
Comtrol Serial Ports
This procedure discusses how to use MiniCom in Linux to test ports using a null-modem cable connected
between two ports. If necessary, cabling information is available in each product’s hardware installation
documentation.
Note: This document uses ports ttyR0 and ttyR1 in the examples. You will
Note: Linux is case sensitive, be sure to use the proper case. tty is lower case, R, V and SI are in uppercase.
Instructions for testing modem products are included at the end of this document.
Testing Serial Ports
Use this procedure to test serial ports:
1. Verify that the driver has been installed and loaded using the installation documentation.
2. Connect a null-modem cable to Ports 0 and 1 on the device.
3. Log in to Linux if you have not already do so.
4. At the system prompt, change directory to the /dev directory so that a listing of the created Comtrol ports
may be seen.
[root@localhost/root]# cd /dev
5. List the Comtrol ports.
[root@localhost/dev]# ls ttyR*
This should show the tty ports that have been installed beginning at 0 (zero) and sequentially numbered
to the highest port on the device. For example, a RocketPort 16 has ttyR0 through ttyR15 displays as:
ttyR0 ttyR10 ttyR12 ttyR14 ttyR2 ttyR4 ttyR6 ttyR8
ttyR1 ttyR11 ttyR13 ttyR15 ttyR3 ttyR5 ttyR7 ttyR9
6. Return to the home directory:
[root@localhost/dev]# cd ..
7. Start Minicom with the setup option to configure the appropriate port.
[root@localhost/root]# minicom -s
The following warning message may appear:
minicom:Warning: Configuration file not found, using defaults
The following screen should appear:
[Configuration]
Filenames and paths
File transfer protocols
Serial port setup
Modem and dialing
Screen and keyboard
Save setup as dfl
Save setup as...
Exit
Exit from Minicom
8. Using the up and down arrow keys select Serial port setup. The following window should appear:
A - Serial Device : /dev/modem
B - Lockfile Location : /var/lock
C - Callin Program
D - Callout Program
E - Bps/Par/Bits : 38400 8N1
F - Hardware Flow Control : Yes
G - Software Flow Control : No
Change which setting?
9. Enter a and the cursor should move to the end of A - Serial Device : /dev/modem.
10. Using the backspace key, change modem to ttyRx (
where x is a number of the port to test. This example uses Ports 0 for the first terminal window, so the
line should read, A - Serial Device : /dev/ttyRx
Note: Linux is case sensitive, be sure to use the proper case. In this the first terminal window we will use
Port 0, so the line should read A - Serial Device : /dev/ttyR0
11. With the cursor at the Change which setting? option, press the Enter key to close this screen and return to
the configuration screen.