]> 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)
commit2d00b5846b683877a27e4690f6aea12c61315371
tree876145ac5596b5c9141e6a98fc9e0278e8d57b78
parent215a063d2a167003131a09734ebd7ec10dbc4ecd
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