*BSD News Article 67780


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!usenet.etri.re.kr!news.kreonet.re.kr!usenet.seri.re.kr!news.cais.net!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Newbie serial port problem
Date: 5 May 1996 15:59:32 GMT
Organization: Private BSD site, Dresden
Lines: 26
Message-ID: <4mij94$sb9@uriah.heep.sax.de>
References: <4mginb$nmd@samba.rahul.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

bsmith@wci.com wrote:

> The modem on COM1 is not recognized by FreeBSD.  It works
> great under Linux and under Windows, and is recognized by
> the BIOS at power-up.  Any ideas on how to get it to work.

An internal modem?

FreeBSD's sio device probe is quite conservative and makes absolutely
sure that your port is okay before releasing it to the system.  Alas,
several internal modems (which usually don't have a true UART, but
rather emulate it by some ASIC) fall through and aren't recognized as
working correctly.

You can turn on ``flags 0x80'' in your device driver line (or from
VisualConfig by specifying -c at the Boot: prompt), this will enable
what you can see as COM_VERBOSE() in /sys/i386/isa/sio.c.  Once you
know which test failed, try to work around the problem by making the
device probing less strict.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)