Linux - Korenix JetCard Series User Manual

Multiport serial card
Table of Contents

Advertisement

3. Click on Exit to leave the uninstallation window.

Linux

Installing the Linux Driver
Note: use root as the username to log in.
Note: mount your CD device and insert Korenix JetCard CD first.
1. Copy the driver file to the hard disk and decompress.
# mkdir korenix
# cp /mnt/cdrom/jetcard_driver/linux/jetcarddrv.tgz korenix
# cd korenix
# tar xfz jetcarddrv.tgz
2. Compile the driver file.
# cd jetcarddrv
# make
3. Create the device files.
# ./mknod.jetcard
4. Now the JetCard driver is installed correctly. JetCard driver will be loaded into your system
automatically during the next boot up. Or you could start to load the driver manually right now
with the command below:
#/etc/init.d/jetcard start
Testing JetCard Under Linux
Korenix provides a test program "rstest" for testing your JetCard under Linux. Before you start to
test, finish the JetCard hardware and driver installation.
"rstest" program can test to see if two serial ports communicate with each other. You need to
connect two serial ports' TX, RX, RTS, and CTS for testing ("rstest" uses hardware handshaking
mode). The test procedures are described below:
1. You need to compile the test program if you are using "rstest" for the first time.
#cd /....../korenix/jetcarddrv/rstest
#make
2. The commands of the test program are as follows:
#./rstest [-d] [-m] [-s n] </dev/ttyJn1> </dev/ttyJn2>
[-d] disable RX/TX transfer test
[-m] enable modem control line test
[-s n] The highest test baud rate
For Example:
Ex1. Test to see if ttyJ0 and ttyJ1 communicate with each other with baud rate up to 921 Kbps.
# ./rstest –s 11 /dev/ttyJ0 /dev/ttyJ1
Ex2. Test to see the modem line status of ttyJ0 and ttyJ1.
# ./rstest –d –m /dev/ttyJ0 /dev/ttyJ1
3-18
Korenix JetCard Series Multiport Serial Card User's Manual
n = 9, baud rate = 230K
n = 10, baud rate = 460K
n = 11, baud rate = 921K

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents