[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905015: xserver-xorg-input-elographics: Xorg hangs on start when touchscreen does not answer



Package: xserver-xorg-input-elographics
Version: 1:1.4.1-1
Severity: normal
Tags: patch

See subject.

Reason: ELO_MAX_WAIT is microseconds, but xf86WaitForInput expects
milliseconds.

Patch (line numbers after #776990):

--- src/xf86Elo.c
+++ src/xf86Elo.c
@@ -459,7 +459,7 @@
      * timeout and each wrong packet.
      */
     DBG(4, ErrorF("Waiting %d ms for data from port\n", ELO_MAX_WAIT / 1000));
-    result = xf86WaitForInput(fd, ELO_MAX_WAIT);
+    result = xf86WaitForInput(fd, ELO_MAX_WAIT / 1000);
     if (result > 0) {
       ok = xf86EloGetPacket(reply, &reply_p, &sum, fd);
       /*


Reply to: