|
Connect Tech Inc. DFlex/ISA, DFlex/104 and Xtreme/104 QNX 4.2x Installation Guide
DFlex/ISA, DFlex/104 and Xtreme/104 Software Installation Guide for QNX 4.2x
Printer friendly version
Introduction
This software installation guide is designed to help users successfully install the
DFlex or Xtreme serial adapters under the QNX 4.2x platform.
Before beginning the software installation, please be sure to read the product
manual for hardware installation/configuration instructions.
To make the instructions easy to follow, all commands that have to be issued on
the command line are written in bold text.
NOTE: You must be logged in as root to perform this installation
Preamble: Getting Your System Ready
Before you begin the installation process, you will need to have two applications
running so you will be able to read from the DOS diskette. To run these applications,
enter the following two commands from the command line:
# Fsys.floppy &
# Dosfsys &
These particular applications may be running by default (these are QNX applications),
and therefore you may not have to issue the previous commands. Please see the QNX
documentation for more details about Dosfsys and Fsys.floppy
Installing the Driver
Go to the /usr/bin directory by issuing the command:
# cd /usr/bin
If you downloaded the *.tar file from the website, you will need to untar it first.
The *.tar file contains Dev.ctiser and Dev16.ctiser files.
tar xvf DF-QNX4_XXXX.tar
Where XXXX is the version number
If you are using the driver diskette, issue the following command:
# tar xvf /dos/a/qnx4/df-qnx4.tar
These commands will place both serial drivers into the /usr/bin directory
Command Line Arguments
[driver] [options] [port,IRQ] &
Where :
[driver]: is the device driver you would like to use (Dev.ctiser or Dev16.ctiser)
[port]: is the port I/O address (in hex)
[IRQ]: is the IRQ value used by the port (in decimal)
Example: Let's assume that we have a 4 port card installed, with an IRQ value of
10 and a starting I/0 address of 300. If we want to use Connect Tech's 32-bit
driver, you would enter the following:
Dev.ctiser -t8 300,10 308,10 310,10 318,10 &
For more command line options, issue the following commands:
# use Dev.ctiser
Other command line options are:
-b number
Defines the initial baud rate (default: 9600)
-C number
Size of canonical input buffer (default: 256)
-d
Set DTR on initially (default)
-D
Set DTR off initially
-e
Set options to "edit" mode
-E
Set options to "raw" mode (default)
-f
Enable hardware flow control (default)
-F
Disable hardware flow control
-h number
Define high-water mark for input flow control (default: 3/4 point of input buffer)
-I number
Size of raw input buffer (default: 2048)
-l number
Define low-water mark for input flow control (default: 1/4 point of input buffer)
-m
Disable modem carrier processing (HUP)
-M
Enable modem carrier processing (HUP) (default)
-N name
Prefix to register (default: "Ser")
-O number
Size of output buffer (default: 2048)
-p
Enable packet mode
-P
Disable packet mode (default)
-r
Set RTS on initially (default)
-R
Set RTS off initially
-s
Enable ohflow split - CTS only required (default)
-S
Disable ohflow split - CTS and DTR required
-t number
16550 RxD FIFO threshold (1, 4, 8 or 14). 0 disables (default: 0)
-x
Enable software flow control (XON/XOFF)
-X
Disable software flow control (default)
-w
Enable hardware shutdown on SIGPWR
-W
Disable hardware shutdown on SIGPWR (default)
RS485 Mode Support
Please read the manual for the DFlex or Xtreme cards for more information about
RS485 settings/modes.
Editing the sysinit File
Before you begin editing the sysinit file, you will have to determine exactly which
sysinit file to edit. To do so, you will have to find the current node number of your
system. This can be easily done issuing the following command:
# sin info
This will give you the current node number of your system, as well as other information.
Once you know the node number of your system, you can determine which sysinit file
you need to edit. The node number will actually be the extension of the sysinit
file to be edited.
For example, if you found that the current node number of your system is 6,
you will have to edit the file sysinit.6. All sysinit files will be located in
the /etc/config directory. If you are going to edit the sysinit file to
load the driver at boot time, make sure that you add this entry at the end of
the sysinit file. It is also recommended that you add a sleep command of 1 as well.
For example, to start the DFlex driver, add these lines to the sysinit file:
Dev.ctiser &
Sleep 1
You can also add the ctty commands in the sysinit file, but make sure to place
them after the line where you start the serial driver
Testing the Newly Installed Ports
You can perform a simple loopback test with a terminal program (i.e. qtalk)
and a loopback connector to ensure that the newly installed ports are functioning.
Connect the loopback connector to the port you want to test and run qtalk.
When you type a character, you should see it on the screen, which means that the
port is working. If you remove the loopback connector, the characters that you
type should not appear on the screen.
Assuming that you want to test ser1 with qtalk, run:
qtalk -m /dev/ser1
Contacting Technical Support
If you require any further assistance, please check the Connect Tech Knowledge Database (KDB),
product manual or specification sheets for more technical information at
www.connecttech.com/sub/Support/Support.asp
For driver updates, manuals and installation guides, please check the Download Zone at:
http://www.connecttech.com/asp/Support/DownloadZone.asp
If you have any other questions please contact the Technical Support department by email at
support@connecttech.com
Last Updated: April. 30, 2002
|