From owner-freebsd-questions Wed Apr 21 12:15:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 3D386158F4 for ; Wed, 21 Apr 1999 12:13:59 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id MAA18927; Wed, 21 Apr 1999 12:11:27 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 21 Apr 1999 12:11:26 -0700 (PDT) From: Doug White To: Dmitry Strakovsky Cc: freebsd-questions@FreeBSD.ORG Subject: Re: RS232 question In-Reply-To: <19990421075112.22480.qmail@nw179.netaddress.usa.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 21 Apr 1999, Dmitry Strakovsky wrote: > I'm trying to interface to a custom sensor board. > I was able to switch baud rate using O_NONBLOCK flag setting but I can not > write out or read in if I use it :( If you awnt to change the baudrate, use tcgetattr/tcsetattr or cfsetspeed(). See the relevant man pages, and termios(4). Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message