*BSD News Article 10837


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA785 ; Sun, 07 Feb 93 17:00:49 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!darwin.sura.net!newsserver.jvnc.net!gmd.de!Germany.EU.net!mcsun!sun4nl!tuegate.tue.nl!svin09.info.win.tue.nl!wzv.win.tue.nl!gvr.win.tue.nl!guido
From: guido@gvr.win.tue.nl (Guido van Rooij)
Newsgroups: comp.unix.bsd
Subject: [386bsd] com-beta & dialin
Message-ID: <1l1btd$146@wzv.win.tue.nl>
Date: 6 Feb 93 21:51:41 GMT
Organization: Eindhoven University of Technology, The Netherlands
Lines: 39
NNTP-Posting-Host: gvr

I have tried everything to get a dialin port working on my 386bsd
system. I am using Chris's com-beta multiport package (though i
don't have any multi-port boards nor sharing irq on different
boards).  Dialing out goes well. When I use tip and then dial in,
the modem answers exactly when you'd expect it to (after the nr of
rings in s0).  But when you dial in when only the getty runs, then
I have different behaviour.  

I've seen:  
1) The modem answers after a random number of rings, so i suspect
DTR is randomly dropping

2) When the modem actually answers the call, sometimes getty still
hangs on the open call. I can use tip to get a connection with the
caller to tell him/her it failed....not a solution actually.

3) I made an ioctl call that reported the modem status bits, without
having to open the comport that the getty was trying to open. It
also gave back some of the values that are used in the driver (among
others, the com_bdi structure). When I used the ioctl call a few
times, my sytem panics because of a timeout table overflow (I
believe in kern_clock.c) Don't know why the panic comes..  

4) Another thing: sometimes i can't even tip out, because it says
all ports are busy. comcontrol <device> -bidir;comcontrol <device>
bidir makes it work again..

My question: is there someoen out there using some driver to dial
in AND dial out succesfully? If so, could you please mail me how
you did it?

My system is 0.1, patchkit 0.2, cgd's com-beta, codrv, npx0.2.

-Guido
-- 

Guido van Rooij                 |  Internet: guido@gvr.win.tue.nl
Bisschopsmolen 16               |  Phone:    ++31.40.461433
5612 DS Eindhoven               |  ((12+144+20)+3*sqrt(4))/7