All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpiolib: acpi: Ignore GPIO 11 interrupt on Acer Nitro 16S AI
@ 2026-10-07 12:09 Abduvaliy Abdulazizov
  2026-10-16  5:26 ` Mika Westerberg
  0 siblings, 1 reply; 4+ messages in thread
From: Abduvaliy Abdulazizov @ 2026-10-07 12:09 UTC (permalink / raw)
  To: Mika Westerberg, Andy Shevchenko
  Cc: linux-gpio, linux-acpi, Linus Walleij, Bartosz Golaszewski,
	linux-kernel, Abduvaliy Abdulazizov, Trijan Koju

The Acer Nitro 16S AI (AN16S-61) has the same problem as the Acer Nitro
V 16S AI: the firmware powers the internal USB camera (0408:4059)
through GPIO 11 of AMDI0030, but also lists that pin in _AEI. Requesting
it as an input cuts the power, so the camera never enumerates. On this
model the same rail also powers the internal microphones, so they do
not work either.

Booting with gpiolib_acpi.ignore_interrupt=AMDI0030:00@11 fixes both
the camera and the microphones. Add a DMI quirk for this family too.

Tested-by: Trijan Koju <trijankoju11@gmail.com>
Assisted-by: LLM
Signed-off-by: Abduvaliy Abdulazizov <abduvaliy.hbai@gmail.com>
---
This goes on top of commit 6da1f3437435 ("gpiolib: acpi: Ignore GPIO 11
interrupt on Acer Nitro V 16S AI") in the gpio-intel fixes branch.

DMI of the tested machine:
  sys_vendor:     Acer
  product_name:   Nitro AN16S-61
  product_family: Acer Nitro 16S AI
  board_name:     EV3_SKF
  bios_version:   V1.53

 drivers/gpio/gpiolib-acpi-quirks.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/drivers/gpio/gpiolib-acpi-quirks.c b/drivers/gpio/gpiolib-acpi-quirks.c
index dbfd820..9f2ede4 100644
--- a/drivers/gpio/gpiolib-acpi-quirks.c
+++ b/drivers/gpio/gpiolib-acpi-quirks.c
@@ -359,6 +359,20 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
 			.ignore_interrupt = "AMDI0030:00@11",
 		},
 	},
+	{
+		/*
+		 * Same camera power enable on GPIO 11 as the Acer Nitro V 16S AI
+		 * above. It also powers the internal microphones.
+		 * Found in BIOS V1.53
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_FAMILY, "Acer Nitro 16S AI"),
+		},
+		.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
+			.ignore_interrupt = "AMDI0030:00@11",
+		},
+	},
 	{
 		/*
 		 * Wakeup only works when keyboard backlight is turned off
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-16 10:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07 12:09 [PATCH] gpiolib: acpi: Ignore GPIO 11 interrupt on Acer Nitro 16S AI Abduvaliy Abdulazizov
2026-10-16  5:26 ` Mika Westerberg
2026-10-16  9:02   ` Bartosz Golaszewski
2026-10-16 10:32     ` Mika Westerberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.