From: Jorge Fernandez Monteagudo <jorgefm@cirsa.com>
To: "kernelnewbies@kernelnewbies.org" <kernelnewbies@kernelnewbies.org>
Subject: Enable 9bit-mode in a serial device
Date: Mon, 22 Feb 2021 08:21:47 +0000 [thread overview]
Message-ID: <DB9PR10MB452271B6429BEF95E9526D46A1819@DB9PR10MB4522.EURPRD10.PROD.OUTLOOK.COM> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 596 bytes --]
Hi all,
I'm wondering what's the best way to enable the 9bit-mode for a given tty serial device. I have a motherboard with a NCT6102D Nuvoton super IO with 6 UARTs.
This device is supported by the 8250/16550 driver already in kernel and I'm able to communicate two serial port with a NULL modem cable.
From NCT6102D Nuvoton datasheet it seems some bits has to be set in order to enable this mode to use the parity bit as the 9 bit.
Any hint? Any driver from drivers/tty/serial/8250 can be used as a guide? Some user space code can be used to get access to registers?
Thanks,
Jorge
[-- Attachment #1.2: Type: text/html, Size: 2072 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
reply other threads:[~2021-02-22 8:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=DB9PR10MB452271B6429BEF95E9526D46A1819@DB9PR10MB4522.EURPRD10.PROD.OUTLOOK.COM \
--to=jorgefm@cirsa.com \
--cc=kernelnewbies@kernelnewbies.org \
/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 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).