[comp.unix.i386] Bell Technologies: 2nd async line?

paradis@crater.zk3.dec.com (Jim Paradis) (05/02/90)

Anybody out there familiar with Bell Technologies/Intel SVR3.2?
I've got such a system here, and I can't seem to get the second
serial port to work.  The documentation says that the driver supports
two serial ports, but the kernel as configured by default only
supports one (/dev/tty00).  Any efforts to configure the second
serial line fail... adding a second 'asy' line to sdevice.d/asy
gives me "interrupt vector conflicts".

I'm guessing, but it appears as though it has trouble with the idea
that two devices of the same kind can have different interrupt
vectors (by default, COM1 on a PC uses vector 4, while COM2 uses
vector 3)...

Anybody out there who's managed to make this work?  Advice?
Opinions?  Should I just switch to a different brand of UN*X?
Or is there a less dain-bramaged third-party asy driver out
there?

Thanks!


Jim Paradis, working at but not employed by DEC.	(603)881-0435
paradis@decvax.dec.com     "Charles Babbage:  Inventor of Vaporware!"

mason@oct1.UUCP (David Mason) (05/06/90)

In article <104@decvax.dec.com> paradis@crater.zk3.dec.com (Jim Paradis) writes:
>Anybody out there familiar with Bell Technologies/Intel SVR3.2?
>I've got such a system here, and I can't seem to get the second
>serial port to work.  The documentation says that the driver supports
>two serial ports, but the kernel as configured by default only
>supports one (/dev/tty00).  Any efforts to configure the second
>serial line fail... adding a second 'asy' line to sdevice.d/asy
>gives me "interrupt vector conflicts".

A similar problem was discussed on the net in 9/89 under ISC. 
Herewith extracts from the article that answered it the best:

|From: marc@dumbcat.UUCP (Marco S Hyman)
|Newsgroups: comp.unix.i386
|Subject: Re: com2 under 386/ix
|Date: 7 Sep 89 06:35:13 GMT
|References: <16@nstar.UUCP> <3064@amelia.nas.nasa.gov>
|
|In article <3064@amelia.nas.nasa.gov> izen@cwru.cwru.edu (Steven H.
|Izen) writes:
|> To enable COM2 I added a line to cd /etc/conf/sdevice.d/asy  to make it look
|> like the following:
|> 
|> asy     Y       1       7       1       3       2f8     2ff     0       0
|> asy     Y       1       7       1       4       3f8     3ff     0       0
|> 
|>(I haven't been able to get the modem control minor device to work-the driver
|> just hangs for some unkonown reason when I use minor device 17).
|
|The third field (number of sub-devices supported by driver) must be
|changed to a 2 to enable the modem control ports.  Also, I've had problems
|depending upon the order the lines are given.  What works (with 386/ix
|2.0.2) is:
|
|asy     Y    2    7    1    4    3f8  3ff  0    0
|asy     Y    2    7    1    3    2f8  2ff  0    0
|
|After the kernel is built and you've re-booted you should have the following
|device files:
|
|crw-rw-rw-   1 root     root       3,  0 Sep  6 22:50 /dev/tty00
|crw-rw-rw-   1 root     root       3,  1 Sep  6 22:48 /dev/tty01
|crw--w--w-   1 uucp     root       3, 16 Sep  6 22:50 /dev/ttyd0
|crw-rw-rw-   1 root     root       3, 17 Sep  6 22:48 /dev/ttyd1
|--marc
|-- 
|// Marco S. Hyman
|// ...!pacbell!dumbcat!marc
--------------------
David               |      mason@oct1 (David M. Mason)
                    |      ...!ddsw1!olsa99!oct1!mason