From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Muni Sekhar <munisekharrms@gmail.com>
Cc: linux-serial <linux-serial@vger.kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: serial: custom baud rate
Date: Fri, 4 May 2018 09:59:04 -0400 [thread overview]
Message-ID: <20180504135904.GJ29205@thunk.org> (raw)
In-Reply-To: <CAHhAz+iiv+h+RAPXACQuJRiEQmE1jxeS7+qaz-8fu30Fm9tNaw@mail.gmail.com>
On Fri, May 04, 2018 at 02:34:51PM +0530, Muni Sekhar wrote:
> > See the setserial man page:t
> >
> > https://linux.die.net/man/8/setserial
> >
> > Not all serial devices support the spd_cust and divisor, however. In
> > general, only devices where the kernel directly programs the
> > 8250/16450/16550 UART directly will support this feature.
> >
> So custom baud's can be set via TIOCSSERIAL IOCtl in kernel mode?
ioctl's are in general designed for use in userspace. So are the
termios interface.
- Ted
next prev parent reply other threads:[~2018-05-04 13:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-03 12:39 serial: custom baud rate Muni Sekhar
2018-05-03 17:54 ` Theodore Y. Ts'o
2018-05-04 9:04 ` Muni Sekhar
2018-05-04 13:59 ` Theodore Y. Ts'o [this message]
2018-05-14 17:24 ` Andy Shevchenko
2018-05-03 18:27 ` Grant Edwards
2018-05-13 19:57 ` Alan Cox
2018-05-14 15:36 ` Grant Edwards
-- strict thread matches above, loose matches on Subject: below --
2018-05-03 12:59 Muni Sekhar
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=20180504135904.GJ29205@thunk.org \
--to=tytso@mit.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=munisekharrms@gmail.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.