User Manual

56
ISI5634PCI/4/8 User Guide
> cd /isi
4. The current isicom.o file should be backed up before installing the RPM. The easiest way is simply to
rename it or copy it into another file. For example, “cp (or mv) isicom.o isicom.original”. It is
usually located in the /usr/local/ISICOM directory. For the version 7 RPM, you will need to use the ‘--
force’ option in the RPM command as in step 5b below.
5a. For RPM version 6.2:
Copy the RPM to a temporary folder. In this example, we’ll use /isi. Installation is in three parts, building
the ‘isicom-smp.spec’ file from the source file, then building the actual RPM from that “spec” file, and
finally, installing the RPM. Do not type the quotation marks shown in the commands below.
- Run “rpm -i /isi/isicom-1.1-3.src.rpm”.
- Run “rpm -ba /usr/src/redhat/SPECS/isicom-smp.spec”.
- Run “rpm -ihv /usr/src/redhat/RPMS/i386/isicom-1.1-3.i386.rpm
- Reboot the system, either using the command “init 6 <ENTER>” or your favorite method.
5b. For RPM version 7.0:
Copy the RPM to a temporary folder. In this example, we’ll use /isi. Installation is in three parts, building
the ‘isicom-smp.spec’ file from the source file, then building the actual RPM from that “spec” file, and
finally, installing the RPM. Do not type the quotation marks shown in the commands below. Replace the
x below with the actual version numbers being used.
- Run “rpm -i /isi/isicom-1.2-3.src.rpm”.
- Run “rpm -ba /usr/src/redhat/SPECS/isicom-rh7.spec”.
- Run “rpm -ihv --force /usr/src/redhat/RPMS/i386/isicom-1.2-3.i386.rpm”.
- Reboot the system, using either the command “init 6 <ENTER>” or your favorite method.
LINUX-RPM: Verifying the ports
To test the installation, you can use the terminal program ‘minicom’. Use the command “minicom -s
to set up the tty port that you will use to communicate.
1. In the Configuration window, select “Serial Port Setup.”
2. Select A to set the Serial Device (for example, /dev/ttyM1a).
3. Select E to set the baud rate.
4. Press Escape (Esc) to exit.
5. Select Exit to communicate with the port.
6. Issue AT commands and make sure it returns “OK”.
LINUX-RPM: 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. Normal ports (ttyM) are configured for dial-in connections.
In these expressions (ttyMxy), 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