[BRLTTY] Using brlapi : First operation requiring to be WRITE when using Freedom Scientific Focus 14

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Jan 14 17:58:15 EST 2014


Hello,

Siju Samuel, le Tue 14 Jan 2014 16:48:30 -0600, a écrit :
> It looks like after opening connection and entering tty mode, need to perform
> at least one write first to do subsequent read/write operations. Is this
> expected.

Possibly. Remember that by default (release mode), on windows, brltty
deinitializes the driver when the focus is on some non-console window,
after having printed that it's not a console window. It thus means that
brltty won't read keypresses any more. A brlapi client being connected
is not enough for making brltty initialize the driver again to get
keypresses. It's only if the client makes some output that brltty will
consider that it has something useful to show, and thus keep the driver
opened and get keypresses.

Of course, simply switching to non-release mode in the configuration
file will avoid the issue.

Samuel


More information about the BRLTTY mailing list