[email protected] (Lars Bjørndal) writes:
> With recent svn versions of BRLTTY, there is something horrible wrong
> with the USB support on Handy Tech Active Braille. The braille display
> isn't updated unless you press a key on the display itself. So if brltty
> is started and you type something at the command line prompt, the typed
> text isn't on the display untill you press a key on the display.
>
> I have firmware version 2.1, which is an unofficial version.
I can now confirm your problem description on a device with Firmware
2.5.
I have a quick fix, but we need to dive more into the details of this
problem to fix it sufficiently well.
--- a/Drivers/Braille/HandyTech/braille.c
+++ b/Drivers/Braille/HandyTech/braille.c
@@ -1527,6 +1527,17 @@ brl_readCommand (BrailleDisplay *brl,
KeyTableCommandContext context) {
const unsigned char *bytes =
&packet.fields.data.extended.data.bytes[0];
switch (packet.fields.data.extended.type) {
+ case HT_EXTPKT_Confirmation:
+ switch (bytes[0]) {
+ case HT_PKT_NAK:
+ updateRequired = 1;
+ case HT_PKT_ACK:
+ return EOF;
+
+ default:
+ break;
+ }
+ break;
case HT_EXTPKT_Key:
if (model->interpretByte(bytes[0])) {
updateCells(brl);
--
CYa,
⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
.''`. | Get my public key via finger mlang/[email protected]
: :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
`. `'
`- <URL:http://delysid.org/> <URL:http://www.staff.tugraz.at/mlang/>
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty