[BRLTTY] powerpc linux machine running brltty on usb switch

Dave Mielke dave at mielke.cc
Sun Aug 24 22:41:07 EDT 2014


[quoted lines by Cheryl Homiak on 2014/08/24 at 14:25 -0500]

>My problem arises with brltty on the powerpc machine running linux. When 
>started it works. However when the switch is used to switch from that machine 
>and then back again, the scanner and keyboard work but the braille display 
>does not respond to the change to that machine though it responds to changes 
>to all other machines. Once I have switched to the powerpc machine, the 
>braille display still shows what was on the last machine but is no longer 
>active with that machine either. However, as soon as I press a key (a 
>keystroke not enter) on the keyboard also attached to the switch or if I type 
>a character using a braillelite attached separately to the computer, then the 
>Hims Braille Edge immediately becomes fully operable on the linux machine. 

Please try this patch (attached as usb-1.patch).

-- 
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.com/
-------------- next part --------------
diff --git a/Programs/usb.c b/Programs/usb.c
index af2725f..0dd3127 100644
--- a/Programs/usb.c
+++ b/Programs/usb.c
@@ -574,7 +574,7 @@ void
 usbSetInputError (UsbEndpoint *endpoint, int error) {
   if (!usbHaveInputError(endpoint)) {
     endpoint->direction.input.pipe.error = error;
-    usbCancelInputMonitor(endpoint);
+  //usbCancelInputMonitor(endpoint);
     closeFile(&endpoint->direction.input.pipe.input);
   }
 }


More information about the BRLTTY mailing list