All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Epaneshnikov <aarnaarn2@gmail.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: qemu-devel@nongnu.org, brltty@brltty.app
Subject: Re: baum: NVDA does not detect usb-braille
Date: Sun, 18 Oct 2026 22:35:58 +0300	[thread overview]
Message-ID: <atUfTcaPUHqBQdno@alex-pc> (raw)
In-Reply-To: <atUZr1LP8k5b78I8@end>


Hello Samuel,

On Sun, Oct 18, 2026 at 09:10:39PM +0200, Samuel Thibault wrote:
> Does the device sends the cell count first or the device identity
> first?

I don't know for sure, as I don't have a real Baum display; mine is a
HumanWare Brailliant, which uses its own protocol. The comment in
NVDA's driver lists them as "device id, serial number and number of
cells", so the identity seems to come first, but that is the only hint
I have. BRLTTY's Baum driver doesn't use 0x15 at all, it asks for each
of them explicitly.

NVDA itself doesn't depend on the order: it stores the cell count and
the identity separately as they arrive and continues once it has both.
I tested sending the identity first and then the cell count, and NVDA
detected the display.

On Sun, Oct 18, 2026 at 09:10:39PM +0200, Samuel Thibault wrote:
> (splitting the actually-unrelated questions)
>
> Alexander Epaneshnikov, le dim. 18 oct. 2026 21:52:44 +0300, a ecrit:
> > On Sun, Oct 18, 2026 at 06:26:53PM +0200, Samuel Thibault wrote:
> > > Ah, that is a requirement of the protocol? Then we need to do that
> > > indeed. What is the value of the uint8_t protocol field when it
> > > expects to receive 0x01 and 0x84?
> >
> > It is 1 (on). For serial displays, NVDA's Baum driver
> > (source/brailleDisplayDrivers/baum.py) first sends 0x15 with 0 to make
> > sure the protocol is off, then sends 0x15 with 1 twice, "in case the
> > display misses the first one". After that it waits for the cell count
> > and the device identity. According to the comment in that driver, a
> > real display answers only when the protocol goes from off to on. On
> > that transition it sends its device identity, its serial number and
> > its cell count, and it sends nothing if the protocol was already on.
> > NVDA itself only waits for the cell count and the identity.
>
> Does the device sends the cell count first or the device identity first?
>
> Samuel

--
Sincerely, Alexander


  reply	other threads:[~2026-10-18 19:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <atNoDNz0dQucxzFN@alex-pc>
     [not found] ` <atNo9sk_7jCAi98u@end>
2026-10-17 19:13   ` baum: NVDA does not detect usb-braille, and following the input-linux grab Alexander Epaneshnikov
2026-10-18 16:26     ` Samuel Thibault
2026-10-18 18:52       ` Alexander Epaneshnikov
2026-10-18 19:10         ` baum: NVDA does not detect usb-braille Samuel Thibault
2026-10-18 19:35           ` Alexander Epaneshnikov [this message]
2026-10-18 20:49             ` Samuel Thibault
2026-10-18 19:17         ` baum: NVDA does not detect usb-braille, and following the input-linux grab Samuel Thibault
2026-10-18 19:26           ` Alexander Epaneshnikov
2026-10-18 19:30             ` Samuel Thibault
2026-10-18 19:39               ` Alexander Epaneshnikov

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=atUfTcaPUHqBQdno@alex-pc \
    --to=aarnaarn2@gmail.com \
    --cc=brltty@brltty.app \
    --cc=qemu-devel@nongnu.org \
    --cc=samuel.thibault@ens-lyon.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 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.