[email protected], le Tue 12 Oct 2010 13:26:39 +0200,
a écrit :
> Now, braille output does work, but braille input still doesn't. When I
> press braille keys, brlapi_readKey (1, &key) does not return.
>
> I have attached the debug.log file
Dave, could you apply the attached patch to get more debugging
information?
Samuel
Index: brlapi_server.c
===================================================================
--- brlapi_server.c (révision 5403)
+++ brlapi_server.c (copie de travail)
@@ -2348,6 +2348,7 @@
}
if (command != EOF) {
clientCode = cmdBrlttyToBrlapi(command, retainDots);
+ logMessage(LOG_DEBUG, "API got command %08x, thus client code
%016"BRLAPI_PRIxKEYCODE, command, clientCode);
/* nobody needs the raw code */
if ((c = whoGetsKey(&ttys,clientCode,BRL_COMMANDS))) {
int passKey;
@@ -2355,6 +2356,7 @@
handleAutorepeat(&command, &c->repeatState);
/* Update brlapi equivalent */
clientCode = cmdBrlttyToBrlapi(command, retainDots);
+ logMessage(LOG_DEBUG, "API got command %08x from repeat engine, thus
client code %016"BRLAPI_PRIxKEYCODE, command, clientCode);
/* Check whether the client really wants the result of repetition */
pthread_mutex_lock(&c->acceptedKeysMutex);
passKey = inKeyrangeList(c->acceptedKeys,clientCode) != NULL;
_______________________________________________
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