Hello community,

here is the log from the commit of package xf86-input-evdev for 
openSUSE:Factory checked in at 2016-01-11 19:10:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-input-evdev (Old)
 and      /work/SRC/openSUSE:Factory/.xf86-input-evdev.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xf86-input-evdev"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-input-evdev/xf86-input-evdev.changes        
2015-11-18 22:33:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xf86-input-evdev.new/xf86-input-evdev.changes   
2016-01-11 19:10:59.000000000 +0100
@@ -1,0 +2,9 @@
+Fri Jan  8 11:20:21 UTC 2016 - sndir...@suse.com
+
+- Update to version 2.10.1
+  Only one change over 2.10, affecting some devices with absolute axes but not
+  ABS_X/ABS_Y. Previously, those devices had the first to axes mapped to axes
+  0 and 1 and thus some random axes was interpreted as x/y coordinate. With
+  this release, axes 0 and 1 are reserved for x/y axes only.
+
+-------------------------------------------------------------------

Old:
----
  xf86-input-evdev-2.10.0.tar.bz2
  xf86-input-evdev-2.10.0.tar.bz2.sig

New:
----
  xf86-input-evdev-2.10.1.tar.bz2
  xf86-input-evdev-2.10.1.tar.bz2.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xf86-input-evdev.spec ++++++
--- /var/tmp/diff_new_pack.XRtLnC/_old  2016-01-11 19:11:00.000000000 +0100
+++ /var/tmp/diff_new_pack.XRtLnC/_new  2016-01-11 19:11:00.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xf86-input-evdev
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           xf86-input-evdev
-Version:        2.10.0
+Version:        2.10.1
 Release:        0
 Summary:        Generic Linux input driver for the Xorg X server
 License:        MIT

++++++ xf86-input-evdev-2.10.0.tar.bz2 -> xf86-input-evdev-2.10.1.tar.bz2 ++++++
++++ 20050 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xf86-input-evdev-2.10.0/ChangeLog new/xf86-input-evdev-2.10.1/ChangeLog
--- old/xf86-input-evdev-2.10.0/ChangeLog       2015-10-28 05:29:32.000000000 
+0100
+++ new/xf86-input-evdev-2.10.1/ChangeLog       2016-01-08 06:13:11.000000000 
+0100
@@ -1,3 +1,31 @@
+commit 6a3beab6137b262fc847093ed5fa51ff70df6a21
+Author: Peter Hutterer <peter.hutte...@who-t.net>
+Date:   Fri Jan 8 15:11:59 2016 +1000
+
+    evdev 2.10.1
+    
+    Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
+
+commit d7e61a7074b802b49f57549530b289bbaa0a4855
+Author: Peter Hutterer <peter.hutte...@who-t.net>
+Date:   Tue Nov 10 14:35:51 2015 +1000
+
+    Only map x and y to axes 0 and 1
+    
+    The Logitech G600 has one device with all axes north of ABS_MISC. The 
current
+    code assigns ABS_MISC as first axis to map to axis 0, i.e. x. On button 
press,
+    one node sends the BTN_LEFT but the other node sends an ABS_MISC with a 1 0
+    value. ABS_MISC is mapped to axis 0, this moves the pointer to (0, y) on
+    every button click.
+    
+    Avoid this by simply mapping any axis other than x/y to at least axis 3, 
and
+    make sure we only override the MT 0/1 axes when we actually have MT axes.
+    
+    https://bugs.freedesktop.org/show_bug.cgi?id=92856
+    
+    Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
+    Reviewed-by: Keith Packard <kei...@keithp.com>
+
 commit 01e7ac48546d4534fa420ea1873214e738ea125d
 Author: Peter Hutterer <peter.hutte...@who-t.net>
 Date:   Wed Oct 28 14:28:20 2015 +1000
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xf86-input-evdev-2.10.0/config.h.in new/xf86-input-evdev-2.10.1/config.h.in
--- old/xf86-input-evdev-2.10.0/config.h.in     2015-10-28 05:27:43.000000000 
+0100
+++ new/xf86-input-evdev-2.10.1/config.h.in     2016-01-08 06:12:13.000000000 
+0100
@@ -30,8 +30,7 @@
 /* Define to 1 if you have the <unistd.h> header file. */
 #undef HAVE_UNISTD_H
 
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
-   */
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
 #undef LT_OBJDIR
 
 /* Name of package */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xf86-input-evdev-2.10.0/configure.ac 
new/xf86-input-evdev-2.10.1/configure.ac
--- old/xf86-input-evdev-2.10.0/configure.ac    2015-10-28 05:27:24.000000000 
+0100
+++ new/xf86-input-evdev-2.10.1/configure.ac    2016-01-08 06:11:57.000000000 
+0100
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-input-evdev],
-        [2.10.0],
+        [2.10.1],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         [xf86-input-evdev])
 AC_CONFIG_SRCDIR([Makefile.am])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xf86-input-evdev-2.10.0/src/evdev.c new/xf86-input-evdev-2.10.1/src/evdev.c
--- old/xf86-input-evdev-2.10.0/src/evdev.c     2015-10-26 22:45:58.000000000 
+0100
+++ new/xf86-input-evdev-2.10.1/src/evdev.c     2015-12-15 04:20:44.000000000 
+0100
@@ -1377,7 +1377,7 @@
     }
     atoms = malloc((pEvdev->num_vals + num_mt_axes) * sizeof(Atom));
 
-    i = 0;
+    i = 2;
     for (axis = ABS_X; i < MAX_VALUATORS && axis <= ABS_MAX; axis++) {
         int j;
         pEvdev->abs_axis_map[axis] = -1;
@@ -1385,9 +1385,14 @@
             is_blacklisted_axis(axis))
             continue;
 
-        mapping = i;
+        if (axis == ABS_X)
+            mapping = 0;
+        else if (axis == ABS_Y)
+            mapping = 1;
+        else
+            mapping = i;
 
-        for (j = 0; j < ArrayLength(mt_axis_mappings); j++)
+        for (j = 0; !pEvdev->fake_mt && j < ArrayLength(mt_axis_mappings); j++)
         {
             if (mt_axis_mappings[j].code == axis)
                 mt_axis_mappings[j].mapping = mapping;



Reply via email to