User Manual

52
ISI5634PCI/4/8 User Guide
> cd /isi
> cp /mnt/floppy/kernel_2.2.x/* /isi
After you have copied the installation tar file to a folder, use the command 'tar xvf isilinux.tar' to
untar (unzip or de-compress) the installation files in that folder.
LINUX: Driver installation and loading
Execute the 'Install' script to build the driver and to copy the driver and firmware files to the required
folder.
> cd /isi
> ./Install
For ISI cards with the ISA bus, the installation script requires the user to type in the I/O address and the
IRQ to be used. However, for ISI cards with the PCI bus (ISI5634PCI cards have the PCI bus), simply
press ENTER when asked for addresses and IRQs. The installation creates the script file 'ISICOMStart'
in the destination folder. 'ISICOMStart' automates the loading process for the driver and firmware.
To view busy I/O address space on your system, enter
cat/proc/ioports
To view busy IRQs, enter:
cat /proc/interrupts
You must load the driver before you can load the firmware. You can load the driver manually using the
'insmod' utility. For ISI cards with the ISA bus, the I/O base address and the IRQ required by the card
also need to be passed as parameters to insmod (this does not apply to ISI5634PCI cards because they
are equipped with the PCI bus).
insmod isicom io=card1, ... card4 irq=card1, ... card4
The PCI cards and their configurations will be auto-detected by the driver.
You can manually load the firmware into all of the installed ISI cards simultaneously by executing the
'frmld' utility in the installation folder. The firmware to all the installed cards can be manually loaded by
executing the 'firmld' utility in the installation folder. This utility requires the firmware files (.bin) to be
located in the /usr/local/ISICOM/ folder.
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, ...).