SPEED Serial adaptors User guide
Installing under Linux
Page 70
Chapter 2 Installing drivers and host cards
Creating devices for the attached ports
After you have installed the new kernel & hardware, and have rebooted the machine. you
need to create devices for the added ports. To do this proceed as follows;
1. At the command prompt, type
grep ttyS /var/log/messages
and press the
Enter
key to
determine how many on board devices are present.
The devices present on the system are now displayed as shown in the next example.
You now need to create four more nodes to support of the SPEED4 card,
ttyS2
,
ttyS3
,
ttyS4
, and
ttyS5
. To do this proceed as follows;
2. At the command prompt, type
ls -l /dev/ttyS[0-9]*
and press the
Enter
key to determine
the major and minor node numbers.
The major and minor node numbers are now displayed as shown in the next example.
3. At the command prompt, enter the following commands (pressing the
Enter
key after
each one) to create the next 4 nodes which must follow on from the ones already defined.
For example, if
S0
and
S1
are already defined, then the next available serial port will be
S2
(Note that the major node number will be the same as any existing device, but the minor
node must be the next available).
Nov 12 09:41:43 pro800x2 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Nov 12 09:41:43 pro800x2 kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
This example shows 2 tty devices already present in the machine.
First 2 nodes relate to the two tty
devices already present in the
machine,
/dev/ttyS0
and
/dev/
ttyS1
crw-rw-rw- 1 root tty 4, 64 May 5 1998 /dev/ttyS0
crw------- 1 root tty 4, 65 Nov 12 14:12 /dev/ttyS1
mknod /dev/ttyS2 c 4 66
mknod /dev/ttyS3 c 4 67
mknod /dev/ttyS4 c 4 68
mknod /dev/ttyS5 c 4 69
Same as that for
/dev/ttyS0
Uses next available number
Содержание SPEED Series
Страница 16: ...SPEED Serial adaptors User guide About the SPEED serial adaptor card Page 16 Chapter 1 Introduction ...
Страница 74: ...SPEED Serial adaptors User guide Removing host cards Page 74 Chapter 2 Installing drivers and host cards ...
Страница 86: ...SPEED Serial adaptors User guide SPEED cables available from Perle Page 86 Chapter 3 SPEED Cabling information ...