All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Petr Mladek <pmladek@suse.com>, John Ogness <john.ogness@linutronix.de>
Cc: "Sergey Senozhatsky" <senozhatsky@chromium.org>,
	"Steven Rostedt" <rostedt@goodmis.org>,
	"Marcos Paulo de Souza" <mpdesouza@suse.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Jiri Slaby" <jirislaby@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Hugo Villeneuve" <hvilleneuve@dimonoff.com>,
	"Fushuai Wang" <wangfushuai@baidu.com>,
	"Kees Cook" <kees@kernel.org>,
	"Stepan Ionichev" <sozdayvek@gmail.com>,
	linux-serial@vger.kernel.org,
	"Manuel Lauss" <manuel.lauss@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] printk: nbcon: Introduce Braille helpers
Date: Sun, 27 Sep 2026 20:47:19 +0200	[thread overview]
Message-ID: <arlktxU1LbmmM3TE@end> (raw)
In-Reply-To: <87ld8pp2wq.fsf@jogness.linutronix.de> <araWJhKdVZnfCQcg@pathway.suse.cz> <877bk9id6f.fsf@jogness.linutronix.de> <araJ-EBntyqOGPkT@pathway.suse.cz> <87a4p5iejg.fsf@jogness.linutronix.de> <araGZN5_ixhM4AXh@pathway.suse.cz>

Hello,

Petr Mladek, le ven. 25 sept. 2026 16:34:12 +0200, a ecrit:
> Well, I guess that the driver was created for a particular Braille
> device.

Yes. It wouldn't be hard to add more.

> I wonder if there exists Braille devices working with other serial
> ports which are compatible...

I am not sure what the question is. There are braille devices connected
through good-old serial port, USB port, bluetooth, etc.

Petr Mladek, le ven. 25 sept. 2026 16:49:28 +0200, a ecrit:
> On Fri 2026-09-25 16:42:19, John Ogness wrote:
> > On 2026-09-25, Petr Mladek <pmladek@suse.com> 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.

That is the idea, yes.

Samuel

  reply	other threads:[~2026-09-27 18:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22  7:25 [PATCH 0/2] braille: nbcon: Allow using a serial driver converted to nbcon API as a Braille console Petr Mladek
2026-09-22  7:25 ` [PATCH 1/2] printk: nbcon: Introduce Braille helpers Petr Mladek
2026-09-22  7:32   ` sashiko-bot
2026-09-25 13:48   ` John Ogness
2026-09-25 14:34     ` Petr Mladek
2026-09-27 18:47       ` Samuel Thibault [this message]
2026-09-22  7:25 ` [PATCH 2/2] braille: nbcon: Use nbcon atomic console callbacks Petr Mladek
2026-09-22  7:37   ` sashiko-bot
2026-09-23 14:39     ` Petr Mladek
2026-09-25 14:34   ` John Ogness
2026-09-24 23:53 ` [PATCH 0/2] braille: nbcon: Allow using a serial driver converted to nbcon API as a Braille console Samuel Thibault
2026-09-25 13:08 ` John Ogness
2026-09-25 14:10   ` Petr Mladek
2026-09-25 14:36     ` John Ogness
2026-09-25 14:49       ` Petr Mladek
2026-09-25 15:05         ` John Ogness
2026-09-25 15:41           ` Petr Mladek
2026-09-25 19:05             ` John Ogness
2026-09-29 12:52               ` Petr Mladek

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=arlktxU1LbmmM3TE@end \
    --to=samuel.thibault@ens-lyon.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hvilleneuve@dimonoff.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=jirislaby@kernel.org \
    --cc=john.ogness@linutronix.de \
    --cc=kees@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=manuel.lauss@gmail.com \
    --cc=mpdesouza@suse.com \
    --cc=pmladek@suse.com \
    --cc=rostedt@goodmis.org \
    --cc=senozhatsky@chromium.org \
    --cc=sozdayvek@gmail.com \
    --cc=wangfushuai@baidu.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.