Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2006 08:31:00 +0900
From:      Jahilliya <jahilliya@gmail.com>
To:        "David Banning" <david@skytrackercanada.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting serial speed higher than 9600
Message-ID:  <ba5e78ea0612051531m1cbf5b89pe1547b5ae8b4946f@mail.gmail.com>
In-Reply-To: <20061205230530.M80529@skytrackercanada.com>
References:  <20061205230530.M80529@skytrackercanada.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/6/06, David Banning <david@skytrackercanada.com> wrote:
>
> I am attempting to set the serial speed higher than 9600 to use it for a
> printer. The stty command does not appear to work;
>
> root# stty -a -f /dev/cuaa0
> speed 9600 baud; 0 rows; 0 columns;
> ...<snip>
>
>
> root# stty -f /dev/cuaa0 57600
>
> root# stty -a -f /dev/cuaa0
> speed 9600 baud; 0 rows; 0 columns;
> lflags: -icanon -isig -iexten ...<snip>
>
> Any suggestions?
>

The man page says speed number
                              This sets both ispeed and ospeed to number.
 Try the command: stty -f /dev/cuaa0 speed=57600



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