*BSD News Article 29306


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!usc!howland.reston.ans.net!vixen.cso.uiuc.edu!uxa.cso.uiuc.edu!rkb55989
From: rkb55989@uxa.cso.uiuc.edu (Rafal Boni)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Problem with serial ports in NetBSD-current
Date: 9 Apr 1994 23:57:21 GMT
Organization: University of Illinois at Urbana
Lines: 40
Message-ID: <2o7fd1$9be@vixen.cso.uiuc.edu>
References: <jmc.765667107@draconis.cis.ksu.edu.cis.ksu.edu>
NNTP-Posting-Host: uxa.cso.uiuc.edu

jmc@cis.ksu.edu (James M Chacon) writes:

>I just upgraded to the current binary snapshot that was on iastate, and
>while I love the shared libs and the speed increases, I am having one
>problem.

>I have a serial port that gets recognized as an 16450 with no fifo. Hooking
>an external modem to it refuses to work. I can see on the modem that something
>raised DTR, but the device open never occurs properly. If I reboot into DOS
>however, the modem and serial port work fine, so I know it isn't a setup or
>cable problem. I've tried using tip and kermit to access it, and neither
>can get it opened correctly. Any suggestions, or pointers to other com
>drivers would be appreciated. 

>Thanks

>James

	The -current COM code will not open a com port until it
	sees CD [carrier detect] go high... You can spoof it like this:

		sleep 1000 < /dev/ttyxx &
		stty -f /dev/ttyxx clocal
		<run whatever you need, like tip>

	Yhis has been discussed on the -current mailing list, which you
	should definitely join if you are running current.

	To join send a message with "help" IN THE BODY of the message
	to majordomo@sun-lamp.cs.berkeley.edu.  The group you want is
	current-users, although you may want to read several others as
	well...

							--rafal

/--------------------------------------------------------------------------\
|"Blessed are the meek, for they shall inherit   |              Rafal Boni |
| 15% of the earth, which is 100% more than they |         r-boni@uiuc.edu |
| have now..." -Cartoon caption in New Yorker    | My opinions, not UIUC's |
\--------------------------------------------------------------------------/