So, I don't think there is any problem on the gnome-control-center side: it just sets the org.gnome.desktop.peripherals.touchpad/send-events GSetting key to disabled, and that is persisting over sleeps.
The code in mutter watches this key, and calls MetaInputSettings::set_send_events() on each touchpad device, and ensures it is called on each new input device. https://git.gnome.org/browse/mutter/tree/src/backends/meta-input- settings.c#n667 In a Wayland session, this calls libinput_device_config_send_events_set_mode(): https://git.gnome.org/browse/mutter/tree/src/backends/native/meta-input- settings-native.c#n36 The touchpad implementation of this is found here: https://cgit.freedesktop.org/wayland/libinput/tree/src/evdev-mt- touchpad.c#n3089 ... which calls tp_suspend: https://cgit.freedesktop.org/wayland/libinput/tree/src/evdev-mt- touchpad.c#n1670 Which will either leave the touchpad enabled to support soft buttons, or call evdev_device_suspend() otherwise, which closes the underlying device. Looking in /proc, gnome-shell definitely doesn't have the touchpad evdev device open when I disable the touchpad, but somehow opens it again after resume. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1715479 Title: Touchpad won't stay disabled after resuming from suspend Status in gnome-settings-daemon package in Ubuntu: Confirmed Status in gnome-shell package in Ubuntu: Confirmed Bug description: I've disabled my touchpad using the mouse and touchpad control panel however it does not last very long i.e. after I've disabled it, it somehow becomes enabled even though the control panel continues to show it as disabled. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: gnome-shell 3.25.91-0ubuntu3 ProcVersionSignature: Ubuntu 4.12.0-12.13-generic 4.12.8 Uname: Linux 4.12.0-12-generic x86_64 ApportVersion: 2.20.7-0ubuntu1 Architecture: amd64 CurrentDesktop: GNOME Date: Wed Sep 6 12:47:26 2017 DisplayManager: gdm3 InstallationDate: Installed on 2016-01-22 (593 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160117) SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1715479/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp