* [PATCH] gpiolib: acpi: Add quirk for Dell Precision 7780
@ 2025-12-05 22:32 Askar Safin
2025-12-06 10:46 ` Bartosz Golaszewski
2025-12-06 16:02 ` Andy Shevchenko
0 siblings, 2 replies; 3+ messages in thread
From: Askar Safin @ 2025-12-05 22:32 UTC (permalink / raw)
To: Mika Westerberg, Andy Shevchenko, Linus Walleij,
Bartosz Golaszewski, linux-gpio, linux-acpi, linux-kernel
Cc: regressions, Dell.Client.Kernel, Mario Limonciello, patches,
Askar Safin, stable
Dell Precision 7780 often wakes up on its own from suspend. Sometimes
wake up happens immediately (i. e. within 7 seconds), sometimes it happens
after, say, 30 minutes.
Fixes: 1796f808e4bb ("HID: i2c-hid: acpi: Stop setting wakeup_capable")
Reported-by: Askar Safin <safinaskar@zohomail.com>
Link: https://lore.kernel.org/linux-i2c/197ae95ffd8.dc819e60457077.7692120488609091556@zohomail.com/
Cc: <stable@vger.kernel.org>
Tested-by: Askar Safin <safinaskar@gmail.com>
Signed-off-by: Askar Safin <safinaskar@gmail.com>
---
drivers/gpio/gpiolib-acpi-quirks.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/drivers/gpio/gpiolib-acpi-quirks.c b/drivers/gpio/gpiolib-acpi-quirks.c
index 7b95d1b03361..a0116f004975 100644
--- a/drivers/gpio/gpiolib-acpi-quirks.c
+++ b/drivers/gpio/gpiolib-acpi-quirks.c
@@ -370,6 +370,28 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
.ignore_wake = "ASCP1A00:00@8",
},
},
+ {
+ /*
+ * Spurious wakeups, likely from touchpad controller
+ * Dell Precision 7780
+ * Found in BIOS 1.24.1
+ *
+ * Found in touchpad firmware, installed by Dell Touchpad Firmware Update Utility version 1160.4196.9, A01
+ * ( Dell-Touchpad-Firmware-Update-Utility_VYGNN_WIN64_1160.4196.9_A00.EXE ),
+ * released on 11 Jul 2024
+ *
+ * https://lore.kernel.org/linux-i2c/197ae95ffd8.dc819e60457077.7692120488609091556@zohomail.com/
+ */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_FAMILY, "Precision"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7780"),
+ DMI_MATCH(DMI_BOARD_NAME, "0C6JVW"),
+ },
+ .driver_data = &(struct acpi_gpiolib_dmi_quirk) {
+ .ignore_wake = "VEN_0488:00@355",
+ },
+ },
{} /* Terminating entry */
};
base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449 (v6.18)
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] gpiolib: acpi: Add quirk for Dell Precision 7780
2025-12-05 22:32 [PATCH] gpiolib: acpi: Add quirk for Dell Precision 7780 Askar Safin
@ 2025-12-06 10:46 ` Bartosz Golaszewski
2025-12-06 16:02 ` Andy Shevchenko
1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2025-12-06 10:46 UTC (permalink / raw)
To: Askar Safin
Cc: Mika Westerberg, Andy Shevchenko, Linus Walleij,
Bartosz Golaszewski, linux-gpio, linux-acpi, linux-kernel,
regressions, Dell.Client.Kernel, Mario Limonciello, patches,
Askar Safin, stable
Hi!
Thanks for the patch.
On Fri, 5 Dec 2025 23:32:42 +0100, Askar Safin <safinaskar@gmail.com> said:
> Dell Precision 7780 often wakes up on its own from suspend. Sometimes
> wake up happens immediately (i. e. within 7 seconds), sometimes it happens
> after, say, 30 minutes.
>
> Fixes: 1796f808e4bb ("HID: i2c-hid: acpi: Stop setting wakeup_capable")
> Reported-by: Askar Safin <safinaskar@zohomail.com>
> Link: https://lore.kernel.org/linux-i2c/197ae95ffd8.dc819e60457077.7692120488609091556@zohomail.com/
> Cc: <stable@vger.kernel.org>
> Tested-by: Askar Safin <safinaskar@gmail.com>
> Signed-off-by: Askar Safin <safinaskar@gmail.com>
Please don't add Tested-by, Reported-by, etc. if you're the author of the.
Tested-by should be added by someone else who tested your patch, it doesn't
make much sense otherwise because I sure do expect you test your changes if
you have access to the right hardware. :)
> ---
> drivers/gpio/gpiolib-acpi-quirks.c | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/drivers/gpio/gpiolib-acpi-quirks.c b/drivers/gpio/gpiolib-acpi-quirks.c
> index 7b95d1b03361..a0116f004975 100644
> --- a/drivers/gpio/gpiolib-acpi-quirks.c
> +++ b/drivers/gpio/gpiolib-acpi-quirks.c
> @@ -370,6 +370,28 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
> .ignore_wake = "ASCP1A00:00@8",
> },
> },
> + {
> + /*
> + * Spurious wakeups, likely from touchpad controller
> + * Dell Precision 7780
> + * Found in BIOS 1.24.1
> + *
> + * Found in touchpad firmware, installed by Dell Touchpad Firmware Update Utility version 1160.4196.9, A01
> + * ( Dell-Touchpad-Firmware-Update-Utility_VYGNN_WIN64_1160.4196.9_A00.EXE ),
> + * released on 11 Jul 2024
> + *
> + * https://lore.kernel.org/linux-i2c/197ae95ffd8.dc819e60457077.7692120488609091556@zohomail.com/
> + */
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> + DMI_MATCH(DMI_PRODUCT_FAMILY, "Precision"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7780"),
> + DMI_MATCH(DMI_BOARD_NAME, "0C6JVW"),
> + },
> + .driver_data = &(struct acpi_gpiolib_dmi_quirk) {
> + .ignore_wake = "VEN_0488:00@355",
> + },
> + },
> {} /* Terminating entry */
> };
>
Looks good to me, but I'll give GPIO ACPI maintainers time to chime in.
Bart
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] gpiolib: acpi: Add quirk for Dell Precision 7780
2025-12-05 22:32 [PATCH] gpiolib: acpi: Add quirk for Dell Precision 7780 Askar Safin
2025-12-06 10:46 ` Bartosz Golaszewski
@ 2025-12-06 16:02 ` Andy Shevchenko
1 sibling, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2025-12-06 16:02 UTC (permalink / raw)
To: Askar Safin
Cc: Mika Westerberg, Linus Walleij, Bartosz Golaszewski, linux-gpio,
linux-acpi, linux-kernel, regressions, Dell.Client.Kernel,
Mario Limonciello, patches, Askar Safin, stable
On Fri, Dec 05, 2025 at 10:32:42PM +0000, Askar Safin wrote:
> Dell Precision 7780 often wakes up on its own from suspend. Sometimes
> wake up happens immediately (i. e. within 7 seconds), sometimes it happens
> after, say, 30 minutes.
Thanks for the patch, it looks quite good. See my comments below.
...
> Reported-by: Askar Safin <safinaskar@zohomail.com>
> Tested-by: Askar Safin <safinaskar@gmail.com>
I believe it's the same person in both cases as the author of the patch.
As Bart said, just drop these tags, it makes little sense to have them.
...
> + /*
> + * Spurious wakeups, likely from touchpad controller
> + * Dell Precision 7780
> + * Found in BIOS 1.24.1
Not sure if we also want BIOS version, probably it's more important than Board
Name, but okay, we may not know without trying if any other users need the same
quirk or will suffer from it (if BIOS version is different).
> + * Found in touchpad firmware, installed by Dell Touchpad Firmware Update Utility version 1160.4196.9, A01
> + * ( Dell-Touchpad-Firmware-Update-Utility_VYGNN_WIN64_1160.4196.9_A00.EXE ),
> + * released on 11 Jul 2024
> + *
> + * https://lore.kernel.org/linux-i2c/197ae95ffd8.dc819e60457077.7692120488609091556@zohomail.com/
> + */
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> + DMI_MATCH(DMI_PRODUCT_FAMILY, "Precision"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7780"),
> + DMI_MATCH(DMI_BOARD_NAME, "0C6JVW"),
> + },
> + .driver_data = &(struct acpi_gpiolib_dmi_quirk) {
> + .ignore_wake = "VEN_0488:00@355",
> + },
> + },
With tags removed, feel free to add my
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Note, it's your responsibility to carry the given tags as long as there were
no significant changes in the patch. That said, I expect to see a v2
without your 2 tags and with mine that I gave above. No code changes for now.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-06 16:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 22:32 [PATCH] gpiolib: acpi: Add quirk for Dell Precision 7780 Askar Safin
2025-12-06 10:46 ` Bartosz Golaszewski
2025-12-06 16:02 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).