[BRLTTY] Brltty woes on Centos 7

Keith Wessel keith at wessel.com
Thu Mar 2 09:56:51 EST 2017


I have debug output. Not sure if this will tell anyone more than it told me,
but let's try.

I got this by adding -l debug -L /brltty.conf to the args environment var in
the brltty at .service that calls the brltty system wrapper.

I get as far as brltty starting then, sometimes it tells me screen not in
text mode, and other times it just hangs on the brltty version number on the
braille display. If I even just kill brltty and let system restar it,
everything's fine. Other than the executable args change, my only other
change to the service unit script is to tell it to start after
alsa-restore.service.

Logs are below.

You'll see at the end of the log, I stopped the service so that I could
capture the logs after the shutdown, but it had several seconds before my
shutdown to start doing something with the display which it didn't do.

Thoughts?

Thanks,
Keith

2017-03-02 at 08:30:48.936 [brltty] BRLTTY 5.4 rev unknown [http://brltty.com/]
2017-03-02 at 08:30:48.936 [brltty] lock descriptor allocated:
queue-discarded-elements
2017-03-02 at 08:30:48.936 [brltty] Log Level: debug
2017-03-02 at 08:30:48.936 [brltty] pushed command environment: initial
2017-03-02 at 08:30:48.936 [brltty] report listener registered: 0:
handleUpdateBrailleOnline
2017-03-02 at 08:30:48.936 [brltty] program exit event added: pid-file
2017-03-02 at 08:30:48.936 [brltty] program exit event added: screen-data
2017-03-02 at 08:30:48.936 [brltty] Working Directory: /
2017-03-02 at 08:30:48.936 [brltty] Configuration File: /etc/brltty.conf
2017-03-02 at 08:30:48.936 [brltty] Updatable Directory: /var/lib/brltty
2017-03-02 at 08:30:48.936 [brltty] Preferences File: brltty.prefs
2017-03-02 at 08:30:48.936 [brltty] Writable Directory: /var/run/brltty
2017-03-02 at 08:30:48.936 [brltty] Drivers Directory: /lib/brltty
2017-03-02 at 08:30:48.936 [brltty] Tables Directory: /etc/brltty
2017-03-02 at 08:30:48.946 [brltty] file opened: /var/lib/brltty/brltty.prefs
fd=4
2017-03-02 at 08:30:48.956 [brltty] file opened: /var/lib/brltty/brltty.prefs
fd=4
2017-03-02 at 08:30:48.956 [brltty] program exit event added: tunes
2017-03-02 at 08:30:48.956 [brltty] tune thread state change: 0 -> 1
2017-03-02 at 08:30:48.956 [brltty] tune thread state change: 1 -> 3
2017-03-02 at 08:30:48.956 [brltty] regions: text=0.0 status=0.0
2017-03-02 at 08:30:48.956 [brltty] shifts: full=1 half=0 vertical=5
2017-03-02 at 08:30:48.957 [brltty] compiling text table:
/etc/brltty/Text/en_US.ttb
2017-03-02 at 08:30:48.988 [brltty] file opened: /etc/brltty/Text/en_US.ttb
fd=8
2017-03-02 at 08:30:48.988 [brltty] including data file:
/etc/brltty/Text/en_US.ttb
2017-03-02 at 08:30:48.994 [brltty] file opened: /etc/brltty/Text/ltr-latin.tti
fd=9
2017-03-02 at 08:30:48.994 [brltty] including data file:
/etc/brltty/Text/ltr-latin.tti
2017-03-02 at 08:30:48.995 [brltty] file opened: /etc/brltty/Text/ltr-alias.tti
fd=10
2017-03-02 at 08:30:48.995 [brltty] including data file:
/etc/brltty/Text/ltr-alias.tti
2017-03-02 at 08:30:49.003 [brltty] file opened: /etc/brltty/Text/ctl-latin.tti
fd=9
2017-03-02 at 08:30:49.003 [brltty] including data file:
/etc/brltty/Text/ctl-latin.tti
2017-03-02 at 08:30:49.009 [brltty] file opened:
/etc/brltty/Text/num-nemeth.tti fd=9
2017-03-02 at 08:30:49.009 [brltty] including data file:
/etc/brltty/Text/num-nemeth.tti
2017-03-02 at 08:30:49.010 [brltty] file opened: /etc/brltty/Text/num-alias.tti
fd=10
2017-03-02 at 08:30:49.010 [brltty] including data file:
/etc/brltty/Text/num-alias.tti
2017-03-02 at 08:30:49.011 [brltty] file opened: /etc/brltty/Text/common.tti
fd=9
2017-03-02 at 08:30:49.011 [brltty] including data file:
/etc/brltty/Text/common.tti
2017-03-02 at 08:30:49.011 [brltty] file opened: /etc/brltty/Text/spaces.tti
fd=10
2017-03-02 at 08:30:49.011 [brltty] including data file:
/etc/brltty/Text/spaces.tti
2017-03-02 at 08:30:49.012 [brltty] file opened: /etc/brltty/Text/boxes.tti
fd=10
2017-03-02 at 08:30:49.012 [brltty] including data file:
/etc/brltty/Text/boxes.tti
2017-03-02 at 08:30:49.012 [brltty] file opened: /etc/brltty/Text/blocks.tti
fd=10
2017-03-02 at 08:30:49.012 [brltty] including data file:
/etc/brltty/Text/blocks.tti
2017-03-02 at 08:30:49.013 [brltty] Text Table: en_US
2017-03-02 at 08:30:49.013 [brltty] program exit event added: text-table
2017-03-02 at 08:30:49.013 [brltty] Attributes Table: left_right
2017-03-02 at 08:30:49.013 [brltty] program exit event added: attributes-table
2017-03-02 at 08:30:49.013 [brltty] program exit event added: contraction-table
2017-03-02 at 08:30:49.013 [brltty] compiling contraction table:
/etc/brltty/Contraction/en-us-g2.ctb
2017-03-02 at 08:30:49.024 [brltty] file opened:
/etc/brltty/Contraction/en-us-g2.ctb fd=8
2017-03-02 at 08:30:49.024 [brltty] including data file:
/etc/brltty/Contraction/en-us-g2.ctb
2017-03-02 at 08:30:49.027 [brltty] file opened:
/etc/brltty/Contraction/countries.cti fd=9
2017-03-02 at 08:30:49.027 [brltty] including data file:
/etc/brltty/Contraction/countries.cti
2017-03-02 at 08:30:49.027 [brltty] Contraction Table: en-us-g2
2017-03-02 at 08:30:49.027 [brltty] Keyboard Property: type=
2017-03-02 at 08:30:49.027 [brltty] Keyboard Property: vendor=
2017-03-02 at 08:30:49.027 [brltty] Keyboard Property: product=
2017-03-02 at 08:30:49.027 [brltty] program exit event added: keyboard-table
2017-03-02 at 08:30:49.027 [brltty] Keyboard Table: none
2017-03-02 at 08:30:49.027 [brltty] program exit event added: screen-driver
2017-03-02 at 08:30:49.027 [brltty] activity action request: screen-driver:
start
2017-03-02 at 08:30:49.027 [brltty] activity state change: screen-driver:
4[preparing]
2017-03-02 at 08:30:49.027 [brltty] activity state change: screen-driver:
1[prepared]
2017-03-02 at 08:30:49.027 [brltty] activity state change: screen-driver:
2[scheduled]
2017-03-02 at 08:30:49.027 [brltty] BrlAPI Server: release 0.6.5
2017-03-02 at 08:30:49.027 [brltty] API Parameter: auth=
2017-03-02 at 08:30:49.027 [brltty] API Parameter: host=
2017-03-02 at 08:30:49.027 [brltty] API Parameter: stacksize=
2017-03-02 at 08:30:49.027 [brltty] program exit event added: address-table
2017-03-02 at 08:30:49.027 [brltty] program exit event added: api-server
2017-03-02 at 08:30:49.027 [brltty] program exit event added: braille-data
2017-03-02 at 08:30:49.027 [brltty] program exit event added: braille-driver
2017-03-02 at 08:30:49.027 [brltty] activity action request: braille-driver:
start
2017-03-02 at 08:30:49.027 [brltty] activity state change: braille-driver:
4[preparing]
2017-03-02 at 08:30:49.027 [brltty] Braille Display Dimensions: 1 row, 1 column
2017-03-02 at 08:30:49.027 [brltty] regions: text=0.1 status=0.0
2017-03-02 at 08:30:49.027 [brltty] shifts: full=1 half=0 vertical=5
2017-03-02 at 08:30:49.027 [brltty] activity state change: braille-driver:
1[prepared]
2017-03-02 at 08:30:49.027 [brltty] activity state change: braille-driver:
2[scheduled]
2017-03-02 at 08:30:49.027 [brltty] program exit event added: speech-data
2017-03-02 at 08:30:49.027 [brltty] program exit event added: speech-driver
2017-03-02 at 08:30:49.027 [brltty] activity action request: speech-driver:
start
2017-03-02 at 08:30:49.027 [brltty] activity state change: speech-driver:
4[preparing]
2017-03-02 at 08:30:49.027 [brltty] activity state change: speech-driver:
1[prepared]
2017-03-02 at 08:30:49.027 [brltty] activity state change: speech-driver:
2[scheduled]
2017-03-02 at 08:30:49.028 [brltty] Speech Input: none
2017-03-02 at 08:30:49.028 [brltty] program exit event added: sessions
2017-03-02 at 08:30:49.028 [brltty] pushed command environment: main
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: unhandled
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: miscellaneous
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: learn
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: speech
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: clipboard
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: preferences
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: toggle
2017-03-02 at 08:30:49.028 [brltty] report listener registered: 3:
brailleWindowUpdatedListener
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: touch
2017-03-02 at 08:30:49.028 [brltty] report listener registered: 0:
keycodeCommandDataResetListener
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: keycodes
2017-03-02 at 08:30:49.028 [brltty] report listener registered: 0:
inputCommandDataResetListener
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: input
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: navigation
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: screen
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: custom
2017-03-02 at 08:30:49.028 [brltty] pushed command handler: API
2017-03-02 at 08:30:49.028 [brltty] activity state change: screen-driver:
6[starting]
2017-03-02 at 08:30:49.028 [brltty] checking for screen driver: lx
2017-03-02 at 08:30:49.040 [brltty] initializing screen driver: lx
2017-03-02 at 08:30:49.040 [brltty] device directory: /dev
2017-03-02 at 08:30:49.040 [brltty] checking screen device: /dev/vcsa
2017-03-02 at 08:30:49.040 [brltty] screen device: vcsa
2017-03-02 at 08:30:49.040 [brltty] checking console device: /dev/tty0
2017-03-02 at 08:30:49.040 [brltty] console device: tty0
2017-03-02 at 08:30:49.040 [brltty] device opened: /dev/tty1: fd=12
2017-03-02 at 08:30:49.040 [brltty] device opened: /dev/vcsa: fd=13
2017-03-02 at 08:30:49.040 [brltty] starting host command: /sbin/modprobe -q
uinput
2017-03-02 at 08:30:49.058 [brltty] host command exit status: 0: /sbin/modprobe
2017-03-02 at 08:30:49.058 [brltty] activity state change: braille-driver:
6[starting]
2017-03-02 at 08:30:49.058 [brltty] checking braille device: serial:ttyS2
2017-03-02 at 08:30:49.058 [brltty] checking for braille driver: ts
2017-03-02 at 08:30:49.059 [brltty] initializing braille driver: ts ->
serial:ttyS2
2017-03-02 at 08:30:49.060 [brltty] trying at 9600 baud
2017-03-02 at 08:30:49.060 [brltty] activity state change: speech-driver:
6[starting]
2017-03-02 at 08:30:49.060 [brltty] no autodetectable speech drivers
2017-03-02 at 08:30:49.060 [brltty] checking for speech driver: no
2017-03-02 at 08:30:49.060 [brltty] initializing speech driver: no
2017-03-02 at 08:30:49.060 [brltty] Speech Driver: no [NoSpeech]
2017-03-02 at 08:30:49.060 [brltty] NoSpeech Speech Driver:
2017-03-02 at 08:30:49.060 [brltty] activity state change: speech-driver:
3[started]
2017-03-02 at 08:30:49.082 [brltty] display replied: 81 cells, version 1.0
2017-03-02 at 08:30:49.082 [brltty] detected Power Braille 80
2017-03-02 at 08:30:49.082 [brltty] switching display to 19200 baud
2017-03-02 at 08:30:49.183 [brltty] trying at 19200 baud
2017-03-02 at 08:30:49.183 [brltty] now using 19200 baud - checking if display
followed
2017-03-02 at 08:30:49.197 [brltty] display responded at 19200 baud
2017-03-02 at 08:30:49.197 [brltty] Braille Display Dimensions: 1 row, 81
columns
2017-03-02 at 08:30:49.197 [brltty] regions: text=0.81 status=0.0
2017-03-02 at 08:30:49.197 [brltty] shifts: full=81 half=40 vertical=5
2017-03-02 at 08:30:49.197 [brltty] Key Bindings: pb80
2017-03-02 at 08:30:49.197 [brltty] program exit event added:
sorted-command-table
2017-03-02 at 08:30:49.198 [brltty] file opened: /etc/brltty/Input/ts/pb80.ktb
fd=19
2017-03-02 at 08:30:49.198 [brltty] including data file:
/etc/brltty/Input/ts/pb80.ktb
2017-03-02 at 08:30:49.198 [brltty] file opened:
/etc/brltty/Input/ts/pb_large.kti fd=20
2017-03-02 at 08:30:49.198 [brltty] including data file:
/etc/brltty/Input/ts/pb_large.kti
2017-03-02 at 08:30:49.198 [brltty] file opened: /etc/brltty/Input/ts/pb.kti
fd=21
2017-03-02 at 08:30:49.198 [brltty] including data file:
/etc/brltty/Input/ts/pb.kti
2017-03-02 at 08:30:49.199 [brltty] file opened:
/etc/brltty/Input/ts/routing.kti fd=22
2017-03-02 at 08:30:49.199 [brltty] including data file:
/etc/brltty/Input/ts/routing.kti
2017-03-02 at 08:30:49.199 [brltty] Key Table: /etc/brltty/Input/ts/pb80.ktb
2017-03-02 at 08:30:49.199 [brltty] constructing special screen: help
2017-03-02 at 08:30:49.200 [brltty] report listener registered: 0:
brlapi_handleReports
2017-03-02 at 08:30:49.200 [brltty] Braille Driver: ts [TSI]
2017-03-02 at 08:30:49.200 [brltty] TSI Braille Driver: version 2.74 (April
2004)
2017-03-02 at 08:30:49.200 [brltty] Braille Parameter: highbaud=
2017-03-02 at 08:30:49.200 [brltty] Braille Parameter: setbaud=
2017-03-02 at 08:30:49.200 [brltty] Braille Device: serial:ttyS2
2017-03-02 at 08:30:49.200 [brltty] Old Preferences File: /etc/brltty-ts.prefs
2017-03-02 at 08:30:49.200 [brltty] regions: text=0.81 status=0.0
2017-03-02 at 08:30:49.200 [brltty] shifts: full=81 half=40 vertical=5
2017-03-02 at 08:30:49.200 [brltty] setting braille autorepeat: on Delay:500
Interval:100
2017-03-02 at 08:30:49.200 [brltty] program exit event added: alert-tunes
2017-03-02 at 08:30:49.200 [brltty] activity state change: braille-driver:
3[started]
2017-03-02 at 08:30:49.200 [brltty] device opened: /dev/tty0: fd=19
2017-03-02 at 08:30:49.315 [tune-thread] ALSA PCM: Chan=1 Rate=16000
BufTim=341312 PerTim=21333
2017-03-02 at 08:30:49.316 [tune-thread] PCM enabled: BlkSz:682 Rate:16000
ChnCt:1 Fmt:6
2017-03-02 at 08:30:49.316 [tune-thread] tone: MSecs:60 SmpCt:960
Freq:329.627991
2017-03-02 at 08:30:49.316 [tune-thread] tone: MSecs:100 SmpCt:1600
Freq:440.000000
2017-03-02 at 08:30:49.559 [brltty] checking uinput device: /dev/uinput
2017-03-02 at 08:30:49.559 [brltty] uinput device: uinput
2017-03-02 at 08:30:49.559 [brltty] device opened: /dev/uinput: fd=23
2017-03-02 at 08:30:49.559 [brltty] uinput opened: uinput fd=23
2017-03-02 at 08:30:49.559 [brltty] report listener registered: 1:
lxBrailleOfflineListener
2017-03-02 at 08:30:49.559 [brltty] Screen Driver: lx [Linux]
2017-03-02 at 08:30:49.559 [brltty] Linux Screen Driver:
2017-03-02 at 08:30:49.559 [brltty] Screen Parameter: charset=
2017-03-02 at 08:30:49.559 [brltty] Screen Parameter: debugsfm=
2017-03-02 at 08:30:49.559 [brltty] Screen Parameter: hfb=
2017-03-02 at 08:30:49.559 [brltty] Screen Parameter: vt=
2017-03-02 at 08:30:49.559 [brltty] activity state change: screen-driver:
3[started]
2017-03-02 at 08:30:49.559 [brltty] report listener unregistered: 0:
brlapi_handleReports
2017-03-02 at 08:30:49.559 [brltty] pushed command environment: message
2017-03-02 at 08:30:49.559 [brltty] pushed command handler: message
2017-03-02 at 08:30:51.318 [tune-thread] PCM disabled
2017-03-02 at 08:30:53.561 [brltty] popped command handler: message
2017-03-02 at 08:30:53.561 [brltty] popped command environment: message
2017-03-02 at 08:30:53.561 [brltty] report listener registered: 0:
brlapi_handleReports
2017-03-02 at 08:31:07.578 [brltty] control[console] error 5: Input/output
error.
2017-03-02 at 08:31:07.579 [brltty] device opened: /dev/tty1: fd=20
2017-03-02 at 08:32:20.410 [brltty] device opened: /dev/tty0: fd=12
2017-03-02 at 08:32:35.437 [brltty] stopping program components
2017-03-02 at 08:32:35.437 [brltty] stopping program component: alert-tunes
2017-03-02 at 08:32:35.437 [brltty] stopping program component:
sorted-command-table
2017-03-02 at 08:32:35.437 [brltty] stopping program component: sessions
2017-03-02 at 08:32:35.437 [brltty] popped command handler: API
2017-03-02 at 08:32:35.437 [brltty] popped command handler: custom
2017-03-02 at 08:32:35.437 [brltty] popped command handler: screen
2017-03-02 at 08:32:35.437 [brltty] popped command handler: navigation
2017-03-02 at 08:32:35.437 [brltty] popped command handler: input
2017-03-02 at 08:32:35.437 [brltty] report listener unregistered: 0:
inputCommandDataResetListener
2017-03-02 at 08:32:35.437 [brltty] popped command handler: keycodes
2017-03-02 at 08:32:35.437 [brltty] report listener unregistered: 0:
keycodeCommandDataResetListener
2017-03-02 at 08:32:35.437 [brltty] popped command handler: touch
2017-03-02 at 08:32:35.437 [brltty] report listener unregistered: 3:
brailleWindowUpdatedListener
2017-03-02 at 08:32:35.437 [brltty] popped command handler: toggle
2017-03-02 at 08:32:35.437 [brltty] popped command handler: preferences
2017-03-02 at 08:32:35.437 [brltty] popped command handler: clipboard
2017-03-02 at 08:32:35.437 [brltty] popped command handler: speech
2017-03-02 at 08:32:35.437 [brltty] popped command handler: learn
2017-03-02 at 08:32:35.437 [brltty] popped command handler: miscellaneous
2017-03-02 at 08:32:35.437 [brltty] popped command handler: unhandled
2017-03-02 at 08:32:35.437 [brltty] popped command environment: main
2017-03-02 at 08:32:35.437 [brltty] stopping program component: speech-driver
2017-03-02 at 08:32:35.437 [brltty] activity action request: speech-driver:
stop
2017-03-02 at 08:32:35.437 [brltty] activity state change: speech-driver:
9[stopping]
2017-03-02 at 08:32:35.437 [brltty] activity state change: speech-driver:
0[stopped]
2017-03-02 at 08:32:35.437 [brltty] stopping program component: speech-data
2017-03-02 at 08:32:35.437 [brltty] stopping program component: braille-driver
2017-03-02 at 08:32:35.437 [brltty] report listener unregistered: 0:
brlapi_handleReports
2017-03-02 at 08:32:35.437 [brltty] pushed command environment: message
2017-03-02 at 08:32:35.437 [brltty] pushed command handler: message
2017-03-02 at 08:32:35.506 [brltty] popped command handler: message
2017-03-02 at 08:32:35.506 [brltty] popped command environment: message
2017-03-02 at 08:32:35.506 [brltty] report listener registered: 0:
brlapi_handleReports
2017-03-02 at 08:32:35.506 [brltty] activity action request: braille-driver:
stop
2017-03-02 at 08:32:35.506 [brltty] activity state change: braille-driver:
9[stopping]
2017-03-02 at 08:32:35.507 [brltty] report listener unregistered: 0:
brlapi_handleReports
2017-03-02 at 08:32:35.509 [brltty] program exit event added: alert-tunes
2017-03-02 at 08:32:35.509 [brltty] activity state change: braille-driver:
0[stopped]
2017-03-02 at 08:32:35.509 [brltty] stopping program component: alert-tunes
2017-03-02 at 08:32:35.678 [tune-thread] ALSA PCM: Chan=1 Rate=16000
BufTim=341312 PerTim=21333
2017-03-02 at 08:32:35.678 [tune-thread] PCM enabled: BlkSz:682 Rate:16000
ChnCt:1 Fmt:6
2017-03-02 at 08:32:35.678 [tune-thread] tone: MSecs:60 SmpCt:960
Freq:329.627991
2017-03-02 at 08:32:35.678 [tune-thread] tone: MSecs:60 SmpCt:960
Freq:220.000000
2017-03-02 at 08:32:35.679 [brltty] stopping program component: braille-data
2017-03-02 at 08:32:35.679 [brltty] stopping program component: api-server
2017-03-02 at 08:32:35.679 [server-main] select: Interrupted system call
2017-03-02 at 08:32:35.681 [brltty] stopping program component: address-table
2017-03-02 at 08:32:35.681 [brltty] stopping program component: screen-driver
2017-03-02 at 08:32:35.681 [brltty] activity action request: screen-driver:
stop
2017-03-02 at 08:32:35.681 [brltty] activity state change: screen-driver:
9[stopping]
2017-03-02 at 08:32:35.681 [brltty] report listener unregistered: 1:
lxBrailleOfflineListener
2017-03-02 at 08:32:35.716 [brltty] activity state change: screen-driver:
0[stopped]
2017-03-02 at 08:32:35.716 [brltty] stopping program component: keyboard-table
2017-03-02 at 08:32:35.716 [brltty] stopping program component:
contraction-table
2017-03-02 at 08:32:35.716 [brltty] stopping program component:
attributes-table
2017-03-02 at 08:32:35.716 [brltty] stopping program component: text-table
2017-03-02 at 08:32:35.716 [brltty] stopping program component: tunes
2017-03-02 at 08:32:35.826 [tune-thread] PCM disabled
2017-03-02 at 08:32:35.826 [tune-thread] tune thread state change: 3 -> 4
2017-03-02 at 08:32:35.826 [brltty] tune thread state change: 4 -> 5
2017-03-02 at 08:32:35.827 [brltty] stopping program component: screen-data
2017-03-02 at 08:32:35.827 [brltty] destructing special screen: help
2017-03-02 at 08:32:35.827 [brltty] stopping program component: pid-file
2017-03-02 at 08:32:35.827 [brltty] stopping program component: log

-----Original Message-----
From: Keith Wessel [mailto:kwessel76 at gmail.com] On Behalf Of Keith Wessel
Sent: Wednesday, March 01, 2017 4:59 PM
To: 'Informal discussion between users and developers of BRLTTY.'
<brltty at brltty.com>
Subject: RE: [BRLTTY] Brltty woes on Centos 7

Dave,

No, I get a text console on virtual TTY1 when in runlevel 3, so it seems to
be acting sane there.

I figured out why the service unit script that you packaged with brltty
wasn't working, and that was my fault. I was adding to (replacing) the
ExecStart line to add a -q to the start-up. That didn't work since your unit
uses the wrapper setup. I see now, if I want to do that, that I need to add
it to the environment variable that your wrapper uses for the executable
args which need to include the -n switch.

So, now I have my basic service script and your service script ending up at
the same result: they both end up with "screen not in text mode" even when
GDM is not running. And even if I do an alt-F2 to switch to another VT, that
doesn't change. Only way to get it to change is to restart the service.

I did make one change to your system unit script: instead of
Before=sysinit.target, I have After=alsa-restore.service. Otherwise, I don't
have Alsa available when brltty starts it, and it falls back on the beeper
device.

I'm happy to add logging. I notice that, with my basic unit script without
your wrapper, the brltty output all gets captured by journalctl. With the
wrapper, I only get lines about the service starting and stopping. Is there
a way to get the wrapper to send the brltty output to a log of some sort? If
not, I can go back to my simpler service unit script and send you what I'm
seeing in journalctl. If there's any way to get brltty to send more verbose
messages to the console for system to log, I'd also appreciate knowing that.

Given that, I'll collect some info, and we'll see if we can catch this
problem red-handed.

Keith


-----Original Message-----
From: BRLTTY [mailto:brltty-bounces at brltty.com] On Behalf Of Dave Mielke
Sent: Wednesday, March 01, 2017 3:37 PM
To: Informal discussion between users and developers of BRLTTY.
<brltty at brltty.com>
Subject: Re: [BRLTTY] Brltty woes on Centos 7

[quoted lines by Keith Wessel on 2017/03/01 at 15:17 -0600]

>Alright, I've made a much simpler brltty.service to try and simplify
things,
>and I'm getting this down to a console error. I've changed my system to
only
>boot to runlevel 3 to get Gnome out of the mix. But, when brltty starts at
>boot, it still reports "screen not in text mode" on the braille display. 

Does CentOS 7 put X on tty1? If so, I bet it still reserves tty1 for that
even 
when at run level 3.

>The journalctl output from brltty.service tells me that brltty is
reporting: 
>control[console] error 5: Input/output error.

Please add brltty logging options in your service unit so that we can find
out 
what the problem is from "the horse's mouth".

>Is this a funky permissions issue with system not allowing console access
for 
>some reason? 

I doubt it, but who knows. I hate guessing, and much prefer just facts.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of
God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: Dave at Mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.org/
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY at brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty




More information about the BRLTTY mailing list