kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Enable 9bit-mode in a serial device
@ 2021-02-22  8:21 Jorge Fernandez Monteagudo
  0 siblings, 0 replies; only message in thread
From: Jorge Fernandez Monteagudo @ 2021-02-22  8:21 UTC (permalink / raw)
  To: kernelnewbies


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-22  8:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22  8:21 Enable 9bit-mode in a serial device Jorge Fernandez Monteagudo

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).