XPost: linux.debian.bugs.dist
--ck7t6ib3p43fv3nn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Control: tags -1 + patch confirmed upstream
On Mon, Aug 28, 2017 at 07:00:58PM +0100, Benny Arana wrote:
* What led up to the situation?
After switching to wayland (since last release in testing), the suspend-resume cycle re-enables the touchpad.
I disabled the touchpad in 'mouse & touchpad' settings but after resuming from suspending the touchpad is enabled although in settings it remains disabled.
Just to test if all settings are being ignored or just the touchpad enable/disable config, I changed the default values to see if the config was going back to them but this is not the case. Just the touchpad enable/disable config is being ignored.
[...]
I just tracked this down for Ubuntu - it's fixed upstream. Here's a
patch for the libinput maintainers to apply if they'd like.
Cheers,
--
Iain Lane [
iain@orangesquash.org.uk ]
Debian Developer [
laney@debian.org ]
Ubuntu Developer [
laney@ubuntu.com ]
--ck7t6ib3p43fv3nn
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0005-touchpad-don-t-resume-a-disabled-touchpad.patch"
Content-Transfer-Encoding: quoted-printable
From 03f13ce6e854b3ff5d4b8971405a97afd66eef8e Mon Sep 17 00:00:00 2001
From: Peter Hutterer <
peter.hutterer@who-t.net>
Date: Tue, 5 Sep 2017 14:38:53 +1000
Subject: [PATCH libinput] touchpad: don't resume a disabled touchpad
Signed-off-by: Peter Hutterer <
peter.hutterer@who-t.net>
---
src/evdev-mt-touchpad.c | 44 ++++++++++++++++++----------
test/test-lid.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+), 15 deletions(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 5b8fb1ec..c0a78255 100644