serial port question

M. Warner Losh imp at bsdimp.com
Mon Oct 3 12:09:46 PDT 2005


In message: <20051002095140.GA49735 at stud.fit.vutbr.cz>
            Divacky Roman <xdivac02 at 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


More information about the freebsd-hackers mailing list