*BSD News Article 18191


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:3677 comp.os.386bsd.bugs:1084
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!ux1.cso.uiuc.edu!uwm.edu!caen!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!argon!jl
From: jl@argon.gas.uug.arizona.edu (Joshua Lackey)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.bugs
Subject: /dev/sio01:  Device not configured  ---  Solution.
Summary: How I made sio work with my lousy modem
Keywords: sio com shitty-modem
Message-ID: <jl.742239288@argon>
Date: 9 Jul 93 17:34:48 GMT
Sender: news@organpipe.uug.arizona.edu
Organization: University of Arizona - Tucson, Arizona
Lines: 49


Greetings!

Thanks to all who replied to my posts.  I also want to thank everyone
involved with the latest patch kit and sio!!!

I correctly configured my kernel and re-compiled.

device		sio00	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio01	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio02	at isa? port "IO_COM3" tty irq 5 vector comintr
#device		sio03	at isa? port "IO_COM4" tty irq 9 vector siointr


Yet at boot time, the probe would fail to recognize /dev/sio01.

...
sio0 <16450> at 0x3f8 irq 4 on isa
sio2 <16550A> at 0x3e8 irq 5 on isa
fd0 drives...

Where is sio1???

When I try to use /dev/sio01, I get a device not configured error.

Now I have run in to this problem before, it happened to me with the last
version of cgd's driver.  I correctly installed it, but it would never
recognize my modem.  It would find my mouse just fine along with my terminal.
When I switched the modem and the mouse port, it would still find the mouse.
Obviously, the problem was with my cheap modem.  I bought the cheapest
57.6k I could find...

The stock com ports work.  Not well, but they work.  So I knew that there
must be some way to get sio to recognize my modem.  So I went in to
/sys/i386/isa/sio.c and looked around.  What eventually worked for me
was just to have the probe code always return a 1.  I realize that this is
a hack, but now I have the _sweetest_ slip connection!  I just make sure
that any sio devices that I specify in my config are actually there.  I
don't think there will be much of a problem beyond that.

I decided to post this just in case anyone else bought a supreme-el-cheapo
modem and can't get it to work with sio.  Just mail me and I will try to help.


--
jl@gas.uug.arizona.edu   ----------------------  jl@axis.tucson.az.us

The golden age of mathematics--that was not the age of Euclid, it is ours.
							C. J. Keyser