Hi Samuel, Yes that's the problem (and solution) exactly. If I kill xbrltty (and the script that re-spawns it) all the key-presses are received by my program using brlapi. By removing /etc/X11/Xsession.d/60xbrlapi (and /usr/share/gdm/greeter/autostart/xbrlapi.desktop) xbrlapi is not started at boot and my program gets all the braille keyboard characters. Its curious that xbrlapi only swallows the braille characters and not the control/routing characters.
Thanks for solving the mystery!! On Wed, Aug 10, 2016 at 7:17 PM, Samuel Thibault < samuel.thiba...@ens-lyon.org> wrote: > Hello, > > Michael Katzmann, on Sun 31 Jul 2016 11:01:47 -0400, wrote: > > OK ... I change the boot run level to 3 (no GUI (which I wasn't using > anyway)) > > it works. > > I guess you are running your test application from ssh? > > I see that in the boot version, there is a first connection before the > connection from your program. I guess it's xbrlapi (or perhaps orca) > running on the GUI, which thus eats all the keypresses from the braille > device. If you kill brltty, xbrlapi dies, and doesn't respawn, and thus > doesn't eat keypresses any more. > > I.e. it's as if you were trying to get keypresses from the keyboard > while the X server is running, that's deemed to get issues. > > So yes, shutting down the GUI makes sense, that will stop eating the > input presses. > > Samuel > _______________________________________________ > This message was sent via the BRLTTY mailing list. > To post a message, send an e-mail to: BRLTTY@mielke.cc > For general information, go to: http://mielke.cc/mailman/listinfo/brltty >
_______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty