mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Markus Wichmann <nullplan@gmx.net>
To: musl@lists.openwall.com
Subject: Re: [musl] making termios BOTHER speeds work
Date: Thu, 11 Apr 2024 20:30:46 +0200	[thread overview]
Message-ID: <ZhgsVnjVxDFo5MjG@voyager> (raw)
In-Reply-To: <CAH8yC8mdxSOf4po3H1jH3sSNb+BhnJTVQKPG+5G0pjMDfZcFmg@mail.gmail.com>

Am Thu, Apr 11, 2024 at 01:55:12PM -0400 schrieb Jeffrey Walton:
> I have never encountered a need for a custom baud rate due to standardized
> UART chips. There are probably some edge cases out there. I'd like to hear
> about them.
>

Apparently, slightly mismatched timings are a thing. At work, we have a
certain serial device that works perfectly when connected to a PC at
38400 baud. When connected to one of our embedded devices, though, it
doesn't work. It starts working, if we tell the OS to use 38400 baud,
then hack the divisor register to get something more like 40000 baud.

This is weird, because all other serial devices work perfectly on the
embedded device (both at slower and higher speeds). Just this one box is
very picky about its baud rate.

Ciao,
Markus

  reply	other threads:[~2024-04-11 18:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11 14:24 Rich Felker
2024-04-11 16:55 ` Rich Felker
2024-04-11 17:29   ` Rich Felker
2024-04-11 17:55     ` Jeffrey Walton
2024-04-11 18:30       ` Markus Wichmann [this message]
2024-04-11 18:34       ` Raphael Kiefmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZhgsVnjVxDFo5MjG@voyager \
    --to=nullplan@gmx.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).