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

ELOGraphics



Hello,
I use elotouch on IBM POS 4840-543. Touch is detected on port /dev/ttyS6. After update xserver-xorg-input-elographics to version 1:1.2.1-1 (on Debian stable) X's hang up. Strace "tell me", the problem is in line 808 xf86Elo.c. After change "while" to "if" touch starts working. Patch:

diff -Naur xf86-input-elographics-1.2.2/src/xf86Elo.c xf86-input-elographics-1.2.2.modif/src/xf86Elo.c --- xf86-input-elographics-1.2.2/src/xf86Elo.c 2008-06-10 21:47:13.000000000 +0200 +++ xf86-input-elographics-1.2.2.modif/src/xf86Elo.c 2008-08-21 18:43:06.000000000 +0200
@@ -807,7 +807,7 @@
  /*
   * Try to get a packet.
   */
-  while (xf86EloGetPacket(priv->packet_buf,
+  if (xf86EloGetPacket(priv->packet_buf,

Best regards
sysgone


Reply to: