On Fri, Feb 10, 2023 at 05:46:36PM +0100, Werner Sembach wrote:TBH I copied the commit description from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4cb786180dfb5258ff3111181b5e4ecb1d4a297b which is for a different device having the exact same problem.
commit 1796f808e4bb ("HID: i2c-hid: acpi: Stop setting wakeup_capable")I'm not sure I understand the issue here. From what you say here it seems
changed the policy such that I2C touchpads may be able to wake up the
system by default if the system is configured as such.
However on Clevo NH5xAx/TUXEDO XA15 Gen10 there is a mistake in the ACPI
tables that the TP_ATTN# signal connected to GPIO 10 is configured as
ActiveLow and level triggered but connected to a pull up.
correct ACPI description.
I missed to reference the original discussion while copying the description: https://gitlab.freedesktop.org/drm/amd/-/issues/1722#note_1720627 (Note that it's a somewhat convoluted issue spanning multiple bugs when you scroll up from that particular linked comment, which are however irrelevant for this patch)
As soon as theI'm not against fixing this, but wouldn't be better to actually target the root
system suspends the touchpad loses power and then the system wakes up.
To avoid this problem, introduce a quirk for this model that will prevent
the wakeup capability for being set for GPIO 10.
cause and have a different quirk? Or is it me who didn't get what is the root
cause?