Driver Installation
– untar the install package bhblbe-sco-vXXX-install.tar
– Place the binary file VOL.000.000 into a directory (eg. /usr/cti/)
– Execute the custom from the shell # custom
– Goto Software->Install New
– From the install options that you are given, select SCO507.
– When prompted for media device, select Image Directory.
– Type in the directory that the driver file is saved in (eg. /usr/cti)
– Select OK
– Select Install
– When prompted to see which components to install, select the component highest on the list. All of the components listed beneath this one will be installed as well.
– Once the installation is complete, save the changes to the kernel.
– You will be prompted several times by SCO. Select yes for each of the prompts.
– During this stage the kernel will be rebuilt and recompiled automatically.
– After the system has finished creating the new kernel, reboot the system.
– The driver will now be installed.
Creating The Devices
First use the Vi editor, or your favorite text editor to open up the file “messages”. This file will be located in the /usr/adm/ directory.
# vi /usr/adm/messages
In the messages file, you should see an entry for the Blue Heat adapter. The entry will look similar to this:
%serial 0xC000-0xC01F 11 – dev=17 type=ConnectTech nports=4 fifo=654/64
The important parts to note here are the dev=xx and the nports=x flags.
The nports flag indicates how many ports your Blue Heat card has, and the dev tag indicates the starting minor device number of your card. The dev number is equivalent to your first COM port number on the Blue Heat adapter. After we find out our starting minor device number, and the number of ports that we have, we can now start creating them.
NOTE: For SCO 5.0.7
The minor number is found in the field: base=xx
To begin creating the devices, issue the command:
# mknod /dev/ttyYz c 5 xx
Y : This is the board number, usually starting at 3.
xx: This is the minor device number.
z : This is the port number relative to the board, starting with the character ‘a’.
From our example above, this is how you would create the nodes for the Blue Heat card:
# mknod /dev/tty3a c 5 17
# mknod /dev/tty3b c 5 18
# mknod /dev/tty3c c 5 19
# mknod /dev/tty3d c 5 20
You will now have to create modem control ports. This procedure is nearly identical to the step above. To create the modem control ports, issue the command:
# mknod /dev/ttyYZ c 5 yy
Y : This is the board number, usually starting at 3.
yy: This is the minor device number, plus 128.
Z : This is the port number relative to the board, starting with the character ‘A’. (Notice that these are now capital letters).
From our example above, this is how you would create the modem control ports for the Blue Heat PCI card:
# mknod /dev/tty3A c 5 145
# mknod /dev/tty3B c 5 146
# mknod /dev/tty3C c 5 147
# mknod /dev/tty3D c 5 148
After you have finished creating the devices, you must change their permissions for general use; to do this enter the following command:
# chmod 666 /dev/tty3*
This will allow other users to access all of the ports that you have just created.
Editing Files
Use Vi, or your favorite text editor to add entries to the file specified below:
# vi /usr/lib/uucp/Devices
Direct ttyYz – min. baud rate–max. baud rate direct
For our continued example, the entries would be as follows:
Direct tty3a – 9600-921600 direct
Direct tty3b – 9600-921600 direct
Direct tty3c – 9600-921600 direct
Direct tty3d – 9600-921600 direct
The 9600-921600 entry shows the range of baud rates at which the adapter will function. The minimum baud rate I have chosen here is 9600, but of course it can go lower if need be. The maximum rate of the Blue Heat boards is 921.6Kbps, which I have set for the maximum rate under SCO. Please be sure to confirm your maximum baud rate with the Blue Heat’s User Manual. Your system should be ready to use the Blue Heat adapter. NOTE: Entries must be entered in exact. i.e. No leading spaces.
Testing the Newly Installed Ports
You can perform a simple loopback test with a terminal program (i.e. cu) 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 “cu”. 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 /dev/tty3a with cu, run:
cu -l /dev/tty3a -s 9600