Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Initializing Modem Serial Port (ISC SVR3.2, 2.0.2)

0 views
Skip to first unread message

gary korenek

unread,
Sep 7, 1993, 11:03:17 AM9/7/93
to
I am attempting to initialize a serial port to be used with a modem
(and UUCP). I am not having much luck. The serial port is on a '2 serial
1 parallel port' card that came with my clone box. The modem is connected
to the second serial port (a mouse is connected to the first serial port).

DOS can access the modem fine using device COM2. UNIX is having trouble
initializing the serial port. Its not obvious what device name I should
be using (/dev/tty?) when configuring /etc/inittab and /usr/lib/uucp/Devices
files.

The FMs suggest that /dev/tty00 and /dev/tty01 correspond to serial ports
1 and 2, respectively. However, if I attempt to initialize either of these
ports (for modem use) I get errors. If I attempt to initialize /dev/tty00
I get 'respawning too quickly' errors (from init). If I attempt to initial-
ize /dev/tty01, I get 'cannot open /dev/tty01' from uugetty.

I have RTFMs and have gotten this far. I now have these questions:

1. Does /dev/tty0{0,1} correspond to the 2 serial ports on the 2S1P
add-on card? If the modem is connected to the #2 serial port, should
it work to initialize it via /dev/tty01?

2. Are there any known problem areas/bugs that is preventing things from
working? Am I on the right track with what I'm doing?

Configuration Summary:
PC-clone (486-33DX)
Interactive SVR3.2 ver. 2.0.2
2400 baud Hayes-compatible modem
2-serial 1-parallel port add-on card (modem connected to serial port #2)

Thanks in advance for any clues/help.

--
Gary Korenek (kor...@nmti.com)
Network Management Technology Incorporated
Sugar Land, Texas (713) 274-5357

Thomas Wolfram

unread,
Sep 8, 1993, 7:52:31 PM9/8/93
to
In <id.LSE...@nmti.com> kor...@nmti.com (gary korenek) writes:

>I am attempting to initialize a serial port to be used with a modem
>(and UUCP). I am not having much luck. The serial port is on a '2 serial
>1 parallel port' card that came with my clone box. The modem is connected
>to the second serial port (a mouse is connected to the first serial port).

>DOS can access the modem fine using device COM2. UNIX is having trouble
>initializing the serial port. Its not obvious what device name I should
>be using (/dev/tty?) when configuring /etc/inittab and /usr/lib/uucp/Devices
>files.

>The FMs suggest that /dev/tty00 and /dev/tty01 correspond to serial ports
>1 and 2, respectively. However, if I attempt to initialize either of these
>ports (for modem use) I get errors. If I attempt to initialize /dev/tty00
>I get 'respawning too quickly' errors (from init). If I attempt to initial-
>ize /dev/tty01, I get 'cannot open /dev/tty01' from uugetty.

Check whether the file /etc/conf/sdevice.d/asy looks like this:

asy Y 1 7 1 4 3f8 3ff 0 0
asy Y 1 7 1 3 2f8 2ff 0 0

and /etc/conf/node.d/asy like this:

asy tty00 c 0
asy ttyd0 c 16
asy acu0 c 32
asy tty01 c 1
asy ttyd1 c 17
asy acu1 c 33

If not edit them accordingly and built and install new kernel.

>I have RTFMs and have gotten this far. I now have these questions:

>1. Does /dev/tty0{0,1} correspond to the 2 serial ports on the 2S1P
> add-on card?

This depends from the jumper settings on your add-on card and the
contents of the above mentioned /etc/conf/sdevice/asy file. They
must conform. Default should be:
for COM1: IRQ4 and ports 0x3f8..0x3ff
for COM2: IRQ3 and ports 0x2f8..0x2ff

(see "man sdevice").

If the modem is connected to the #2 serial port, should
> it work to initialize it via /dev/tty01?

Yes if your asy driver is setup correctly, as mentioned above.
But tty01 is the "direct" port (for terminals, mice, etc.) which
ignores modem control lines (DCD, etc.), ttyd1 is for dial-in (for getty)
and acu1 for dial-out (for cu, etc.). (see "man asy")

>2. Are there any known problem areas/bugs that is preventing things from
> working? Am I on the right track with what I'm doing?

The asy driver of ISC 2.0.2 is buggy as far as I know. In general
it's the best to get the free available "fas" v2.10 driver written
by Uwe Doering. Works great, supports NS16550AFN UARTs for high
speed up to 57600bps as well as dialin/dialout on the same serial port
without needing uugetty at all.
I used it quite a long time and never had any problems.
I only miss something similar under Linux.

Thomas
--
Thomas Wolfram <tho...@aeon.in-berlin.de> Germany: 0 30 31421171
PRZ TU Berlin (EANTC) <wo...@prz.tu-berlin.de> abroad: +49 30 31421171
_____________________________________________________________________________
_____S__I__C____T__R__A__N__S__I__T____G__L__O__R__I__A____M__U__N__D__I_____

0 new messages