[SRU] [M/N] [PATCH 0/3] Fix spurious wakeup caused by Cirque touchpad

Kai-Heng Feng kai.heng.feng at canonical.com
Thu Feb 1 03:40:24 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2051896

[Impact]
Spurious wakeup event caused by Cirque touchpad, prevent the system from
sleep properly.

[Fix]
Skip SET_POWER SLEEP so there won't be any IRQ raised by the touchpad.

[Test]
Suspend the system 100 times and make sure non of the wakeup event is
caused by the touchpad and its IRQ line.

[Where problems could occur]
Logically the power consumption can increase slightly, but in reality
there isn't any noticeable change. Since the quirk only applies to one
device, there isn't much regression risk.

Hans de Goede (2):
  HID: i2c-hid: Remove I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV quirk
  HID: i2c-hid: Renumber I2C_HID_QUIRK_ defines

Kai-Heng Feng (1):
  HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system
    suspend

 drivers/hid/hid-ids.h              |  3 +++
 drivers/hid/i2c-hid/i2c-hid-core.c | 22 +++++++++++-----------
 2 files changed, 14 insertions(+), 11 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list