libinput 1.3.1

This commit is contained in:
Peter Hutterer 2016-05-30 09:58:20 +10:00
parent 9fe571ae99
commit 020e2574ca
7 changed files with 17 additions and 123 deletions

1
.gitignore vendored
View File

@ -42,3 +42,4 @@
/libinput-1.2.902.tar.xz
/libinput-1.2.903.tar.xz
/libinput-1.3.0.tar.xz
/libinput-1.3.1.tar.xz

View File

@ -1,46 +0,0 @@
From 2f5231cc88fccf389a78270d827f6c9201b86794 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed, 18 May 2016 07:35:36 +1000
Subject: [PATCH libinput] touchpad: only use negative pressure change check on
Lenovo *50 and *60 series
This was introduced for bug 94379 - an X1 Carbon 3rd. Other touchpads have
different pressure change ranges, causing this condition to trigger
randomly and resulting in a jerky pointer motion.
For now, reduce the check to the *50 and *60 series touchpads until we have
data for more touchpads that we can add one-by-one.
https://bugs.freedesktop.org/show_bug.cgi?id=95393
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
---
src/evdev-mt-touchpad.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 4c8c3a3..c854043 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -928,6 +928,7 @@ tp_detect_jumps(const struct tp_dispatch *tp, struct tp_touch *t)
static void
tp_process_state(struct tp_dispatch *tp, uint64_t time)
{
+ struct evdev_device *device = tp->device;
struct tp_touch *t;
unsigned int i;
bool restart_filter = false;
@@ -953,7 +954,8 @@ tp_process_state(struct tp_dispatch *tp, uint64_t time)
if (!t->dirty)
continue;
- if (t->pressure_delta < -7)
+ if ((device->model_flags & EVDEV_MODEL_LENOVO_T450_TOUCHPAD) &&
+ t->pressure_delta < -7)
tp_motion_history_reset(t);
if (tp_detect_jumps(tp, t)) {
--
2.7.4

View File

@ -1,30 +0,0 @@
From deeee075c2746b24bdda1e2211a5f87837090120 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu, 19 May 2016 14:40:33 +1000
Subject: [PATCH libinput] udev: add the Dell Lattitude E5420 to the wobbly
touchpads
https://bugzilla.redhat.com/show_bug.cgi?id=1336084
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
udev/90-libinput-model-quirks.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
index 147fec2..22179bb 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
@@ -30,6 +30,9 @@ libinput:name:*AlpsPS/2 ALPS DualPoint TouchPad:fwversion:310
libinput:name:*AlpsPS/2 ALPS GlidePoint:fwversion:310
LIBINPUT_MODEL_ALPS_RUSHMORE=1
+libinput:name:*AlpsPS/2 ALPS DualPoint TouchPad:dmi:*svnDellInc.:pnLatitudeE5420*
+ LIBINPUT_MODEL_WOBBLY_TOUCHPAD=1
+
##########################################
# Apple
##########################################
--
2.7.4

View File

@ -1,28 +0,0 @@
From 20c194de524408b2c2cc9662388e324540bbd3b1 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu, 19 May 2016 15:04:24 +1000
Subject: [PATCH libinput] udev: add the Yoga 2 to the wobbly touchpads
https://bugs.freedesktop.org/show_bug.cgi?id=95290
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
udev/90-libinput-model-quirks.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
index f1ab211..a066df0 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
@@ -117,6 +117,8 @@ libinput:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*:pvrThinkPadX1Carbon3rd
# Lenovo E530
libinput:name:*SynPS/2 Synaptics TouchPad*:dmi:*svnLENOVO*pvrThinkPadEdgeE530:*
+# Lenovo Yoga 2013
+libinput:name:*SynPS/2 Synaptics TouchPad*:dmi:*svnLENOVO*pvrLenovoYoga213:*
LIBINPUT_MODEL_WOBBLY_TOUCHPAD=1
##########################################
--
2.7.4

View File

@ -1,27 +1,26 @@
From 07cca736d9104610978723f9050ba7ce603c62db Mon Sep 17 00:00:00 2001
From 2a79f81f6f59a3687fdf9d196a7e881a182418f2 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon, 16 May 2016 10:26:01 +1000
Subject: [PATCH libinput] udev: the lenovo E530 has a wobbly touchpad
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 07cca736d9104610978723f9050ba7ce603c62db)
---
udev/90-libinput-model-quirks.hwdb | 4 ++++
1 file changed, 4 insertions(+)
udev/90-libinput-model-quirks.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
index 147fec2..f1ab211 100644
index 88f3243..c56f23e 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
@@ -115,6 +115,10 @@ libinput:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*:pvrThinkPad??60*:
libinput:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*:pvrThinkPadX1Carbon3rd:*
LIBINPUT_MODEL_LENOVO_T450_TOUCHPAD=1
@@ -121,6 +121,8 @@ libinput:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*:pvrThinkPadX1Carbon3rd
# Lenovo Yoga 2013
libinput:name:*SynPS/2 Synaptics TouchPad*:dmi:*svnLENOVO*pvrLenovoYoga213:*
+# Lenovo E530
+libinput:name:*SynPS/2 Synaptics TouchPad*:dmi:*svnLENOVO*pvrThinkPadEdgeE530:*
+ LIBINPUT_MODEL_WOBBLY_TOUCHPAD=1
+
##########################################
# Synaptics
LIBINPUT_MODEL_WOBBLY_TOUCHPAD=1
##########################################
--
2.7.4

View File

@ -4,8 +4,8 @@
%global gitversion 58abea394
Name: libinput
Version: 1.3.0
Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Version: 1.3.1
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Summary: Input device library
License: MIT
@ -21,12 +21,7 @@ Source0: http://www.freedesktop.org/software/libinput/libinput-%{version}
# Not upstream, keep until kernel 4.2 or 4.1.x with dbf3c37086
Patch01: 0001-touchpad-serial-synaptics-need-to-fake-new-touches-o.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1335249
Patch02: 0001-touchpad-only-use-negative-pressure-change-check-on-.patch
Patch03: 0001-udev-the-lenovo-E530-has-a-wobbly-touchpad.patch
Patch04: 0001-udev-add-the-Yoga-2-to-the-wobbly-touchpads.patch
Patch05: 0001-udev-add-the-Dell-Lattitude-E5420-to-the-wobbly-touc.patch
BuildRequires: git
BuildRequires: autoconf automake libtool pkgconfig
@ -104,6 +99,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%changelog
* Mon May 30 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.1-1
- libinput 1.3.1
* Fri May 20 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.0-3
- Stop pointer jitter on the Dell E5420, E530 and Lenovo Yoga 2

View File

@ -1 +1 @@
5f8bc2c746bfbc9454143f78e5b477a9 libinput-1.3.0.tar.xz
458fc483f7227d3c4c330f4abd6dfa77 libinput-1.3.1.tar.xz