termios higher speed baud settings

Mike Frysinger vapier at gentoo.org
Thu May 31 08:24:59 UTC 2007


On Saturday 26 May 2007, Jason Curl wrote:
> When using uClibc 0.9.29 for x86 (32-bit), my configure script doesn't
> find any baudrates greater than B115200 defined. When looking in the
> headers, I see that 'termios.h' has the higher speeds commented out with
> #if 0 ... #endif.
>
> The comment mentioned there is something about being compatible with
> cfsetspeed.c in uClibc. When I checked this file, it appeared to support
> these higher baudrates and passes them on in the termios_struct to the OS.

it meant "if you add new ones, make sure you update cfsetspeed.c"

> Is it safe to simply remove the #defines and recompile?

yes

> Or is there still a problem there?

no problems ... the higher ones were removed for size sake and nothing else
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070531/5caef4bd/attachment-0002.pgp 


More information about the uClibc mailing list