*BSD News Article 34420


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!nigel.msen.com!heifetz.msen.com!cybernet.com!root
From: root@cybernet.com (Mark Taylor)
Newsgroups: comp.os.386bsd.misc
Subject: Re: FreeBSD 1.1(release) and sio..
Date: 16 Aug 1994 17:00:04 GMT
Organization: Cybernet Systems, Inc.
Lines: 47
Distribution: world
Message-ID: <32qrak$2a0$2@heifetz.msen.com>
References: <32o4sn$skg@nyx10.cs.du.edu>
NNTP-Posting-Host: 192.245.33.55
Keywords: freebsd sio sio2 internal modem broke

In article <32o4sn$skg@nyx10.cs.du.edu>, jcroall@nyx10.cs.du.edu (James Croall) writes:
|> This seems really odd. I'm running FreeBSD 1.1(release), and can't seem 
|> to get my internal modem working right. Actually, FreeBSD dosen't want to 
|> recognize it at all. The line in my kernel conf file has sio1 set to 
|> 0x2f8 irq 3, and my modem's jumers are at COM2, irq 3. When I have 
|> everything set up this way, it just says "sio1 not found at 0x2f8" or 
|> similar. But If I take the modem *out* it says "sio1 at 0x2f8 is a 
|> 16550A" or some such message. The modem *does* appear to be a 16450 UAR, 
|> if it makes a difference.
|> 
|> Anyway, I'm stumped. Any help would be really appreciated! Thanks..
|> 
|> -- 
|>  James B. Croall  - jcroall@tjhsst.edu
|>        ___	    jcroall@nyx10.cs.du.edu
|>       (o o)         http://nyx10.cs.du.edu:8001/~jcroall/home.html
|> ---ooO-(_)-Ooo---------------------------------------------------------------

Your machine seems to have two serial ports on the motherboard.  You need to
change your internal modem's address and IRQ to something that will not
conflict with other hardware inside your PC.  You cannot have two things on the
same IRQ, or the same I/O address (multiport serial cards are an exception to 
the IRQ rule).

Then you have to add a new sio line (for sio2, your internal modem) to your
kernel config file, specifying the new IRQ and I/O addresses you've chosen.

In DOS   In FreeBSD  IRQ   I/O
COM1     sio0        4     0x3f8
COM2     sio1        3     0x2f8
COM3     sio2        ?     0x3e8

You can probably use IRQ 5 (usually LPT2) for your internal modem, at an address
of 0x3e8 (aka COM3).


Don't forget to make your new device entries (cd /dev; sh MAKEDEV
{tty/cua/ttyd}2).  The tty/cua/ttyd choice depends on how you want to communicate
with the modem (what you've got it hooked up to).  Read the man page on sio. 
Then access your internal modem using the /dev/{tty/cua/ttyd}02 device.


Please e-mail me if you have any questions.  :)


-Mark Taylor
mtaylor@cybernet.com