*BSD News Article 19658


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!news.eunet.fi!KremlSun!kiae!relcom!newsserv
From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Newsgroups: comp.os.386bsd.bugs
Subject: Re: sio pk0.2.4 patch: new probe() and TIOC_ ioctls
Date: Tue, 17 Aug 93 14:36:13 +0400
Distribution: world
Organization: Ha-olahm Yetzirah
Message-ID: <IQTIBSiCD0@astral.msk.su>
Sender: news-service@kiae.su
Reply-To: ache@astral.msk.su
References: <AArklRiWA0@zebub.msk.su>
X-Return-Path: kiae.UUCP!newcom.kiae.su!astral!astral.msk.su!ache
Lines: 23

In comp.os.386bsd.bugs article <AArklRiWA0@zebub.msk.su> vak@zebub
    writes:

>2) TIOCM_XXX ioctl flags were implemented incorrectly.
>   As the result, uucico could not determine the correct carrier state
>   and loop forever waiting for carrier detect.

Oh, it is well know bug. But, what kind of uucico you use? Standard Taylor
uucico don't deal with TIOCM_XXX stuff.

>        case TIOCMGET:
>!               *(int*)data = TIOCM_LE;         /* line always enabled */

Maybe, it is more correct to change this to:

		 *(int*)data = 0;
		 if (inb(iobase + com_ier)) *(int*)data |= TIOCM_LE;
-- 
In-This-Life:    Andrew A. Chernov      | "Hay mas dicha, mas contento
Internet:        ache@astral.msk.su     | "Que adorar una hermosura
FIDOnet:         2:5020/134.32          | "Brujuleada entre los lejos
RELCOM Development Team, Moscow, Russia | "De lo imposible?!" (Calderon)