[comp.unix.i386] Using a second serial port

erc@pai.UUCP (Eric Johnson) (01/02/90)

A belated thanks to everyone who sent me information regarding
using COM2: as a second serial port with Interactive's 386/ix.
Most of the messages stated the same basic info, which can be
summarized together with...

>Interactive's documentation seems to say that the asy driver comes
>pre-installed and that it handles both COM1: and COM2:. None of the
>kconfig/sysadm menus seem to want to give me any information 
>regarding the serial ports.

Ok, you need to be sure that the kernel has COM2 enabled in two places...

/etc/conf/cf.d/sdevice

there should be two (2) entries for 'asy', one on IRQ4 (COM1) and one on
IRQ3 (COM2), both of these should be enabled ('y' instead of 'n').


In the file /etc/conf/sdevice.d/asy you will see the following ..

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

You will notice that COM2: is disabled.  Edit that file so that it reads...

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

Then rebuild your kernel with kconfig to get com2: configured in. BE
SURE that your editor doesn't leave any backup copies of the asy file
lying around in that directory, or kconfig will fail. If you want
to save a backup of the original asy file, put it in /tmp or a floppy
or elsewhere...

BTW: If you DONT have the ASY FIX X.5 and the 2.0.2 set , umm, GET EM)


Special thanks to the follwing great folks (if I left anyone out, it
was unintentional, sorry):

daniel mocsny <rutgers!mimsy.umd.edu!cvl!Daniel.Mocsny>
rutgers!emory.mathcs.emory.edu!rsiatl!jgd (John G. De Armond)
fritzz@lamont.ldgo.columbia.edu (fritz zaucker)
cpcahil@virtech.uucp (Conor P. Cahill)
fritzz@lamont.ldgo.columbia.edu (fritz zaucker)
rutgers!uunet.uu.net!tronsbox!tron1 (Kenneth J. Jamieson)
uunet!mtndew!friedl
uunet!telxon!ping!gorpong (Gordon C. Galligher)
cs.utexas.edu!dell!mustang!jrh (James R. Howard)
rutgers!pacbell.pacbell.com!dumbcat!marc (Marco S Hyman)
uwm!tntdev.tnt.COM!wgb (William G. Bunton)
tim%comcon%uunet@mailrus.uucp (Tim Brown)
rutgers!esegue.segue.boston.ma.us!johnl (John R. Levine)
rutgers!redsox.bsw.com!campbell (Larry Campbell)


Thanks,
-Eric


-- 
Eric F. Johnson, Boulware Technologies, Inc. 
415 W. Travelers Trail, Burnsville, MN 55337 USA.  Phone: +1 612-894-0313. 
erc@pai.mn.org    - or -   bungia!pai!erc
(We have a very dumb mailer, so please send a bang-!-style return address.)