Control: reassign -1 xserver-xorg-core 2:1.19.2-1 Control: affects -1 xserver-xorg-input-elographics Control: close -1 2:1.19.4-1
On Mon, Jul 30, 2018 at 05:09:24PM +0200, Frank Heckenbach wrote: > 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); > /* This was a bug in X server 1.19 fixed in 1.19.4 with https://gitlab.freedesktop.org/xorg/xserver/-/commit/d8f63717e05ae8d820ceae74216916ebd180441d Unfortunately this bug is in the X server in stretch and won't get fixed there now that stretch is LTS, but the versions in buster and later should be fine. cu Adrian