Re: [PATCH 0/2] braille: nbcon: Allow using a serial driver converted to nbcon API as a Braille console

From: Petr Mladek

Date: Fri Sep 25 2026 - 11:03:17 EST


On Fri 2026-09-25 16:42:19, John Ogness wrote:
> On 2026-09-25, Petr Mladek <pmladek@xxxxxxxx> wrote:
> > This shows that braille_write() is called form printk() even when
> > braille_co is not in console_list. It is called via vt_console_print()
> > because the graphical console driver (ttyX) is registered.
>
> But isn't that a bug? I thought Braille consoles were not supposed to be
> handled by printk(). Even in this new series you added that exact
> comment.

I believe that it is not a bug. I understand it the way that the
Braille device should show everything that is shown on the virtual
terminal. It should show the printk() messages when they are
printed there by the related console driver.

It is just that printk() is only one source of messages shown
on the terminal. The vt code maintains what is displayed.

Best Regards,
Petr