[BRLTTY] Issue linking brlapi and orca.

Didier Spaier didier at slint.fr
Fri Sep 15 14:10:19 EDT 2017


Le 15/09/2017 à 17:32, Samuel Thibault a écrit :
> Dave Mielke, on ven. 15 sept. 2017 08:23:39 -0400, wrote:
>> [quoted lines by Didier Spaier on 2017/09/15 at 14:14 +0200]
>>> 2017-09-15 at 14:05:53.157 [brltty] BRLTTY 5.5 rev unknown [http://brltty.com/]
>>> 2017-09-15 at 14:05:54.201 [brltty] Linux Screen Driver:
>>> 2017-09-15 at 14:05:54.202 [brltty] NoSpeech Speech Driver:
>>
>> Samuel: I don't see the braille driver being started. We made a change not too 
>> long ago to not start the server until the braille driver starts successfully 
>> for the first time.
> 
> Ah :/
> 
> One way is to run e.g.
> 
> brltty -b tt -d /dev/tty12
> 
> And you'll see the braille output on the Linux VT number 12.
> 
> Samuel

It worked, huge thanks Dave and Samuel!

And now I have a log ~/log_xbrlapi

Does that implies that the braille device should be connected before
booting? Or will this work if the device is connected after the daemon
has started?

Also, I had first commented all lines under:
Application Programming Interface Parameters in /etc/brltty.conf
and I assume that this is not safe.

This leads to another question.

Currently I include this code snippet in brltty's post-install script:
---
if [ ! -f etc/brlapi.key ]; then
	chmod 755 usr/sbin/brltty-genkey
	usr/sbin/brltty-genkey etc/brlapi.key
	usr/bin/chgrp braille etc/brlapi.key
	chmod 640 etc/brlapi.key
fi
---
I assume that this fits the setting below in /etc/brtty.conf:
api-parameters Auth=group:braille

If, say, I am more lenient and allow all local connections like this:
api-parameters Host=:0

Then could I have root:root own /etc/brlapi.key and make it 644?

Is the increased security allowing only members of the braille group
worthwile? Bear in mind that I am searching a convenient default
setting for Slint, that the admin could of course change after
installation.

I have a completely different question about the coexistence of espeakup
and orca, but to make the discussions easier to follow will ask it in
another thread.

Didier


More information about the BRLTTY mailing list