Hello community,
here is the log from the commit of package xorg-x11-driver-input for
openSUSE:Factory
checked in at Fri Sep 2 10:07:14 CEST 2011.
--------
--- xorg-x11-driver-input/xorg-x11-driver-input.changes 2011-05-06
12:24:52.000000000 +0200
+++
/mounts/work_src_done/STABLE/xorg-x11-driver-input/xorg-x11-driver-input.changes
2011-09-01 15:43:12.000000000 +0200
@@ -1,0 +2,15 @@
+Thu Sep 1 13:33:38 UTC 2011 - [email protected]
+
+-
U_xf86-input-synaptics_Drain-XRecord-connection-of-any-events-after-handlin.patch
+ * It happened from time to time that syndaemon takes 100% of the
+ CPU. The patch fixes that issue. (bnc #710864)
+
+-------------------------------------------------------------------
+Fri Jul 15 15:45:07 UTC 2011 - [email protected]
+
+- updated to xf86-input-wacom 0.11.1
+ * Just a few minor patches on top of 0.11, most notably the
+ cw/ccw rotation swap and the addition of 0xE6 tablet devices
+ to the list of known devices.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
xf86-input-wacom-0.10.8.tar.bz2
New:
----
U_xf86-input-synaptics_Drain-XRecord-connection-of-any-events-after-handlin.patch
xf86-input-wacom-0.11.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xorg-x11-driver-input.spec ++++++
--- /var/tmp/diff_new_pack.YrfsBh/_old 2011-09-02 10:06:44.000000000 +0200
+++ /var/tmp/diff_new_pack.YrfsBh/_new 2011-09-02 10:06:44.000000000 +0200
@@ -20,10 +20,10 @@
Name: xorg-x11-driver-input
#!BuildIgnore: xorg-x11-Mesa xorg-x11-Mesa-devel
-BuildRequires: Mesa-devel pkgconfig udev xorg-x11-proto-devel
xorg-x11-server-sdk
+BuildRequires: Mesa-devel libudev-devel pkgconfig udev xorg-x11-proto-devel
xorg-x11-server-sdk
Url: http://xorg.freedesktop.org/
Version: 7.6
-Release: 33
+Release: 36
License: MIT License (or similar)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/X11/Servers/XF86_4
@@ -49,7 +49,7 @@
Source27: xf86-input-void-1.3.1.tar.bz2
Source29: xf86-input-synaptics-1.3.0.tar.bz2
Source30: xf86-input-evdev-2.6.0.tar.bz2
-Source33: xf86-input-wacom-0.10.8.tar.bz2
+Source33: xf86-input-wacom-0.11.1.tar.bz2
Source42: 11-mouse.conf
Source45: 65-xorg-wacom.rules
Patch2: xf86-input-jamstudio.diff
@@ -70,6 +70,7 @@
Patch56: xf86-input-synaptics-move-threshold.diff
Patch57: xf86-input-synaptics-filter-bogus-coord.diff
Patch58: xf86-input-wacom-no-n-trig.diff
+Patch59:
U_xf86-input-synaptics_Drain-XRecord-connection-of-any-events-after-handlin.patch
%description
This package contains X.Org input drivers.
@@ -104,6 +105,7 @@
%patch55 -p1
%patch56 -p1
%patch57 -p1
+%patch59 -p1
popd
pushd xf86-input-fpit-*
%patch39 -p1
++++++
U_xf86-input-synaptics_Drain-XRecord-connection-of-any-events-after-handlin.patch
++++++
>From bdc9c7cf9767bda77c690cb4211f6f6cb4567748 Mon Sep 17 00:00:00 2001
From: Chase Douglas <[email protected]>
Date: Fri, 15 Apr 2011 15:29:57 -0400
Subject: [PATCH] Drain XRecord connection of any events after handling replies
If the X server sends an event to the XRecord connection the event
will never be handled. This will cause the event queue to fill up in
Xlib and lead to syndaemon running away at 100% cpu usage.
This change drains any events from the connection. It's not a fix for
the underlying bug in the server or Xlib, but it does paper over the
issue for now.
https://bugs.launchpad.net/bugs/754470
http://bugs.freedesktop.org/show_bug.cgi?id=31921
Signed-off-by: Chase Douglas <[email protected]>
Signed-off-by: Peter Hutterer <[email protected]>
---
tools/syndaemon.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/tools/syndaemon.c b/tools/syndaemon.c
index 9779935..47e0e6a 100644
--- a/tools/syndaemon.c
+++ b/tools/syndaemon.c
@@ -421,6 +421,14 @@ void record_main_loop(Display* display, double idle_time) {
XRecordProcessReplies(dpy_data);
+ /* If there are any events left over, they are in error. Drain them
+ * from the connection queue so we don't get stuck. */
+ while (XEventsQueued(dpy_data, QueuedAlready) > 0) {
+ XEvent event;
+ XNextEvent(dpy_data, &event);
+ fprintf(stderr, "bad event received, major opcode %d\n",
event.type);
+ }
+
if (!ignore_modifier_keys && cbres.key_event) {
disable_event = 1;
}
--
1.7.4.1
++++++ xf86-input-wacom-0.10.8.tar.bz2 -> xf86-input-wacom-0.11.1.tar.bz2 ++++++
++++ 43323 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]