*BSD News Article 71304


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Modem at COM3: can't find it!
Date: Tue, 18 Jun 1996 07:53:51 -0700
Organization: Erols Internet Services
Lines: 49
Message-ID: <31C6C2FF.26FB@www.play-hookey.com>
References: <4q4bho$7ht@netnews.upenn.edu> <4q6227$qc0@panix.com>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

Barry Masterson wrote:
> 
> Mike Berry (berrym@red.seas.upenn.edu) wrote:
> : BSD gurus,
> 
> : I've got an internal modem on COM3;  I can get to it via
> : MS-Kermit if I boot MS-DOS; but can't seem to access it via
> : /dev/cuaa2, or any other /dev/cuaa* (using the nifty user-ppp
> : package)
> 
> : Has anyone had an experience like this?
> 
> : Thanks for any suggestions.
> 
> I was in the same situation at one time. As I understand it, your pc
> really only has two com ports, 3 & 4 under dos are not real. FreeBSD
> only recognizes sio0 & sio1 (com 1 & 2).

Not true! MeSsy-DOS recognizes four specific port addresses for serial 
ports in order: 0x3F8  0x2F8  0x3E8  0x2E8

However, MacroSquish in their (?)wisdom still left only the two IRQ lines 
specifically allocated to COM ports. Modern serial cards typically let you 
use IRQ 5, and some add IRQ 2 to the possibilities as well. FreeBSD lets 
you configure all four (use the -c option at the boot: prompt, then type V 
or visual at the config> prompt). The serial ports are near the bottom of 
the expanded list.

> 
> You'll have to move your modem to sio1 (com2), and most likely
> disable com2 on your controller card, as well as setting any modem
> jumpers/switches that apply to com ports.

As long as both Kermit and FreeBSD can agree on where and how to find your 
modem and its IRQ, they will both work.

> 
> Provided your setup is not any complicated, getting FreeBSD to
> recognize your modem is a simple process.
> 

NB: If you have recompiled your kernel and removed some of the SIO entries, 
you'll have to go back and put them back in again. If you deleted them with 
the -c option, use the same option to retrieve them from the list of 
deleted devices.

I hope this helps!

Ken