• Bug#873523: libinput-bin: After resuming touchpad is enabled although i

    From Benny Arana@21:1/5 to All on Mon Aug 28 21:10:01 2017
    XPost: linux.debian.bugs.dist

    Package: libinput-bin
    Version: 1.8.0-1
    Severity: normal

    Dear Maintainer,

    * 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.


    Other related packages:
    ii gnome-shell 3.22.3-3
    ii xwayland 2:1.19.3-2
    ii libinput10:amd64 1.8.0-1




    -- System Information:
    Debian Release: buster/sid
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/dash
    Init: systemd (via /run/systemd/system)

    Versions of packages libinput-bin depends on:
    ii libc6 2.24-14
    ii libudev1 234-2.3
    ii libwacom2 0.24-1

    libinput-bin recommends no packages.

    libinput-bin suggests no packages.

    -- debconf-show failed

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Iain Lane@21:1/5 to Benny Arana on Thu Sep 28 20:10:01 2017
    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