[BRLTTY] Two bugs: Long key presses in BrlAPI; and AtSpi2 screen driver

Aura Kelloniemi spammi.helevetti at nbl.fi
Thu May 19 12:31:15 EDT 2016


Samuel Thibault <samuel.thibault at ens-lyon.org> writes:

 > Aura Kelloniemi, on Tue 17 May 2016 15:25:43 +0300, wrote:
 > > 1. Commands bound to long key presses don't work in BrlAPI; they just don't
 > > get triggered.

 > I have to say I don't know what these are.

Long key presses of a braille display key can trigger a different command in
BRLTTY than a short key press. Please see:
http://www.mielke.cc/brltty/doc/KeyTables.html#the-bind-directive

This document refers to commands invoked by a long key press as being
secondary. In other words, BrlAPI clients don't get informed when a secondary
BRLTTY command is invoked by the user. Primary commands work fine.

 > > 2. When I run brltty with the AtSpi2 screen driver, it does not show anythhing
 > > on the display. The screen driver does not seem to detect any terminals. This
 > > is a regression from the latest release. Debug Log does not show anything
 > > related to AtSpi events which is weird.

 > Could you still send us the debugging logs?  I have just tried with the
 > current git version, the atspi2 driver worked just fine.

OK, I put it after my signature.

BTW, I have tried the a2 driver with both values of the "release" parameters
(yes and no).

-- 
Aura

brltty: program exit event added: log
BRLTTY 5.3.1 rev BRLTTY-5.3.1-86-gca644e53 [http://brltty.com/]
brltty: lock descriptor allocated: queue-discarded-elements
brltty: Log Level: 7
brltty: pushed command environment: initial
brltty: report listener registered: 0: handleUpdateBrailleOnline
brltty: program exit event added: screen-data
brltty: Working Directory: /home/aura
brltty: Configuration File: /etc/brltty.conf
brltty: Updatable Directory: /var/lib/brltty
brltty: Preferences File: brltty.prefs
brltty: Writable Directory: /var/run/brltty
brltty: Drivers Directory: /usr/lib/brltty
brltty: Tables Directory: /usr/share/brltty
brltty: file opened: /var/lib/brltty/brltty.prefs fd=4
brltty: file opened: /var/lib/brltty/brltty.prefs fd=4
brltty: program exit event added: tunes
brltty: tune thread state change: 0 -> 1
brltty: tune thread state change: 1 -> 3
brltty: regions: text=0.0 status=0.0
brltty: shifts: full=1 half=0 vertical=5
brltty: compiling text table: /usr/share/brltty/Text/aura.ttb
brltty: file opened: /etc/xdg/brltty/aura.ttb fd=8
brltty: including data file: /usr/share/brltty/Text/aura.ttb
brltty: Text Table: aura
brltty: program exit event added: text-table
brltty: Attributes Table: left_right
brltty: program exit event added: attributes-table
brltty: Keyboard Property: type=
brltty: Keyboard Property: vendor=
brltty: Keyboard Property: product=
brltty: program exit event added: keyboard-table
brltty: Keyboard Table: none
brltty: program exit event added: screen-driver
brltty: activity action request: screen-driver: start
brltty: activity state change: screen-driver: 4[preparing]
brltty: activity state change: screen-driver: 1[prepared]
brltty: activity state change: screen-driver: 2[scheduled]
brltty: BrlAPI Server: release 0.6.4
brltty: API Parameter: auth=
brltty: API Parameter: host=
brltty: API Parameter: stacksize=
brltty: program exit event added: address-table
brltty: program exit event added: api-server
brltty: program exit event added: braille-data
brltty: program exit event added: braille-driver
brltty: activity action request: braille-driver: start
brltty: activity state change: braille-driver: 4[preparing]
brltty: Braille Display Dimensions: 1 row, 1 column
brltty: regions: text=0.1 status=0.0
brltty: shifts: full=1 half=0 vertical=5
brltty: activity state change: braille-driver: 1[prepared]
brltty: activity state change: braille-driver: 2[scheduled]
brltty: program exit event added: speech-data
brltty: program exit event added: speech-driver
brltty: activity action request: speech-driver: start
brltty: activity state change: speech-driver: 4[preparing]
brltty: activity state change: speech-driver: 1[prepared]
brltty: activity state change: speech-driver: 2[scheduled]
brltty: Speech Input: none
brltty: program exit event added: sessions
brltty: pushed command environment: main
brltty: pushed command handler: unhandled
brltty: pushed command handler: miscellaneous
brltty: pushed command handler: learn
brltty: pushed command handler: speech
brltty: pushed command handler: clipboard
brltty: pushed command handler: preferences
brltty: pushed command handler: toggle
brltty: report listener registered: 3: brailleWindowUpdatedListener
brltty: pushed command handler: touch
brltty: report listener registered: 0: keycodeCommandDataResetListener
brltty: pushed command handler: keycodes
brltty: report listener registered: 0: inputCommandDataResetListener
brltty: pushed command handler: input
brltty: pushed command handler: navigation
brltty: pushed command handler: screen
brltty: pushed command handler: custom
brltty: pushed command handler: API
brltty: activity state change: screen-driver: 6[starting]
brltty: checking for screen driver: a2
brltty: initializing screen driver: a2
brltty: another BrlAPI server is already listening on 0 (file /var/lib/BrlAPI/.0 exists)
brltty: error while creating socket 0
brltty: Screen Driver: a2 [AtSpi2]
brltty: AtSpi2 Screen Driver:
brltty: Screen Parameter: release=no
brltty: Screen Parameter: type=all
brltty: activity state change: screen-driver: 3[started]
brltty: activity state change: braille-driver: 6[starting]
brltty: checking braille device: bluetooth:10:00:E8:6B:21:E2
brltty: program exit event added: bluetooth-device-queue
brltty: activity state change: speech-driver: 6[starting]
brltty: no autodetectable speech drivers
brltty: checking for speech driver: no
brltty: initializing speech driver: no
brltty: Speech Driver: no [NoSpeech]
brltty: NoSpeech Speech Driver:
brltty: activity state change: speech-driver: 3[started]
brltty: checking for braille driver: ba
brltty: initializing braille driver: ba -> bluetooth:10:00:E8:6B:21:E2
brltty: Braille Display Dimensions: 1 row, 40 columns
brltty: regions: text=0.40 status=0.0
brltty: shifts: full=40 half=20 vertical=5
brltty: Key Bindings: all
brltty: constructing special screen: help
brltty: file opened: /usr/share/brltty/Input/ba/all.txt fd=19
brltty: Key Help: /usr/share/brltty/Input/ba/all.txt
brltty: report listener registered: 0: brlapi_handleReports
brltty: Braille Driver: ba [BrlAPI]
brltty: BrlAPI Braille Driver: version 0.1, 2005
brltty: Braille Parameter: host=
brltty: Braille Parameter: auth=
brltty: Braille Device: bluetooth:10:00:E8:6B:21:E2
brltty: Old Preferences File: /etc/brltty-ba.prefs
brltty: regions: text=0.40 status=0.0
brltty: shifts: full=40 half=20 vertical=5
brltty: activity state change: braille-driver: 3[started]
brltty: program exit event added: wchar-charset
brltty: report listener unregistered: 0: brlapi_handleReports
brltty: pushed command environment: message
brltty: pushed command handler: message
brltty: popped command handler: message
brltty: popped command environment: message
brltty: report listener registered: 0: brlapi_handleReports


More information about the BRLTTY mailing list