setting serial speed higher than 9600

Jahilliya jahilliya at gmail.com
Tue Dec 5 15:31:03 PST 2006


On 12/6/06, David Banning <david at 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


More information about the freebsd-questions mailing list