Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Ivan Afonichev <ivan.afonichev@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
The fix for bug #14109 ensures all bytes are emptied from the OS buffer
by looping until xf86WaitForInput returns 0. This patch just changes
the timeout from 1 millisecond to 0: we don't want the X server to block
if there's no more serial data.
It also removes the Vmin and Vtime options, which were making the calls
to read() block until a complete 10-byte packet buffer could be filled.
At 9600 bps, this could pause the X server for up to 9 ms. The code can
already handle partial buffers, so all we have to do is get rid of the
Vmin.
Also, if xf86EloGetPacket() returns !Success, we should continue rather
than break so the xf86WaitForInput call can decide whether to exit, in
case there's more data in the buffer.
Before the fix, glxgears was giving me about 390 FPS normally and down
to 140 FPS when dragging an empty area of the touchscreen. Now it's
basically unchanged when the touchscreen is in use (390 -> 385 FPS).
X.Org Bug 14109 <https://bugs.freedesktop.org/show_bug.cgi?id=14109>
Signed-off-by: Michael Smith <msmith@cbnco.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
X.Org Bug 23239 <http://bugs.freedesktop.org/show_bug.cgi?id=23239>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
This caused X server to access free()'d memory on exit path.
Thanks to msys.ch for providing a test machine.
|
|
|
|
|
|
This model does not reply to queries about touchscreen identification. After
opening the fd, we can skip right to enabling the device.
Red Hat Bug <https://bugzilla.redhat.com/show_bug.cgi?id=445193>
|
|
Some touchscreens supported by this driver need special handling, hence the
explicit specification of the model. Note that this commit does not actually
do anything with the information, it just sets some internal state.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
|
|
|
|
These servers do the coordinate conversion themselves, so no need to do it in
the driver.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
|
|
|
|
If you're still not running something more recent than X11 3, then you have
other issues anyway.
|
|
|
|
Followup to 72408c2404246b9cb4698bd45be439be8ced3c23.
This patch isn't perfect yet, usage of O_NONBLOCK would be preferred and some
better error handling for incomplete packages, but at least it's less broken
than without this patch.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
X.Org Bug 14109 <http://bugs.freedesktop.org/show_bug.cgi?id=14109>
|
|
|
|
Remove ChangeLog from the tree, and add a git dist hook to generate
it automatically.
|
|
|
|
|
|
X.Org Bug 14902 <http://bugs.freedesktop.org/show_bug.cgi?id=14902>
|
|
|
|
|
|
There may be more than one packet waiting for us at a time, so loop until we
don't get one anymore.
This patch is untested for lack of a device, but should fix
X.Org Bug 14109 <http:/bugs.freedesktop.org/show_bug.cgi?id=14109>
|
|
xf86_ansic.h is no longer part of the xorg hence this causes
compilations failures on some architectures
Found by: Tinderbox
|
|
If we specify a min/max value for our valuators, the X server will clip any
coordinates at these values.
This fixes the second issue reported in #13248
X.Org Bugzilla #13248 <https://bugs.freedesktop.org/show_bug.cgi?id=13248>
|
|
cur_x and cur_y are the packets we get from the deviec, but after scaling the
actual coordinates we need to only deal with x and y.
This fixes one issue reported Bug #13248.
X.Org Bugzilla #13248 <https://bugs.freedesktop.org/attachment.cgi?id=13248>
|
|
A bad configuration can result in height or width being zero. This potentially
causes a divide-by-zero error in xf86EloConvert().
Detect the bad configuration early on and produce a meaningful error message.
X.Org Bugzilla #9803 <https://bugs.freedesktop.org/show_bug.cgi?id=9803>
|
|
X.Org Bugzilla #11087 <https://bugs.freedesktop.org/show_bug.cgi?id=11087>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
|
|
|
|
|
|
|
|
|
|
substitutions to work better with BSD make
|