]> git.baikalelectronics.ru Git - kernel.git/commit
HID: multitouch: Disable event reporting on suspend on the Asus T101HA touchpad
authorHans de Goede <hdegoede@redhat.com>
Wed, 5 May 2021 21:39:32 +0000 (23:39 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 27 May 2021 13:40:34 +0000 (15:40 +0200)
commit821d39607e0a2467626213f2919d0ec1d8f591ba
tree876145ac5596b5c9141e6a98fc9e0278e8d57b78
parente3dbfb76527282162ac146b1565a686be3e967d1
HID: multitouch: Disable event reporting on suspend on the Asus T101HA touchpad

The Asus T101HA has a problem with spurious wakeups when the lid is
closed, this is caused by the screen sitting so close to the touchpad
that the touchpad ends up reporting touch events, causing these wakeups.

Add a quirk which disables event reporting on suspend when set, and
enable this quirk for the Asus T101HA touchpad fixing the spurious
wakeups, while still allowing the device to be woken by pressing a
key on the keyboard (which is part of the same USB device).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c