beautypg.com

Comtrol QNX 4.xx User Manual

Page 2

background image

Note: By default, the install command looks in the

diskette drive for the driver files.

5. Load the driver using the Loading the Driver

discussion.

Loading the Driver

Before loading the driver, make sure that you have

installed the RocketPort ISA or PCI cards. If you are

installing an ISA card, it may be necessary to change

the

I/O address (default is 180) setting. Use the Hardware

Reference Card or the readme file for hardware

installation procedures.
To load the driver, issue the following command line

from either the command prompt or from the /etc/

config/sysinit file. See the Quickstart discussion for

sample command lines.
If you are installing RocketPort PCI cards, they are

detected before any of the RocketPort ISA cards and you

do not need to specify I/O addresses or IRQs for

RocketPort PCI cards. The system determines the order

of the PCI cards.
Note: If you type 'use Dev##.rckt' you will get

command line help.

[path]Dev##.rckt [options] addr[,irq] [addr[,irq]]

[addr[,irq]] &

Where:

Load Options

The following is a table of load option parameters.

Quickstart

The following illustrates some sample installations.
Note: You may receive Error 23 File Table Overflow

message if the QNX Device Manager (Dev)

statement does not have a large enough value for

the -n option in the sysinit file to accommodate the

number of ports.

• Starts Dev32.rckt with PCI cards only.

Dev32.rckt &

• Starts Dev32.rckt for one RocketPort ISA card with

the base I/O address of 180h using IRQ11. If any PCI

boards are installed, they are detected and installed

first.

Dev32.rckt 180,11 &

• Starts Dev32.rckt for 2 RocketPort ISA cards with

the first using a base I/O address at 180h with IRQ

11, the second with a base I/O address at 100h using

IRQ 15, both 1200 baud. If any PCI boards are

installed, they are detected and installed.

Dev32.rckt -b 1200 180,11 100,15 &

Table 1. Commands

Command

Description

[path]

The path to the Comtrol driver files. Optionally,

you may either add the directory to your binary

path or copy the Comtrol driver files (Dev##.rckt)

to your /bin directory.

Dev##.rckt Where ## is the specific driver; that is:

* Dev32.rckt is the 32-bit version of the driver

(QNX 4.23 and higher)

* Dev16.rckt is the 16-bit version of the driver

(QNX 4.22 and below)

[options]

Represents any combination of the parameters

listed in Table 2.

[addr]
(ISA only)

Represents the I/O base address (hex) of each

RocketPort ISA board you are installing. This is not

required for RocketPort PCI boards.

[irq]
(ISA only)

Represents the software interrupt you want to use

with the RocketPort ISA board (default is 15).
RocketPort ISA cards cannot share interrupts

(IRQs). If you are running in poll mode, you do not

need to specify any IRQs.
Once loaded, the driver creates devices for each

board in the /dev directory by the name of rckt#,

unless otherwise specified by the -N name option;

where # is 1 through the number of ports on the

card.

Table 2. Driver Load Options

Options

Description

-p

Poll mode (Interrupt default) - 137 Tx polls/sec

and 100 Rx polls/sec. If IRQs are specified along

with this option, the IRQs are ignored.

-b number

Defines initial baud rate (default 9600).

-C number

Size of canonical input buffer (default 256).

-d

Sets DSR on initially (default).

-D

Sets DSR off initially.

-e

Sets options to “edit” mode.

-E

Sets options to “raw” mode (default).

-f

Enables and locks hardware flow control (default).

-F

Disables hardware flow control.

-h number

Defines high-water mark for system input buffer

flow control (default 3/4 point of input buffer).

-I number

Size of raw system input buffer (default 2,048).

-l number

Defines low-water mark for system input buffer

flow control (default 1/4 point of input buffer).

-m

Disables modem carrier processing (HUP).

-M

Enables modem processing (HUP) (default).

-N name

Prefix to register (default “rckt”).

-O number

Size of system output buffer (default 2,048).

-r

Sets RTS on initially (default).

-R

Sets RTS off initially.

-s

Enables output flow control (ohflow) split, CTS

only required (default).

-S

Disables output flow control (ohflow). CTS and

DSR required.

-x

Enables and locks software flow control.

-X

Disables software flow control (default).