[BRLTTY] brltty not immediately displaying text

Mike Gorse mgorse at alum.wpi.edu
Thu Jan 7 07:12:58 EST 2016


Hi Dave,

I've changed the subject line, since I'm no longer getting a crash.

>> The main problem I was having was that I wasn't setting SYSTEMD_WANTS
>> correctly. I have the attached patch, which gets brltty to start for me when I
>> connect my device.
>
> The patch wasn't attached.

Sorry about that--I forgot to actually attach it. It's there this time.

>> This leaves me with one minor quirk, where, after I connect my device
>> and have a console open as a non-root user, brltty continues to
>> display "brltty 5.3.1 rev unknown" until I press a key or switch
>> consoles--it doesn't seem to find the current line of text without my
>> frist triggering it to do so by doing something that causes a change.
>
> The banner line is a message that should time out after four seconds.
>
> Which kind of braille display are you using?

Humanware Brailliant 40-.

> We proably need to see a debug log in order to try to determine what's going
> on.

Attached. Let me know if you need anything else.

THanks,
-Mike
-------------- next part --------------
--- udev.rules.orig	2015-11-24 16:24:31.036093376 -0600
+++ udev.rules	2016-01-06 17:29:19.973047321 -0600
@@ -442,11 +442,10 @@
 
 LABEL="brltty_add"
 SYMLINK+="brltty/$env{BRLTTY_BRAILLE_DRIVER}-$env{BRLTTY_BRAILLE_DEVICE}"
-RUN+="/bin/brltty -E -P$env{BRLTTY_PID_FILE}"
+TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty.service"
 GOTO="brltty_end"
 
 LABEL="brltty_remove"
-RUN+="/bin/sh -c 'kill -TERM `cat $env{BRLTTY_PID_FILE}`'"
 GOTO="brltty_end"
 
 LABEL="brltty_end"
-------------- next part --------------
2016-01-07 at 06:05:06.255 [brltty] BRLTTY 5.3.1 rev unknown [http://brltty.com/]
2016-01-07 at 06:05:06.255 [brltty] lock descriptor allocated: queue-discarded-elements
2016-01-07 at 06:05:06.255 [brltty] Log Level: debug
2016-01-07 at 06:05:06.255 [brltty] pushed command environment: initial
2016-01-07 at 06:05:06.255 [brltty] report listener registered: 0: handleUpdateBrailleOnline
2016-01-07 at 06:05:06.255 [brltty] program exit event added: screen-data
2016-01-07 at 06:05:06.255 [brltty] Working Directory: /
2016-01-07 at 06:05:06.255 [brltty] Configuration File: /etc/brltty.conf
2016-01-07 at 06:05:06.255 [brltty] Updatable Directory: /var/lib/brltty
2016-01-07 at 06:05:06.255 [brltty] Preferences File: brltty.prefs
2016-01-07 at 06:05:06.255 [brltty] Writable Directory: /var/run/brltty
2016-01-07 at 06:05:06.255 [brltty] Drivers Directory: /usr/lib64/brltty
2016-01-07 at 06:05:06.255 [brltty] Tables Directory: /etc/brltty
2016-01-07 at 06:05:06.255 [brltty] program exit event added: tunes
2016-01-07 at 06:05:06.255 [brltty] tune thread state change: 0 -> 1
2016-01-07 at 06:05:06.256 [brltty] tune thread state change: 1 -> 3
2016-01-07 at 06:05:06.256 [brltty] regions: text=0.0 status=0.0
2016-01-07 at 06:05:06.256 [brltty] shifts: full=1 half=0 vertical=5
2016-01-07 at 06:05:06.256 [brltty] checking for text table: /etc/brltty/Text/en_US.ttb
2016-01-07 at 06:05:06.256 [brltty] compiling text table: /etc/brltty/Text/en_US.ttb
2016-01-07 at 06:05:06.256 [brltty] file opened: /etc/brltty/Text/en_US.ttb fd=8
2016-01-07 at 06:05:06.256 [brltty] including data file: /etc/brltty/Text/en_US.ttb
2016-01-07 at 06:05:06.256 [brltty] file opened: /etc/brltty/Text/ltr-latin.tti fd=9
2016-01-07 at 06:05:06.256 [brltty] including data file: /etc/brltty/Text/ltr-latin.tti
2016-01-07 at 06:05:06.256 [brltty] file opened: /etc/brltty/Text/ltr-alias.tti fd=10
2016-01-07 at 06:05:06.256 [brltty] including data file: /etc/brltty/Text/ltr-alias.tti
2016-01-07 at 06:05:06.260 [brltty] file opened: /etc/brltty/Text/ctl-latin.tti fd=9
2016-01-07 at 06:05:06.260 [brltty] including data file: /etc/brltty/Text/ctl-latin.tti
2016-01-07 at 06:05:06.261 [brltty] file opened: /etc/brltty/Text/num-nemeth.tti fd=9
2016-01-07 at 06:05:06.261 [brltty] including data file: /etc/brltty/Text/num-nemeth.tti
2016-01-07 at 06:05:06.261 [brltty] file opened: /etc/brltty/Text/num-alias.tti fd=10
2016-01-07 at 06:05:06.261 [brltty] including data file: /etc/brltty/Text/num-alias.tti
2016-01-07 at 06:05:06.262 [brltty] file opened: /etc/brltty/Text/common.tti fd=9
2016-01-07 at 06:05:06.262 [brltty] including data file: /etc/brltty/Text/common.tti
2016-01-07 at 06:05:06.262 [brltty] file opened: /etc/brltty/Text/spaces.tti fd=10
2016-01-07 at 06:05:06.262 [brltty] including data file: /etc/brltty/Text/spaces.tti
2016-01-07 at 06:05:06.262 [brltty] file opened: /etc/brltty/Text/boxes.tti fd=10
2016-01-07 at 06:05:06.262 [brltty] including data file: /etc/brltty/Text/boxes.tti
2016-01-07 at 06:05:06.262 [brltty] file opened: /etc/brltty/Text/blocks.tti fd=10
2016-01-07 at 06:05:06.262 [brltty] including data file: /etc/brltty/Text/blocks.tti
2016-01-07 at 06:05:06.263 [brltty] Text Table: en_US
2016-01-07 at 06:05:06.263 [brltty] program exit event added: text-table
2016-01-07 at 06:05:06.263 [brltty] Attributes Table: left_right
2016-01-07 at 06:05:06.263 [brltty] program exit event added: attributes-table
2016-01-07 at 06:05:06.263 [brltty] program exit event added: contraction-table
2016-01-07 at 06:05:06.263 [brltty] Contraction Table: none
2016-01-07 at 06:05:06.263 [brltty] Keyboard Property: type=
2016-01-07 at 06:05:06.263 [brltty] Keyboard Property: vendor=
2016-01-07 at 06:05:06.263 [brltty] Keyboard Property: product=
2016-01-07 at 06:05:06.263 [brltty] program exit event added: keyboard-table
2016-01-07 at 06:05:06.263 [brltty] Keyboard Table: none
2016-01-07 at 06:05:06.263 [brltty] program exit event added: screen-driver
2016-01-07 at 06:05:06.263 [brltty] activity action request: screen-driver: start
2016-01-07 at 06:05:06.263 [brltty] activity state change: screen-driver: 4[preparing]
2016-01-07 at 06:05:06.263 [brltty] activity state change: screen-driver: 1[prepared]
2016-01-07 at 06:05:06.263 [brltty] activity state change: screen-driver: 2[scheduled]
2016-01-07 at 06:05:06.263 [brltty] BrlAPI Server: release 0.6.4
2016-01-07 at 06:05:06.263 [brltty] API Parameter: auth=
2016-01-07 at 06:05:06.263 [brltty] API Parameter: host=
2016-01-07 at 06:05:06.263 [brltty] API Parameter: stacksize=
2016-01-07 at 06:05:06.263 [brltty] program exit event added: address-table
2016-01-07 at 06:05:06.263 [brltty] program exit event added: api-server
2016-01-07 at 06:05:06.263 [brltty] program exit event added: braille-data
2016-01-07 at 06:05:06.263 [brltty] program exit event added: braille-driver
2016-01-07 at 06:05:06.263 [brltty] activity action request: braille-driver: start
2016-01-07 at 06:05:06.263 [brltty] activity state change: braille-driver: 4[preparing]
2016-01-07 at 06:05:06.263 [brltty] Braille Display Dimensions: 1 row, 1 column
2016-01-07 at 06:05:06.263 [brltty] regions: text=0.1 status=0.0
2016-01-07 at 06:05:06.263 [brltty] shifts: full=1 half=0 vertical=5
2016-01-07 at 06:05:06.263 [brltty] activity state change: braille-driver: 1[prepared]
2016-01-07 at 06:05:06.263 [brltty] activity state change: braille-driver: 2[scheduled]
2016-01-07 at 06:05:06.263 [brltty] program exit event added: speech-data
2016-01-07 at 06:05:06.263 [brltty] program exit event added: speech-driver
2016-01-07 at 06:05:06.263 [brltty] activity action request: speech-driver: start
2016-01-07 at 06:05:06.263 [brltty] activity state change: speech-driver: 4[preparing]
2016-01-07 at 06:05:06.263 [brltty] activity state change: speech-driver: 1[prepared]
2016-01-07 at 06:05:06.263 [brltty] activity state change: speech-driver: 2[scheduled]
2016-01-07 at 06:05:06.263 [brltty] Speech Input: none
2016-01-07 at 06:05:06.263 [brltty] program exit event added: sessions
2016-01-07 at 06:05:06.263 [brltty] pushed command environment: main
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: unhandled
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: miscellaneous
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: learn
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: speech
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: clipboard
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: preferences
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: toggle
2016-01-07 at 06:05:06.263 [brltty] report listener registered: 3: brailleWindowUpdatedListener
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: touch
2016-01-07 at 06:05:06.263 [brltty] report listener registered: 0: keycodeCommandDataResetListener
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: keycodes
2016-01-07 at 06:05:06.263 [brltty] report listener registered: 0: inputCommandDataResetListener
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: input
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: navigation
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: screen
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: custom
2016-01-07 at 06:05:06.263 [brltty] pushed command handler: API
2016-01-07 at 06:05:06.263 [brltty] activity state change: screen-driver: 6[starting]
2016-01-07 at 06:05:06.263 [brltty] checking for screen driver: lx
2016-01-07 at 06:05:06.264 [brltty] initializing screen driver: lx
2016-01-07 at 06:05:06.264 [brltty] device directory: /dev
2016-01-07 at 06:05:06.264 [brltty] checking screen device: /dev/vcsa
2016-01-07 at 06:05:06.264 [brltty] screen device: vcsa
2016-01-07 at 06:05:06.264 [brltty] checking console device: /dev/tty0
2016-01-07 at 06:05:06.264 [brltty] console device: tty0
2016-01-07 at 06:05:06.264 [brltty] device opened: /dev/tty1: fd=10
2016-01-07 at 06:05:06.264 [brltty] device opened: /dev/vcsa: fd=11
2016-01-07 at 06:05:06.264 [brltty] starting host command: /sbin/modprobe -q uinput
2016-01-07 at 06:05:06.267 [brltty] host command exit status: 0: /sbin/modprobe
2016-01-07 at 06:05:06.267 [brltty] activity state change: braille-driver: 6[starting]
2016-01-07 at 06:05:06.267 [brltty] checking braille device: usb:
2016-01-07 at 06:05:06.267 [brltty] performing braille driver autodetection
2016-01-07 at 06:05:06.267 [brltty] checking for braille driver: al
2016-01-07 at 06:05:06.267 [brltty] initializing braille driver: al -> usb:
2016-01-07 at 06:05:06.342 [brltty] braille driver initialization failed: al -> usb:
2016-01-07 at 06:05:06.342 [brltty] checking for braille driver: bm
2016-01-07 at 06:05:06.343 [brltty] initializing braille driver: bm -> usb:
2016-01-07 at 06:05:06.420 [brltty] USB: Manufacturer Name: HumanWare
2016-01-07 at 06:05:06.422 [brltty] USB: Product Description: Brailliant 40
2016-01-07 at 06:05:06.423 [brltty] USB: Serial Number: 25000072
2016-01-07 at 06:05:06.424 [brltty] program exit event added: sorted-usb-serial-adapters
2016-01-07 at 06:05:06.424 [brltty] probing with Baum Escape protocol
2016-01-07 at 06:05:06.427 [brltty] activity state change: speech-driver: 6[starting]
2016-01-07 at 06:05:06.427 [brltty] no autodetectable speech drivers
2016-01-07 at 06:05:06.427 [brltty] checking for speech driver: no
2016-01-07 at 06:05:06.427 [brltty] initializing speech driver: no
2016-01-07 at 06:05:06.428 [brltty] Speech Driver: no [NoSpeech]
2016-01-07 at 06:05:06.428 [brltty] NoSpeech Speech Driver:
2016-01-07 at 06:05:06.428 [brltty] activity state change: speech-driver: 3[started]
2016-01-07 at 06:05:06.439 [brltty] Ignored Byte: 00
2016-01-07 at 06:05:07.341 [brltty] probing with Baum Escape protocol
2016-01-07 at 06:05:07.399 [brltty] Baum Serial Number: 25041572
2016-01-07 at 06:05:07.399 [brltty] Baum Device Identity: HWG Brailliant40
2016-01-07 at 06:05:07.399 [brltty] Cell Count: 40 (40 text, 0 status)
2016-01-07 at 06:05:07.399 [brltty] Braille Display Dimensions: 1 row, 40 columns
2016-01-07 at 06:05:07.400 [brltty] regions: text=0.40 status=0.0
2016-01-07 at 06:05:07.400 [brltty] shifts: full=40 half=20 vertical=5
2016-01-07 at 06:05:07.400 [brltty] Key Bindings: sv
2016-01-07 at 06:05:07.400 [brltty] program exit event added: sorted-command-table
2016-01-07 at 06:05:07.400 [brltty] file opened: /etc/brltty/Input/bm/sv.ktb fd=21
2016-01-07 at 06:05:07.400 [brltty] including data file: /etc/brltty/Input/bm/sv.ktb
2016-01-07 at 06:05:07.400 [brltty] file opened: /etc/brltty/Input/bm/display6.kti fd=22
2016-01-07 at 06:05:07.400 [brltty] including data file: /etc/brltty/Input/bm/display6.kti
2016-01-07 at 06:05:07.400 [brltty] file opened: /etc/brltty/Input/bm/d6.kti fd=23
2016-01-07 at 06:05:07.400 [brltty] including data file: /etc/brltty/Input/bm/d6.kti
2016-01-07 at 06:05:07.401 [brltty] file opened: /etc/brltty/Input/bm/routing6.kti fd=22
2016-01-07 at 06:05:07.401 [brltty] including data file: /etc/brltty/Input/bm/routing6.kti
2016-01-07 at 06:05:07.401 [brltty] Key Table: /etc/brltty/Input/bm/sv.ktb
2016-01-07 at 06:05:07.401 [brltty] constructing special screen: help
2016-01-07 at 06:05:07.402 [brltty] report listener registered: 0: brlapi_handleReports
2016-01-07 at 06:05:07.402 [brltty] Braille Driver: bm [Baum]
2016-01-07 at 06:05:07.402 [brltty] Baum Braille Driver:
2016-01-07 at 06:05:07.402 [brltty] Braille Parameter: protocol=
2016-01-07 at 06:05:07.402 [brltty] Braille Parameter: variokeys=
2016-01-07 at 06:05:07.402 [brltty] Braille Device: usb:
2016-01-07 at 06:05:07.402 [brltty] Old Preferences File: /etc/brltty-bm.prefs
2016-01-07 at 06:05:07.402 [brltty] cannot open file: /etc/brltty-bm.prefs: No such file or directory
2016-01-07 at 06:05:07.402 [brltty] regions: text=0.40 status=0.0
2016-01-07 at 06:05:07.402 [brltty] shifts: full=40 half=20 vertical=5
2016-01-07 at 06:05:07.402 [tune-thread] starting host command: /sbin/modprobe -q pcspkr
2016-01-07 at 06:05:07.403 [brltty] activity state change: braille-driver: 3[started]
2016-01-07 at 06:05:07.403 [brltty] checking uinput device: /dev/uinput
2016-01-07 at 06:05:07.403 [brltty] uinput device: uinput
2016-01-07 at 06:05:07.403 [brltty] device opened: /dev/uinput: fd=21
2016-01-07 at 06:05:07.403 [brltty] uinput opened: uinput fd=21
2016-01-07 at 06:05:07.403 [brltty] report listener registered: 1: lxBrailleOfflineListener
2016-01-07 at 06:05:07.403 [brltty] Screen Driver: lx [Linux]
2016-01-07 at 06:05:07.403 [brltty] Linux Screen Driver:
2016-01-07 at 06:05:07.403 [brltty] Screen Parameter: charset=
2016-01-07 at 06:05:07.403 [brltty] Screen Parameter: debugsfm=
2016-01-07 at 06:05:07.403 [brltty] Screen Parameter: hfb=
2016-01-07 at 06:05:07.403 [brltty] Screen Parameter: vt=
2016-01-07 at 06:05:07.403 [brltty] activity state change: screen-driver: 3[started]
2016-01-07 at 06:05:07.404 [brltty] device opened: /dev/tty0: fd=22
2016-01-07 at 06:05:07.404 [brltty] report listener unregistered: 0: brlapi_handleReports
2016-01-07 at 06:05:07.404 [brltty] pushed command environment: message
2016-01-07 at 06:05:07.404 [brltty] pushed command handler: message
2016-01-07 at 06:05:07.405 [tune-thread] host command exit status: 0: /sbin/modprobe
2016-01-07 at 06:05:07.405 [tune-thread] console opened: fd=23
2016-01-07 at 06:05:07.405 [tune-thread] program exit event added: console-stream
2016-01-07 at 06:05:07.405 [tune-thread] beeper enabled
2016-01-07 at 06:05:07.405 [tune-thread] tone: MSecs:60 Freq:329
2016-01-07 at 06:05:07.420 [brltty] Short Packet: 50
2016-01-07 at 06:05:07.421 [brltty] Ignored Byte: 02
2016-01-07 at 06:05:07.431 [brltty] Baum Device Identity: HWG Brailliant40
2016-01-07 at 06:05:07.431 [brltty] Baum Serial Number: 25041572
2016-01-07 at 06:05:07.431 [brltty] Ignored Byte: 42
2016-01-07 at 06:05:07.431 [brltty] Cell Count: 26 (26 text, 0 status)
2016-01-07 at 06:05:07.431 [brltty] Ignored Byte: 31
2016-01-07 at 06:05:07.431 [brltty] Ignored Byte: 01
2016-01-07 at 06:05:07.431 [brltty] Ignored Byte: 00
2016-01-07 at 06:05:07.431 [brltty] Ignored Byte: 00
2016-01-07 at 06:05:07.431 [brltty] Ignored Byte: 00
2016-01-07 at 06:05:07.431 [brltty] Ignored Byte: 00
2016-01-07 at 06:05:07.431 [brltty] Ignored Byte: 08
2016-01-07 at 06:05:07.431 [brltty] Braille Display Dimensions: 1 row, 26 columns
2016-01-07 at 06:05:07.431 [brltty] regions: text=0.26 status=0.0
2016-01-07 at 06:05:07.431 [brltty] shifts: full=26 half=13 vertical=5
2016-01-07 at 06:05:07.447 [brltty] Ignored Byte: 64
2016-01-07 at 06:05:07.447 [brltty] Ignored Byte: 83
2016-01-07 at 06:05:07.447 [brltty] Ignored Byte: 03
2016-01-07 at 06:05:07.447 [brltty] Ignored Byte: B4
2016-01-07 at 06:05:07.447 [brltty] Ignored Byte: 12
2016-01-07 at 06:05:07.447 [brltty] Ignored Byte: 00
2016-01-07 at 06:05:07.447 [brltty] Ignored Byte: 00
2016-01-07 at 06:05:07.465 [tune-thread] tone: MSecs:100 Freq:440
2016-01-07 at 06:05:09.466 [tune-thread] beeper disabled
2016-01-07 at 06:05:11.423 [brltty] popped command handler: message
2016-01-07 at 06:05:11.424 [brltty] popped command environment: message
2016-01-07 at 06:05:11.424 [brltty] report listener registered: 0: brlapi_handleReports


More information about the BRLTTY mailing list