[PATCH 3/3] serial: pl011: allow very high baudrates
From: Alan Cox <hidden>
Date: 2012-09-21 20:55:55
Also in:
linux-serial
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