QUICK START Linux DRIVER and HARDWARE REFERENCE CARD This Guide.
1. Installing Your RocketPort 550 hardware ........................... 3 2. Installing the RocketPort 550 Linux Device Driver software................................................................................... 4 3. Viewing the RocketPort 550 Port Installation .................... 9 4. Driver Removal ................................................................. 10 5. Application Programming ................................................ 10 6. Port Names .........................................
The Linux RocketPort 550 Drivers allow application space programs to perform asynchronous communications using boards from the Comtrol RocketPort 550 range. When this document refers to RocketPort 550 it is relevant both the RocketPort 550 and the RocketPort 550 Universal controller. If the text is relevant to only one controller type then the reference will be to the ‘RocketPort 550 Universal’ or ‘original RocketPort 550’ 1.
2. Installing the RocketPort 550 Linux Device Driver software NOTE The Comtrol Linux driver release 2.02 was developed using the RED HAT 8.0 distribution with Kernel revision 2.4.18-14. The driver source is provided should developers wish or need to modify the driver for use with alternative Linux distributions and/or Kernels. For use with other 2.4.x kernels, a simple re-compilation (on the target system) is all that may be necessary and a ‘Makefile’ is provided to automate this process.
Step 2. Next, create a temporary directory into which the files can be extracted: [root@localhost root]# cd /tmp [root@localhost tmp]# mkdir inst_Comtrol [root@localhost tmp]# cd inst_Comtrol Step 3. Then, extract the driver components from the tar file on the diskette or CD ROM to the temporary directory: Note that the name of the tar file may be different. DISKETTE [root@localhost inst_Comtrol]# tar xvf /mnt/floppy/rel202.tar CD ROM [root@localhost inst_comtrol]# tar xvf /mnt/cdrom/rel202.
Important Note If running SuSE Linux then use install.SuSE instead of install [root@localhost inst_Comtrol]# ./install =========================================================== Comtrol Europe RocketPort 550 Drivers installation Version (x.yy) (Month year) =========================================================== Press Enter to begin installation Where (x.yy) is the release ‘major.minor’ number, and ( month year ) is the release date. Press enter to begin installation. A screen of text is displayed.
There are two names for each port, one is for communication with a modem, the other is for communication with a terminal or computer Usually the modem connection has a Device name like 'cuaa..' and the terminal/computer connection has a name such as 'ttyA..' See section 6 for more information about port naming. You are prompted to enter the Special Device name prefix for terminal ports: Please enter the Special Device name for terminals [....
Copying files ......Done Adding insmod command to /etc/rc... directories...Done Next, you are asked if you want to load the drivers now. If you have already fitted the RocketPort 550 cards into the system (as we suggest you do), then you should choose ‘Y’ here. If you have not installed the cards yet, or have other administration tasks that will need a reboot, you can say ‘N’ for no. Do you want to install the RocketPort module now.
3. Viewing the RocketPort 550 Port Installation You can check that devices have been created in the /dev directory.
4. Driver Removal There is generally no need to remove the device driver from the system. If a card is no longer required, simply shutdown and power off the computer, remove the card and reboot the system. If there are no longer any installed cards then the driver will detect this condition unload itself. However, the driver files will remain installed on the system’s hard disk. At a later time the RocketPort 550 card(s) can be re-installed and the computer restarted.
6. Port Names The following tables show the port names given to each RocketPort 550 port if you choose the ‘normal’ cuaa and ttyA naming.
Also, note that the assigned special device names are fixed as shown in the above tables. So, the first RocketPort will start at /dev/ttyA00, the second at /dev/ttyA16 and so on, regardless of whether the RocketPorts are 4, 8 or 16 port examples. For example, if installing, say, two 8 port RocketPorts then the first card will use device names /dev/ttyA00 to /dev/ttyA07 and the second board will use /dev/ttyA16 to /dev/ttyA23.
7. RocketPort 550 Linux driver (re)compilation Before compiling the RocketPort 550 driver, you must install the Linux kernel source code. Consult Linux on-line documentation and/or web hosted Linux documentation for the procedure. With the RED HAT Linux 8.0 boxed set distribution, the Linux kernel source is provided in a format ready for installation using RPM. Following successful installation of the kernel source code, the kernel source tree root will be found at /usr/src/linux2.4.xx.
The steps below are for the SuSE distribution You can now use the ‘install’ script to install the driver, return to installation step 4. 1. Navigate to the RocketPort 550 installaton directory because this contains the Source, rckt550.c and the makefile (this document assumes that this is /tmp/inst_comtrol. [root@localhost src] # cd /tmp/inst_comtrol 2. Perform the compilation. [root@localhost inst_comtrol] # make makefile.SuSE clean [root@localhost inst_comtrol] # make makefile.
8.
RocketPort 550 Universal 4 MINI Cable - 44 way HD type fan out to 4 DB9 Male DB44 pin 2 17 32 18 1 19 31 33 3 36 5 21 6 35 7 20 22 37 DB9 pin 3 2 7 8 6 5 1 4 9 3 2 7 8 6 5 1 4 9 RS232 Signal/Port DB44 pin TxD Port 0 25 RxD Port 0 39 RTS Port 0 9 CTS Port 0 40 DSR Port 0 24 Signal Gnd Port 0 41 DCD Port 0 8 DTR Port 0 10 RI Port 0 26 TxD Port 1 13 RxD Port 1 28 RTS Port 1 43 CTS Port 1 29 DSR Port 1 12 Signal Gnd Port 1 30 DCD Port 1 42 DTR Port 1 44 RI Port 1 14 16 DB9 pin 3 2 7 8 6 5 1 4 9 3 2 7 8 6 5
RocketPort 550 8 OCTA Cable - 78 way D type fan out to 8 DB25 Male DB78 Pin 30 55 51 16 54 71 35 49 36 50 17 31 53 34 72 33 32 15 11 37 12 59 58 73 39 13 20 10 56 14 57 38 74 18 52 19 DB25 Pin 2 3 4 5 6 7 8 20 22 2 3 4 5 6 7 8 20 22 2 3 4 5 6 7 8 20 22 2 3 4 5 6 7 8 20 22 RS232 Signal/Port TxD Port 0 RxD Port 0 RTS Port 0 CTS Port 0 DSR Port 0 Signal Gnd Port 0 DCD Port 0 DTR Port 0 RI Port 0 TxD Port 1 RxD Port 1 RTS Port 1 CTS Port 1 DSR Port 1 Signal Gnd Port 1 DCD Port 1 DTR Port 1 RI Port 1 TxD Port
RocketPort 550 8 RJ11 Cable Pin Out RJ11 pin 1 2 3 4 5 6 Pin 1 RS232 Signals DTR Signal Ground TxD RxD DCD CTS RJ11 Plug front and side view RocketPort 550 4 RJ45 Cable Pin Out RJ45 pin 1 2 3 4 5 6 7 8 Pin 1 RS232 Signals RTS DTR Signal Ground TxD RxD DCD DSR CTS RJ45 Plug front and side view RocketPort 550 8 Port - with 8 DB25 Female RS232 dedicated interface box and RocketPort 550 16 Port - with 16 DB25 Female RS232 dedicated interface box 13 25 1 14 DB25 Female Interface Box Connector 1 14 13 2
Rocket Port Interface Box DB25 Signals DB25 Pin 2 3 4 5 6 7 8 20 15 17 19 25 RS232 Signal TxD RxD RTS CTS DSR Signal Gnd DCD DTR Not used Not used Not used Not used RS422 Signal (RocketPort RS232/422 version only) *See note *See note *See note *See note *See note *See note *See note *See note RxD+ RxD(B) RxD- RxD(A) TxD+ TxD(B) TxD- TxD(A) Universal Interface See UI manual See UI manual See UI manual See UI manual See UI manual See UI manual See UI manual See UI manual See UI manual See UI manual See
9. Technical Support Comtrol has a staff of support technicians available. Telephone support is available daily, Monday through Friday (except holidays) on the US (Central Time) or UK number listed below.
10. Specifications RocketPort 550 & RocketPort 550 Universal Baud rate : RS 232 (4 RJ45 and Quad) RS 232 (8 RJ11 and Octa) RS 232/422 (8 and 16 Port with interface box) Specification RS232 (UNIVERSAL RJ45/RJ11/OCTA/MINI) RS232 /422 (UNIVERSAL 8 & 16 Port with I/F box) 50 to 115.2K baud 50 to 230.4K baud 50 to 460.8K baud 50 to 115.2K baud 50 to 230.
Product RocketPort 550 Universal 4 RJ45 RocketPort 550 Universal 4 Mini RocketPort 550 Universal 8 OCTA RocketPort 550 Universal 8 RJ11 RocketPort 550 Universal 8 Port See note* RocketPort 550 Universal 16 Port See note* 5V Current +12V Current -12V Current 260mA 200mA 200mA 280mA 200mA 200mA 400mA 400mA 400mA 315mA 260mA 260mA 400mA 0 mA 0 mA 600mA 0 mA 0 mA *Note the current figures are for the card only and do not include the attached interface box.