Thread (17 messages) 17 messages, 5 authors, 2012-09-26
STALE4996d

[PATCH 3/3] serial: pl011: allow very high baudrates

From: Alan Cox <hidden>
Date: 2012-09-21 20:55:55
Also in: linux-serial

On Fri, 21 Sep 2012 21:34:40 +0100
Russell King - ARM Linux [off-list ref] wrote:
On Fri, Sep 21, 2012 at 08:56:03PM +0100, Alan Cox wrote:
quoted
If you are calling TCSETS2 passing BOTHER and an actual specific speed
you should always be getting handed back the speed requested as it'll see
the BOTHER flag is present and assume the caller is smart.
Is this something that should be handled by glibc?  If so, ARM for
whatever reason still seems to use the standard TCGETS and TCSETS
calls... at least stracing stty in ubuntu precise suggests that's
the case.
The design was agreed with the glibc people years ago. The glibc folks
then repeatedly ignored it and refused to add it. So I gave up on them.

If you are doing low level tty speed stuff, use ioctl directly.

Now that glibc has had a management change and a clue implant maybe it
can be fixed. Feel free to go kicking deal whales down beaches if you
care.

Alan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help