Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Oct 2005 13:09:12 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        xdivac02@stud.fit.vutbr.cz
Cc:        hackers@FreeBSD.ORG
Subject:   Re: serial port question
Message-ID:  <20051003.130912.102613400.imp@bsdimp.com>
In-Reply-To: <20051002095140.GA49735@stud.fit.vutbr.cz>
References:  <20051002095140.GA49735@stud.fit.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20051002095140.GA49735@stud.fit.vutbr.cz>
            Divacky Roman <xdivac02@stud.fit.vutbr.cz> writes:
: Hi,
: 
: I need to set serial port to given parity/speed/etc. and then cat from it...
: 
: when I: stty -f /dev/cuaa0 speed 1200
: its still at 9600 (the default setting)
: 
: how do I alter speed of serial port? minicom/cu is able to do it but I want to
: do it via stty.
: 
: how can this be done?

By using the lock device.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051003.130912.102613400.imp>