# \[PATCH 0/4\] HID: multitouch: Disable event reporting on suspend when the device is not a wakeup-source

- From: Hans de Goede \<hidden\>
- Date: 2021-05-29 15:14:34 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/05/8933091
- Thread: https://ratatoskr.run/linux-input/2021/05/8933091/t.md

```text
Hi Jiri, Benjamin,

As discussed here is a complete rewrite of my serious to have
hid-multitouch disable touch and button-press reporting on hid-mt
devices during suspend when the device is not configured as
a wakeup-source.

Regards,

Hans

Hans de Goede (4):
  HID: core: Add hid_hw_may_wakeup() function
  HID: usbhid: Implement may_wakeup ll-driver callback
  HID: logitech-dj: Implement may_wakeup ll-driver callback
  HID: multitouch: Disable event reporting on suspend when the device is
    not a wakeup-source

 drivers/hid/hid-logitech-dj.c |  8 ++++++++
 drivers/hid/hid-multitouch.c  |  3 ++-
 drivers/hid/usbhid/hid-core.c |  8 ++++++++
 include/linux/hid.h           | 18 ++++++++++++++++++
 4 files changed, 36 insertions(+), 1 deletion(-)

-- 
2.31.1

```
