[BRLTTY] Brltty woes on Centos 7

Dave Mielke dave at mielke.cc
Thu Mar 2 17:56:23 EST 2017


And I forgot to attach the patch. Here it is.

-- 
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.org/
-------------- next part --------------
diff --git a/Drivers/Screen/Linux/screen.c b/Drivers/Screen/Linux/screen.c
index fd18276..54a507f 100644
--- a/Drivers/Screen/Linux/screen.c
+++ b/Drivers/Screen/Linux/screen.c
@@ -385,7 +385,9 @@ controlConsole (int *fd, int vt, int operation, void *argument) {
 
   if (result == -1) {
     if (errno == EIO) {
-      logSystemError("control[console]");
+      logMessage(LOG_ERR,
+                 "console control error %d: fd=%d vt=%d op=0X%04X: %s",
+                 errno, *fd, vt, operation, strerror(errno));
 
       if (openConsole(fd, vt)) {
         result = ioctl(*fd, operation, argument);


More information about the BRLTTY mailing list