[BRLTTY] Brltty closes when the braille device is disconnected
Samuel Thibault
samuel.thibault at ens-lyon.org
Wed Jun 27 13:12:25 EDT 2012
Hello,
Eric Scheibler, le Wed 27 Jun 2012 18:51:35 +0200, a écrit :
> the running instance of Brltty always exits when I disconnect the attached
> braille device.
Which is not supposed to happen. I guess that might just be another
case of the bug we have seen just after the 4.4 release. Could you try
the attached patch?
Samuel
-------------- next part --------------
r6572 | dave | 2012-06-18 06:06:49 +0200 (lun. 18 juin 2012) | 2 lignes
api_unlink() should restore the server's state to exactly what it was when api_link() was first called. (st)
Index: a/Programs/brlapi_server.c
===================================================================
--- a/Programs/brlapi_server.c (révision 6571)
+++ b/Programs/brlapi_server.c (révision 6572)
@@ -2586,6 +2586,7 @@
pthread_mutex_lock(&driverMutex);
if (!coreActive && driverConstructed)
suspendDriver(disp);
+ driverConstructed=0;
pthread_mutex_unlock(&driverMutex);
disp = NULL;
}
More information about the BRLTTY
mailing list