Skip to contentSkip to conversation

gpiolib: acpi: Add quirk for ASUS ROG Strix G614 series

PATCH Superseded Marco Scardovi 7 participants 29 messages Jun 16 – Jun 25

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpiolib: acpi: Add quirk for ASUS ROG Strix G614 series

The ASUS ROG Strix G16 G614 series laptops experience a long boot delay of approximately 36 seconds. This happens because the system firmware triggers a slow/hanging ActiveBoth GPIO interrupt handler at boot time.

Even though commit 3bb62e3f99a5 ("gpiolib: acpi: Only trigger ActiveBoth interrupts on boot") restricted boot-time execution to ActiveBoth edge events, the problematic interrupt on these laptops is configured as ActiveBoth. Consequently, the handler is still executed at boot and the boot process stalls.

Fix the delay by adding a DMI quirk to disable edge event execution at boot for the ASUS ROG Strix G16 G614 family.

Assisted-by Antigravity:gemini-3.5-flash
---
 drivers/gpio/gpiolib-acpi-quirks.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/gpio/gpiolib-acpi-quirks.c +14 -0
index a0116f004975..fa0f03bd51af 100644
@@ -392,6 +392,20 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
 			.ignore_wake = "VEN_0488:00@355",
 		},
 	},
+	{
+		/*
+		 * ASUS ROG Strix G614 series laptops experience a long boot
+		 * delay (approx. 36 seconds) due to a slow/hanging ActiveBoth
+		 * GPIO interrupt handler executing at boot.
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ROG Strix G16 G614"),
+		},
+		.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
+			.no_edge_events_on_boot = true,
+		},
+	},
 	{} /* Terminating entry */
 };
 
Signature · 1 line
2.54.0
maintainer
#1 lore raw
Quoted 3 lines · Marco Scardovi

The ASUS ROG Strix G16 G614 series laptops experience a long boot delay of approximately 36 seconds. This happens because the system firmware triggers a slow/hanging ActiveBoth GPIO interrupt handler at boot time.

'slow'? Did you mean 'low'?

Quoted 8 lines

Even though commit 3bb62e3f99a5 ("gpiolib: acpi: Only trigger ActiveBoth interrupts on boot") restricted boot-time execution to ActiveBoth edge events, the problematic interrupt on these laptops is configured as ActiveBoth. Consequently, the handler is still executed at boot and the boot process stalls.

Fix the delay by adding a DMI quirk to disable edge event execution at boot for the ASUS ROG Strix G16 G614 family.

What is this interrupt for? Touchpad?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw

Hi Andy,

Quoted 1 line

'slow'? Did you mean 'low'?

Yes, sorry, that was a typo. I meant 'low'.

Quoted 1 line

What is this interrupt for? Touchpad?

It is an ACPI event interrupt on the AMD GPIO controller (AMDI0030). Specifically, it triggers on pin 21, appearing in /proc/interrupts as "amd_gpio 21 ACPI:Event" and as you guessed it is the touchpad.

Previously, using "gpiolib_acpi.ignore_interrupt=AMDI0030:00@21" or "gpiolib_acpi.run_edge_events_on_boot=0" as a boot parameter successfully bypassed the 36-second delay, which confirms this specific pin/handler is the culprit stalling the boot process.

Thanks for the review!

Marco

maintainer
#3 lore raw

On Tue, Jun 16, 2026 at 11:43:56AM +0200, Marco Scardovi wrote:

...

Quoted 10 lines
Quoted 1 line

What is this interrupt for? Touchpad?

It is an ACPI event interrupt on the AMD GPIO controller (AMDI0030). Specifically, it triggers on pin 21, appearing in /proc/interrupts as "amd_gpio 21 ACPI:Event" and as you guessed it is the touchpad.

Previously, using "gpiolib_acpi.ignore_interrupt=AMDI0030:00@21" or "gpiolib_acpi.run_edge_events_on_boot=0" as a boot parameter successfully bypassed the 36-second delay, which confirms this specific pin/handler is the culprit stalling the boot process.

Mika, do you see any problems with disabled (deferred?) interrupt for this type of event? I think it might break the suspend-resume (on touchpad event). Also do you remember if we ever had touchpad event to be ActiveBoth?

What I'm trying to understand if this is pure BIOS issue (typo) or HW really wants to
- be able to generate events to the OS (at boot time?)
- have the reaction on any edge

Mario, do you know anything more? It's AMD platform at the end, what the TP model and if it requires both edges...

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw
Quoted 10 lines · Andy Shevchenko

On Tue, Jun 16, 2026 at 11:43:56AM +0200, Marco Scardovi wrote:

...

Quoted 6 lines
Quoted 1 line

What is this interrupt for? Touchpad?

It is an ACPI event interrupt on the AMD GPIO controller (AMDI0030). Specifically, it triggers on pin 21, appearing in /proc/interrupts as "amd_gpio 21 ACPI:Event" and as you guessed it is the touchpad.

Quoted 8 lines
Quoted 4 lines

Previously, using "gpiolib_acpi.ignore_interrupt=AMDI0030:00@21" or "gpiolib_acpi.run_edge_events_on_boot=0" as a boot parameter successfully bypassed the 36-second delay, which confirms this specific pin/handler is the culprit stalling the boot process.

Mika, do you see any problems with disabled (deferred?) interrupt for this type of event? I think it might break the suspend-resume (on touchpad event). Also do you remember if we ever had touchpad event to be ActiveBoth?

For starters, why this is ACPI event in the first place? The AML is not supposed to use the touchpad.

Touchpad should be using just regular GpioInt(). Does it still work after this patch? If yes then I think this is definitely okay.

#5 lore raw
Quoted 2 lines · Mika Westerberg
Quoted 1 line · Andy Shevchenko

Mika, do you see any problems with disabled (deferred?) interrupt for this

type

Quoted 1 line
Quoted 1 line

of event? I think it might break the suspend-resume (on touchpad event).

Also

Quoted 7 lines
Quoted 1 line

do you remember if we ever had touchpad event to be ActiveBoth?

For starters, why this is ACPI event in the first place? The AML is not supposed to use the touchpad.

Touchpad should be using just regular GpioInt(). Does it still work after this patch? If yes then I think this is definitely okay.

Hi Mika, Andy,

Yes, the touchpad continues to work perfectly after this patch (even the suspend/resume you asked about).

The touchpad itself is initialized and driven by the i2c-hid driver using a standard GpioInt() resource defined in the touchpad device's _CRS method. The ACPI event handler (pin 21) registered under the GPIO controller's _AEI is distinct from this.

The DMI quirk (.no_edge_events_on_boot = true) only prevents the initial boot-time trigger of this ACPI event handler when the line is asserted low during initialization. It does not prevent the touchpad driver from requesting and receiving its interrupts.

Furthermore, unlike using the "gpiolib_acpi.ignore_interrupt=AMDI0030:00@21" workaround (which would completely disable the ACPI handler), this patch still keeps the ACPI event handler registered. If any edge events occur on this pin post-boot (for example, if the BIOS needs to toggle touchpad states or track device status), the handler will still run normally, avoiding any potential breakage of runtime ACPI functionality.

Sidenote
Personally I'd wait for Mario for further info: after all it's him the maintainer for AMD side and surely knows more than me.

maintainer
#6 lore raw
Quoted 26 lines · Marco Scardovi
Quoted 11 lines · Mika Westerberg
Quoted 4 lines · Andy Shevchenko

Mika, do you see any problems with disabled (deferred?) interrupt for this type of event? I think it might break the suspend-resume (on touchpad event). Also do you remember if we ever had touchpad event to be ActiveBoth?

For starters, why this is ACPI event in the first place? The AML is not supposed to use the touchpad.

Touchpad should be using just regular GpioInt(). Does it still work after this patch? If yes then I think this is definitely okay.

Yes, the touchpad continues to work perfectly after this patch (even the suspend/resume you asked about).

The touchpad itself is initialized and driven by the i2c-hid driver using a standard GpioInt() resource defined in the touchpad device's _CRS method. The ACPI event handler (pin 21) registered under the GPIO controller's _AEI is distinct from this.

The DMI quirk (.no_edge_events_on_boot = true) only prevents the initial boot-time trigger of this ACPI event handler when the line is asserted low during initialization. It does not prevent the touchpad driver from requesting and receiving its interrupts.

Quoted 6 lines

Furthermore, unlike using the "gpiolib_acpi.ignore_interrupt=AMDI0030:00@21" workaround (which would completely disable the ACPI handler), this patch still keeps the ACPI event handler registered. If any edge events occur on this pin post-boot (for example, if the BIOS needs to toggle touchpad states or track device status), the handler will still run normally, avoiding any potential breakage of runtime ACPI functionality.

Okay, perhaps this all needs to be elaborated and summarized in the commit message.

Quoted 3 lines

Sidenote
Personally I'd wait for Mario for further info: after all it's him the maintainer for AMD side and surely knows more than me.

Sure, I am with you on this.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#7 lore raw
Quoted 9 lines

Okay, perhaps this all needs to be elaborated and summarized in the commit message.

Quoted 3 lines

Sidenote
Personally I'd wait for Mario for further info: after all it's him the maintainer for AMD side and surely knows more than me.

Sure, I am with you on this.

What I'm saying below is purely based on my own speculations but it's the most plausible thing I can think as for now.

When I tested Mario's patch back in April it totally used to work on my
device: I have an idea that the value probably happened to be equal 1, like requested on the patch and making it working as intended.

In the meantime I updated the BIOS (from 310 to 315, released in May), changing the value from 1 to 0 and breaking the boot time again (as said it's my own speculation, I'm not sure if it is actually possible).

I didn't test the patch after the BIOS update 'cause I had the gpiolib_acpi.run_edge_events_on_boot=0 option enabled and didn't think it would stop working again.

#8 lore raw
In reply to Andy Shevchenko
Quoted 9 lines

Okay, perhaps this all needs to be elaborated and summarized in the commit message.

Quoted 3 lines

Sidenote
Personally I'd wait for Mario for further info: after all it's him the maintainer for AMD side and surely knows more than me.

Sure, I am with you on this.

What I'm saying below is purely based on my own speculations but it's the most plausible thing I can think as for now.

When I tested Mario's patch back in April it totally used to work on my
device: I have an idea that the value probably happened to be equal 1, like requested on the patch and making it working as intended.

In the meantime I updated the BIOS (from 310 to 315, released in May), changing the value from 1 to 0 and breaking the boot time again (as said it's my own speculation, I'm not sure if it is actually possible).

I didn't test the patch after the BIOS update 'cause I had the gpiolib_acpi.run_edge_events_on_boot=0 option enabled and didn't think it would stop working again.

#9 lore raw
In reply to Marco Scardovi

hi,

Quoted 4 lines · Marco Scardovi

The ASUS ROG Strix G16 G614 series laptops experience a long boot delay of approximately 36 seconds. This happens because the system firmware triggers a slow/hanging ActiveBoth GPIO interrupt handler at boot time.

Quoted 8 lines

Even though commit 3bb62e3f99a5 ("gpiolib: acpi: Only trigger ActiveBoth interrupts on boot") restricted boot-time execution to ActiveBoth edge events, the problematic interrupt on these laptops is configured as ActiveBoth. Consequently, the handler is still executed at boot and the boot process stalls.

Fix the delay by adding a DMI quirk to disable edge event execution at boot for the ASUS ROG Strix G16 G614 family.

Could you reword the commit message to explain the actual mechanism? Something like:

On ASUS ROG Strix G16 G614 series laptops, the firmware leaves this ActiveBoth GPIO line asserted (logic low) at boot. Per the boot-time initial-state logic, an ActiveBoth interrupt found low is replayed once to sync its initial state, which calls the handler synchronously in the probe path. On these laptops that interrupt handler is slow/hanging, so the synchronous call blocks for ~36 s and stalls boot.

It's also worth noting that commit 3bb62e3f99a5 already restricts the boot-time replay to ActiveBoth interrupts that are asserted (low) — the pin on ASUS ROG Strix G16 G614 series laptops meets exactly that condition, which is why it still triggers. Disabling edge_events_on_boot via the DMI quirk is therefore the right workaround for these laptops.

Thanks,
--
Basavaraj

Quoted 32 lines
Assisted-by Antigravity:gemini-3.5-flash
---
  drivers/gpio/gpiolib-acpi-quirks.c | 14 ++++++++++++++
  1 file changed, 14 insertions(+)
drivers/gpio/gpiolib-acpi-quirks.c +14 -0
index a0116f004975..fa0f03bd51af 100644
@@ -392,6 +392,20 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
  			.ignore_wake = "VEN_0488:00@355",
  		},
  	},
+	{
+		/*
+		 * ASUS ROG Strix G614 series laptops experience a long boot
+		 * delay (approx. 36 seconds) due to a slow/hanging ActiveBoth
+		 * GPIO interrupt handler executing at boot.
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ROG Strix G16 G614"),
+		},
+		.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
+			.no_edge_events_on_boot = true,
+		},
+	},
  	{} /* Terminating entry */
  };
 
#10 lore raw

v2 cover gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Hi Basavaraj,

Thank you for your review: this is the v2 with the rewording as requested.

Changes in v2:
- Reworded the commit message and the code comment to explain the actual boot-time replay mechanism as suggested by Basavaraj.
- Explicitly noted that the touchpad itself is driven by i2c-hid and functions normally, and that the ACPI event handler is preserved for post-boot events.
- Rebased against linux-next-20260616

Marco Scardovi (1):
gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

 drivers/gpio/gpiolib-acpi-quirks.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Signature · 1 line
2.54.0
#11 lore raw

PATCH v2 1/1 gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

ASUS ROG Strix G16 G614 series laptops experience a long boot delay of approximately 36 seconds.

On these laptops, the firmware leaves the touchpad's ActiveBoth GPIO line asserted (logic low) at boot. Per the boot-time initial-state logic, an ActiveBoth interrupt found low is replayed once to sync its initial state, which calls the handler synchronously in the probe path. On these laptops that interrupt handler is slow/hanging, so the synchronous call blocks for ~36s and stalls boot.

The touchpad itself is driven by the i2c-hid driver using a standard GpioInt() resource defined in the touchpad device's _CRS method. The ACPI event handler on pin 21 is distinct from this and is not required for the touchpad's initialization or runtime operation.

Commit 3bb62e3f99a5 ("gpiolib: acpi: Only trigger ActiveBoth interrupts on boot") restricted the boot-time replay to ActiveBoth interrupts that are asserted (low). The pin on ASUS ROG Strix G16 G614 series laptops meets exactly that condition, which is why it still triggers.

Fix the delay by adding a DMI quirk to set no_edge_events_on_boot to true for the ASUS ROG Strix G16 G614 family. This prevents the boot-time trigger of this ACPI event handler without affecting the touchpad driver or disabling the handler for post-boot events.

Assisted-by Antigravity:gemini-3.5-flash
---
 drivers/gpio/gpiolib-acpi-quirks.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
drivers/gpio/gpiolib-acpi-quirks.c +15 -0
index a0116f004975..3cd4cd27808a 100644
@@ -392,6 +392,21 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
 			.ignore_wake = "VEN_0488:00@355",
 		},
 	},
+	{
+		/*
+		 * ASUS ROG Strix G16 G614 series laptops experience a long boot
+		 * delay (approx. 36 seconds) because the touchpad's ActiveBoth
+		 * GPIO interrupt handler (TP_ATTN#) stalls/hangs during boot
+		 * initialization.
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ROG Strix G16 G614"),
+		},
+		.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
+			.no_edge_events_on_boot = true,
+		},
+	},
 	{} /* Terminating entry */
 };
 
Signature · 1 line
2.54.0
#12 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

In reply to Marco Scardovi

Am 17.06.26 um 20:50 schrieb Marco Scardovi:

Quoted 3 lines

Hi Basavaraj,

Thank you for your review: this is the v2 with the rewording as requested.

Hi,

could you share the output of "acpidump" on your device? I suspect that Asus uses a _DSM control method to tell Windows to invert the polarity inside the ActiveBoth check.

Thanks,
Armin Wolf

Quoted 13 lines

Changes in v2:
- Reworded the commit message and the code comment to explain the actual boot-time replay mechanism as suggested by Basavaraj.
- Explicitly noted that the touchpad itself is driven by i2c-hid and functions normally, and that the ACPI event handler is preserved for post-boot events.
- Rebased against linux-next-20260616

Marco Scardovi (1):
gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

  drivers/gpio/gpiolib-acpi-quirks.c | 15 +++++++++++++++
  1 file changed, 15 insertions(+)
#13 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Hi Armin,

Quoted 5 lines · Armin Wolf

could you share the output of "acpidump" on your device? I suspect that Asus uses a _DSM control method to tell Windows to invert the polarity inside the ActiveBoth check.

I have extracted and decompiled the ACPI tables (DSDT and SSDTs) from acpidump. You can find the raw acpidump.out and the decompiled ASL tables in the following Google Drive folder:
https://drive.google.com/drive/folders/1aTqLAnUhrTsPdpA8tfOFyRopG3P3DGnc?usp=drive_link

As far as I can see/understand there is no _DSM method defined under the GPIO controller device (AMDI0030) or the \_SB.GPIO scope.

Under the _AEI method (defined in SSDT9 line 188-193), pin 21 (0x15) and pin 24 (0x18) are defined as:

GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullNone, 0x0000,

    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
    )
    {
        0x0015 // Pin 21 (Touchpad attention line)
    }

When triggered, they evaluate the _EVT method which calls:
Case (0x15)

{
    \_SB.PCI0.SBRG.HNC0 (0x15, Zero)
}

Since Arg1 is Zero, HNC0 executes the Else branch, invoking M009 and ATKM/ADTM, which stalls synchronously for ~36 seconds when executed during the probe path at boot time.

Thanks,
Marco

#14 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

hi

Quoted 29 lines · Marco Scardovi

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Hi Armin,

Quoted 4 lines · Armin Wolf

could you share the output of "acpidump" on your device? I suspect that Asus uses a _DSM control method to tell Windows to invert the polarity inside the ActiveBoth check.

I have extracted and decompiled the ACPI tables (DSDT and SSDTs) from acpidump. You can find the raw acpidump.out and the decompiled ASL tables in the following Google Drive folder:
https://drive.google.com/drive/folders/1aTqLAnUhrTsPdpA8tfOFyRopG3P3DGnc?usp=drive_link

As far as I can see/understand there is no _DSM method defined under the GPIO controller device (AMDI0030) or the \_SB.GPIO scope.

Under the _AEI method (defined in SSDT9 line 188-193), pin 21 (0x15) and pin 24 (0x18) are defined as:

GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullNone, 0x0000,

     "\\_SB.GPIO", 0x00, ResourceConsumer, ,
     )
     {
         0x0015 // Pin 21 (Touchpad attention line)
     }

When triggered, they evaluate the _EVT method which calls:
Case (0x15)

Quoted 7 lines
{
     \_SB.PCI0.SBRG.HNC0 (0x15, Zero)
}

Since Arg1 is Zero, HNC0 executes the Else branch, invoking M009 and ATKM/ADTM, which stalls synchronously for ~36 seconds when executed during the probe path at boot time.

I traced the _EVT for pin 21 through the dumps:

_EVT(0x15) → \_SB.PCI0.SBRG.HNC0(0x15, Zero). With Arg1==0 it takes the Else branch:
M009(), then Notify(^^GPP0.PEGP, 0x81) "Information Change" to the dGPU, then ATKM(0xC0)/ADTM().

So this _AEI event is dGPU/graphics‑related (it notifies PEGP), not the touchpad — the earlier "touchpad" characterization is incorrect. The touchpad (TPD0, _HID "ASUE1416", _CID "PNP0C50") has its own GpioInt() in its _CRS on a different line (pin 0x08, Level/ActiveLow).

The ~36 s stall is consistent with these synchronous MMIO reads + dGPU notify \running in the boot probe path while the GPU isn't ready
(no explicit Sleep in the path; a trace_method_name on HNC0/M049 would confirm the exact blocking access).
Either way, running this AML synchronously at boot is the firmware issue the no_edge_events_on_boot quirk works around.

Could you update the commit message accordingly — in particular, drop the "touchpad" wording, since pin 21's _AEI event is the dGPU notify path, not the touchpad?

Thanks,
--
Basavaraj

Quoted 2 lines

Thanks,
Marco

maintainer
#15 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Quoted 2 lines · Basavaraj Natikar
Quoted 1 line · Marco Scardovi

On Wed, Jun 17, 2026 at 10:33 PM, Armin Wolf wrote:

...

Quoted 46 lines
Quoted 20 lines

I have extracted and decompiled the ACPI tables (DSDT and SSDTs) from acpidump. You can find the raw acpidump.out and the decompiled ASL tables in the following Google Drive folder:
https://drive.google.com/drive/folders/1aTqLAnUhrTsPdpA8tfOFyRopG3P3DGnc?usp=drive_link

As far as I can see/understand there is no _DSM method defined under the GPIO controller device (AMDI0030) or the \_SB.GPIO scope.

Under the _AEI method (defined in SSDT9 line 188-193), pin 21 (0x15) and pin 24 (0x18) are defined as:

GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullNone, 0x0000,

     "\\_SB.GPIO", 0x00, ResourceConsumer, ,
     )
     {
         0x0015 // Pin 21 (Touchpad attention line)
     }

When triggered, they evaluate the _EVT method which calls:
Case (0x15)

Quoted 7 lines
{
     \_SB.PCI0.SBRG.HNC0 (0x15, Zero)
}

Since Arg1 is Zero, HNC0 executes the Else branch, invoking M009 and ATKM/ADTM, which stalls synchronously for ~36 seconds when executed during the probe path at boot time.

I traced the _EVT for pin 21 through the dumps:

_EVT(0x15) → \_SB.PCI0.SBRG.HNC0(0x15, Zero). With Arg1==0 it takes the Else branch:
M009(), then Notify(^^GPP0.PEGP, 0x81) "Information Change" to the dGPU, then ATKM(0xC0)/ADTM().

So this _AEI event is dGPU/graphics‑related (it notifies PEGP), not the touchpad — the earlier "touchpad" characterization is incorrect. The touchpad (TPD0, _HID "ASUE1416", _CID "PNP0C50") has its own GpioInt() in its _CRS on a different line (pin 0x08, Level/ActiveLow).

The ~36 s stall is consistent with these synchronous MMIO reads + dGPU notify \running in the boot probe path while the GPU isn't ready
(no explicit Sleep in the path; a trace_method_name on HNC0/M049 would confirm the exact blocking access).
Either way, running this AML synchronously at boot is the firmware issue the no_edge_events_on_boot quirk works around.

Quoted 2 lines

Could you update the commit message accordingly — in particular, drop the "touchpad" wording, since pin 21's _AEI event is the dGPU notify path, not the touchpad?

Thanks for the details! The crucial and most important question here, is AMD going to push OEM(s) to fix firmware accordingly?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#16 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Quoted 39 lines · Andy Shevchenko
Quoted 2 lines · Basavaraj Natikar
Quoted 1 line · Marco Scardovi

On Wed, Jun 17, 2026 at 10:33 PM, Armin Wolf wrote:

...

Quoted 34 lines
Quoted 33 lines

I have extracted and decompiled the ACPI tables (DSDT and SSDTs) from acpidump. You can find the raw acpidump.out and the decompiled ASL tables in the following Google Drive folder:
https://drive.google.com/drive/folders/1aTqLAnUhrTsPdpA8tfOFyRopG3P3DGnc
?usp=drive_link

As far as I can see/understand there is no _DSM method defined under the GPIO controller device (AMDI0030) or the \_SB.GPIO scope.

Under the _AEI method (defined in SSDT9 line 188-193), pin 21 (0x15) and pin 24 (0x18) are defined as:

GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullNone, 0x0000,

     "\\_SB.GPIO", 0x00, ResourceConsumer, ,
     )
     {
     
         0x0015 // Pin 21 (Touchpad attention line)
     
     }

When triggered, they evaluate the _EVT method which calls:
Case (0x15)
{

     \_SB.PCI0.SBRG.HNC0 (0x15, Zero)

}

Since Arg1 is Zero, HNC0 executes the Else branch, invoking M009 and ATKM/ADTM, which stalls synchronously for ~36 seconds when executed during the probe path at boot time.

Quoted 5 lines
Quoted 5 lines

I traced the _EVT for pin 21 through the dumps:

_EVT(0x15) → \_SB.PCI0.SBRG.HNC0(0x15, Zero). With Arg1==0 it takes the Else branch: M009(), then Notify(^^GPP0.PEGP, 0x81) "Information Change" to the dGPU, then ATKM(0xC0)/ADTM().

It seems I have much more to study about ACPI Tables. Sorry for the confusion and thank you for checking it out.

Quoted 13 lines
Quoted 13 lines

So this _AEI event is dGPU/graphics‑related (it notifies PEGP), not the touchpad — the earlier "touchpad" characterization is incorrect. The touchpad (TPD0, _HID "ASUE1416", _CID "PNP0C50") has its own GpioInt() in its _CRS on a different line (pin 0x08, Level/ActiveLow).

The ~36 s stall is consistent with these synchronous MMIO reads + dGPU notify \running in the boot probe path while the GPU isn't ready (no explicit Sleep in the path; a trace_method_name on HNC0/M049 would confirm the exact blocking access).
Either way, running this AML synchronously at boot is the firmware issue the no_edge_events_on_boot quirk works around.

Quoted 3 lines
Quoted 3 lines

Could you update the commit message accordingly — in particular, drop the "touchpad" wording, since pin 21's _AEI event is the dGPU notify path, not the touchpad?

I'll do it. Let also me know for @Andy request below.

Quoted 2 lines

Thanks for the details! The crucial and most important question here, is AMD going to push OEM(s) to fix firmware accordingly?

It seems ASUS released a new BIOS update 2 days ago specifically for my device. You can find the new acpidump here:
https://drive.google.com/drive/folders/1PYmF1R9n-6vHJVSH8bzEPZhRgdmBBJlT?usp=sharing

maintainer
#17 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Quoted 4 lines · Marco Scardovi
Quoted 3 lines · Andy Shevchenko
Quoted 2 lines · Basavaraj Natikar
Quoted 1 line · Marco Scardovi

On Wed, Jun 17, 2026 at 10:33 PM, Armin Wolf wrote:

...

Quoted 59 lines
Quoted 34 lines
Quoted 34 lines
Quoted 33 lines

I have extracted and decompiled the ACPI tables (DSDT and SSDTs) from acpidump. You can find the raw acpidump.out and the decompiled ASL tables in the following Google Drive folder:
https://drive.google.com/drive/folders/1aTqLAnUhrTsPdpA8tfOFyRopG3P3DGnc
?usp=drive_link

As far as I can see/understand there is no _DSM method defined under the GPIO controller device (AMDI0030) or the \_SB.GPIO scope.

Under the _AEI method (defined in SSDT9 line 188-193), pin 21 (0x15) and pin 24 (0x18) are defined as:

GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullNone, 0x0000,

     "\\_SB.GPIO", 0x00, ResourceConsumer, ,
     )
     {
     
         0x0015 // Pin 21 (Touchpad attention line)
     
     }

When triggered, they evaluate the _EVT method which calls:
Case (0x15)
{

     \_SB.PCI0.SBRG.HNC0 (0x15, Zero)

}

Since Arg1 is Zero, HNC0 executes the Else branch, invoking M009 and ATKM/ADTM, which stalls synchronously for ~36 seconds when executed during the probe path at boot time.

Quoted 5 lines
Quoted 5 lines

I traced the _EVT for pin 21 through the dumps:

_EVT(0x15) → \_SB.PCI0.SBRG.HNC0(0x15, Zero). With Arg1==0 it takes the Else branch: M009(), then Notify(^^GPP0.PEGP, 0x81) "Information Change" to the dGPU, then ATKM(0xC0)/ADTM().

It seems I have much more to study about ACPI Tables. Sorry for the confusion and thank you for checking it out.

Quoted 12 lines
Quoted 12 lines

So this _AEI event is dGPU/graphics‑related (it notifies PEGP), not the touchpad — the earlier "touchpad" characterization is incorrect. The touchpad (TPD0, _HID "ASUE1416", _CID "PNP0C50") has its own GpioInt() in its _CRS on a different line (pin 0x08, Level/ActiveLow).

The ~36 s stall is consistent with these synchronous MMIO reads + dGPU notify \running in the boot probe path while the GPU isn't ready (no explicit Sleep in the path; a trace_method_name on HNC0/M049 would confirm the exact blocking access).
Either way, running this AML synchronously at boot is the firmware issue the no_edge_events_on_boot quirk works around.

Quoted 3 lines
Quoted 3 lines

Could you update the commit message accordingly — in particular, drop the "touchpad" wording, since pin 21's _AEI event is the dGPU notify path, not the touchpad?

Quoted 8 lines

I'll do it. Let also me know for @Andy request below.

Quoted 2 lines

Thanks for the details! The crucial and most important question here, is AMD going to push OEM(s) to fix firmware accordingly?

It seems ASUS released a new BIOS update 2 days ago specifically for my device. You can find the new acpidump here:
https://drive.google.com/drive/folders/1PYmF1R9n-6vHJVSH8bzEPZhRgdmBBJlT?usp=sharing

Have you tried it already?

At least the DSDT has neither _AEI, nor ActiveBoth for anything (except speaker device). Looks promising to me as a fixed version.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#18 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

In data giovedì 18 giugno 2026 20:01:40 Ora legale dell’Europa centrale, Andy Shevchenko ha scritto:

Quoted 72 lines · Marco Scardovi
Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Basavaraj Natikar
Quoted 2 lines · Marco Scardovi
Quoted 1 line · Armin Wolf

...

Quoted 64 lines
Quoted 34 lines
Quoted 34 lines
Quoted 33 lines

I have extracted and decompiled the ACPI tables (DSDT and SSDTs) from acpidump. You can find the raw acpidump.out and the decompiled ASL tables in the following Google Drive folder:
https://drive.google.com/drive/folders/1aTqLAnUhrTsPdpA8tfOFyRopG3P3DGnc
?usp=drive_link

As far as I can see/understand there is no _DSM method defined under the GPIO controller device (AMDI0030) or the \_SB.GPIO scope.

Under the _AEI method (defined in SSDT9 line 188-193), pin 21 (0x15) and pin 24 (0x18) are defined as:

GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullNone, 0x0000,

     "\\_SB.GPIO", 0x00, ResourceConsumer, ,
     )
     {
     
         0x0015 // Pin 21 (Touchpad attention line)
     
     }

When triggered, they evaluate the _EVT method which calls:
Case (0x15)
{

     \_SB.PCI0.SBRG.HNC0 (0x15, Zero)

}

Since Arg1 is Zero, HNC0 executes the Else branch, invoking M009 and ATKM/ADTM, which stalls synchronously for ~36 seconds when executed during the probe path at boot time.

Quoted 5 lines
Quoted 5 lines

I traced the _EVT for pin 21 through the dumps:

_EVT(0x15) → \_SB.PCI0.SBRG.HNC0(0x15, Zero). With Arg1==0 it takes the Else branch: M009(), then Notify(^^GPP0.PEGP, 0x81) "Information Change" to the dGPU, then ATKM(0xC0)/ADTM().

It seems I have much more to study about ACPI Tables. Sorry for the confusion and thank you for checking it out.

Quoted 12 lines
Quoted 12 lines

So this _AEI event is dGPU/graphics‑related (it notifies PEGP), not the touchpad — the earlier "touchpad" characterization is incorrect. The touchpad (TPD0, _HID "ASUE1416", _CID "PNP0C50") has its own GpioInt() in its _CRS on a different line (pin 0x08, Level/ActiveLow).

The ~36 s stall is consistent with these synchronous MMIO reads + dGPU notify \running in the boot probe path while the GPU isn't ready (no explicit Sleep in the path; a trace_method_name on HNC0/M049 would confirm the exact blocking access).
Either way, running this AML synchronously at boot is the firmware issue the no_edge_events_on_boot quirk works around.

Quoted 3 lines
Quoted 3 lines

Could you update the commit message accordingly — in particular, drop the "touchpad" wording, since pin 21's _AEI event is the dGPU notify path, not the touchpad?

I'll do it. Let also me know for @Andy request below.

Quoted 2 lines

Thanks for the details! The crucial and most important question here, is AMD going to push OEM(s) to fix firmware accordingly?

Quoted 9 lines
Quoted 3 lines

It seems ASUS released a new BIOS update 2 days ago specifically for my device. You can find the new acpidump here:
https://drive.google.com/drive/folders/1PYmF1R9n-6vHJVSH8bzEPZhRgdmBBJlT?usp=sharing

Have you tried it already?

At least the DSDT has neither _AEI, nor ActiveBoth for anything (except speaker device). Looks promising to me as a fixed version.

Yes, it didn't solve the boot time problem

#19 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Quoted 71 lines · Marco Scardovi

In data giovedì 18 giugno 2026 20:01:40 Ora legale dell’Europa centrale, Andy Shevchenko ha scritto:

Quoted 70 lines · Marco Scardovi
Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Basavaraj Natikar
Quoted 2 lines · Marco Scardovi
Quoted 1 line · Armin Wolf

...

Quoted 63 lines
Quoted 30 lines
Quoted 30 lines
Quoted 30 lines

I have extracted and decompiled the ACPI tables (DSDT and SSDTs) from acpidump. You can find the raw acpidump.out and the decompiled ASL tables in the following Google Drive folder:
https://drive.google.com/drive/folders/1aTqLAnUhrTsPdpA8tfOFyRopG3P3DGnc
?usp=drive_link

As far as I can see/understand there is no _DSM method defined under the GPIO controller device (AMDI0030) or the \_SB.GPIO scope.

Under the _AEI method (defined in SSDT9 line 188-193), pin 21 (0x15) and pin 24 (0x18) are defined as:

GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullNone, 0x0000,

      "\\_SB.GPIO", 0x00, ResourceConsumer, ,
      )
      {
      
          0x0015 // Pin 21 (Touchpad attention line)
      
      }

When triggered, they evaluate the _EVT method which calls:
Case (0x15)
{

      \_SB.PCI0.SBRG.HNC0 (0x15, Zero)

}

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

Since Arg1 is Zero, HNC0 executes the Else branch, invoking M009 and ATKM/ADTM, which stalls synchronously for ~36 seconds when executed during the probe path at boot time.

I traced the _EVT for pin 21 through the dumps:

_EVT(0x15) → \_SB.PCI0.SBRG.HNC0(0x15, Zero). With Arg1==0 it takes the Else branch: M009(), then Notify(^^GPP0.PEGP, 0x81) "Information Change" to the dGPU, then ATKM(0xC0)/ADTM().

It seems I have much more to study about ACPI Tables. Sorry for the confusion and thank you for checking it out.

Quoted 12 lines
Quoted 12 lines

So this _AEI event is dGPU/graphics‑related (it notifies PEGP), not the touchpad — the earlier "touchpad" characterization is incorrect. The touchpad (TPD0, _HID "ASUE1416", _CID "PNP0C50") has its own GpioInt() in its _CRS on a different line (pin 0x08, Level/ActiveLow).

The ~36 s stall is consistent with these synchronous MMIO reads + dGPU notify \running in the boot probe path while the GPU isn't ready (no explicit Sleep in the path; a trace_method_name on HNC0/M049 would confirm the exact blocking access).
Either way, running this AML synchronously at boot is the firmware issue the no_edge_events_on_boot quirk works around.

Quoted 3 lines
Quoted 3 lines

Could you update the commit message accordingly — in particular, drop the "touchpad" wording, since pin 21's _AEI event is the dGPU notify path, not the touchpad?

I'll do it. Let also me know for @Andy request below.

Quoted 2 lines

Thanks for the details! The crucial and most important question here, is AMD going to push OEM(s) to fix firmware accordingly?

It seems ASUS released a new BIOS update 2 days ago specifically for my device. You can find the new acpidump here:
https://drive.google.com/drive/folders/1PYmF1R9n-6vHJVSH8bzEPZhRgdmBBJlT?usp=sharing

Quoted 8 lines
Quoted 5 lines

Have you tried it already?

At least the DSDT has neither _AEI, nor ActiveBoth for anything (except speaker device). Looks promising to me as a fixed version.

Yes, it didn't solve the boot time problem

I also checked the BIOS 316 ACPI dump — the stalling path is byte‑for‑byte identical to 315, so the AML is unchanged and it'll still stall if pin 21 boots low.

On the OEM side, I'm connecting internally with our AMD contact for ASUS to report this behavior and follow up on a firmware fix.

Thanks,
--
Basavaraj

Quoted 1 line
#20 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

In data venerdì 19 giugno 2026 12:17:17 Ora legale dell’Europa centrale, Basavaraj Natikar ha scritto:

Quoted 7 lines · Marco Scardovi
Quoted 6 lines

In data giovedì 18 giugno 2026 20:01:40 Ora legale dell’Europa centrale, Andy Shevchenko ha scritto:

Quoted 5 lines · Marco Scardovi
Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Basavaraj Natikar
Quoted 2 lines · Marco Scardovi
Quoted 1 line · Armin Wolf

...

Quoted 11 lines

I also checked the BIOS 316 ACPI dump — the stalling path is byte‑for‑byte identical to 315, so the AML is unchanged and it'll still stall if pin 21 boots low.

On the OEM side, I'm connecting internally with our AMD contact for ASUS to report this behavior and follow up on a firmware fix.

Thanks,
--
Basavaraj

Hi Basavaraj,

Thank you. Does that mean that my patch will not be required anymore? If that's the case you can consider it as null. I don't mind having the boot flag added until it's completely fixed on ASUS' side. BTW I have the suspect that my model is not the only one with the long boot bug on ASUS [1] [2] but actually the only one who came up with an actual patch on the kernel.

[1] https://bbs.archlinux.org/viewtopic.php?id=307251
[2] https://rog-forum.asus.com/t5/rog-strix-series/linux-boot-is-very-slow-at-this-moment/td-p/1138746

maintainer
#21 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Quoted 8 lines · Marco Scardovi

In data venerdì 19 giugno 2026 12:17:17 Ora legale dell’Europa centrale, Basavaraj Natikar ha scritto:

Quoted 7 lines · Marco Scardovi
Quoted 6 lines

In data giovedì 18 giugno 2026 20:01:40 Ora legale dell’Europa centrale, Andy Shevchenko ha scritto:

Quoted 5 lines · Marco Scardovi
Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Basavaraj Natikar
Quoted 2 lines · Marco Scardovi
Quoted 1 line · Armin Wolf

...

Quoted 11 lines
Quoted 5 lines

I also checked the BIOS 316 ACPI dump — the stalling path is byte‑for‑byte identical to 315, so the AML is unchanged and it'll still stall if pin 21 boots low.

On the OEM side, I'm connecting internally with our AMD contact for ASUS to report this behavior and follow up on a firmware fix.

Thank you. Does that mean that my patch will not be required anymore? If that's the case you can consider it as null. I don't mind having the boot flag added until it's completely fixed on ASUS' side. BTW I have the suspect that my model is not the only one with the long boot bug on ASUS [1] [2] but actually the only one who came up with an actual patch on the kernel.

I believe your patch is still needed. Not every model might get a BIOS update, and no guarantee that everybody who possesses the problematic platforms actually *will* update the BIOS. But it's AMD's call. I will happily accept the changes acknowledged by AMD.

Quoted 2 lines

[1] https://bbs.archlinux.org/viewtopic.php?id=307251
[2] https://rog-forum.asus.com/t5/rog-strix-series/linux-boot-is-very-slow-at-this-moment/td-p/1138746

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#22 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

In data sabato 20 giugno 2026 08:52:27 Ora legale dell’Europa centrale, Andy Shevchenko ha scritto:

Quoted 24 lines · Marco Scardovi
Quoted 8 lines

In data venerdì 19 giugno 2026 12:17:17 Ora legale dell’Europa centrale, Basavaraj Natikar ha scritto:

Quoted 7 lines · Marco Scardovi
Quoted 6 lines

In data giovedì 18 giugno 2026 20:01:40 Ora legale dell’Europa centrale, Andy Shevchenko ha scritto:

Quoted 5 lines · Marco Scardovi
Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Basavaraj Natikar
Quoted 2 lines · Marco Scardovi
Quoted 1 line · Armin Wolf

...

Quoted 11 lines
Quoted 5 lines

I also checked the BIOS 316 ACPI dump — the stalling path is byte‑for‑byte identical to 315, so the AML is unchanged and it'll still stall if pin 21 boots low.

On the OEM side, I'm connecting internally with our AMD contact for ASUS to report this behavior and follow up on a firmware fix.

Thank you. Does that mean that my patch will not be required anymore? If that's the case you can consider it as null. I don't mind having the boot flag added until it's completely fixed on ASUS' side. BTW I have the suspect that my model is not the only one with the long boot bug on ASUS [1] [2] but actually the only one who came up with an actual patch on the kernel.

Quoted 5 lines

I believe your patch is still needed. Not every model might get a BIOS update, and no guarantee that everybody who possesses the problematic platforms actually *will* update the BIOS. But it's AMD's call. I will happily accept the changes acknowledged by AMD.

Uhm, right. Not everyone are crazy over updating everything.

As soon as I have a complete response from AMD and Asus I'll proceed with a proper patch.

For now, thank you all for checking it out and giving your time for feedback.

Quoted 5 lines
Quoted 3 lines

[1] https://bbs.archlinux.org/viewtopic.php?id=307251
[2] https://rog-forum.asus.com/t5/rog-strix-series/linux-boot-is-very-slow-at-this-moment/td-p/1138746

#23 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Quoted 30 lines · Marco Scardovi

In data sabato 20 giugno 2026 08:52:27 Ora legale dell’Europa centrale, Andy Shevchenko ha scritto:

Quoted 24 lines · Marco Scardovi
Quoted 8 lines

In data venerdì 19 giugno 2026 12:17:17 Ora legale dell’Europa centrale, Basavaraj Natikar ha scritto:

Quoted 7 lines · Marco Scardovi
Quoted 6 lines

In data giovedì 18 giugno 2026 20:01:40 Ora legale dell’Europa centrale, Andy Shevchenko ha scritto:

Quoted 5 lines · Marco Scardovi
Quoted 4 lines · Andy Shevchenko
Quoted 3 lines · Basavaraj Natikar
Quoted 2 lines · Marco Scardovi
Quoted 1 line · Armin Wolf

...

Quoted 11 lines
Quoted 5 lines

I also checked the BIOS 316 ACPI dump — the stalling path is byte‑for‑byte identical to 315, so the AML is unchanged and it'll still stall if pin 21 boots low.

On the OEM side, I'm connecting internally with our AMD contact for ASUS to report this behavior and follow up on a firmware fix.

Thank you. Does that mean that my patch will not be required anymore? If that's the case you can consider it as null. I don't mind having the boot flag added until it's completely fixed on ASUS' side. BTW I have the suspect that my model is not the only one with the long boot bug on ASUS [1] [2] but actually the only one who came up with an actual patch on the kernel.

Quoted 5 lines

I believe your patch is still needed. Not every model might get a BIOS update, and no guarantee that everybody who possesses the problematic platforms actually *will* update the BIOS. But it's AMD's call. I will happily accept the changes acknowledged by AMD.

Quoted 6 lines

Uhm, right. Not everyone are crazy over updating everything.

As soon as I have a complete response from AMD and Asus I'll proceed with a proper patch.

For now, thank you all for checking it out and giving your time for feedback.

Maybe it's clear to everyone else but me; but if this is ASL used for the dGPU shouldn't we get someone from NVIDIA to add their 2¢?

Maybe *they* had intended this to be both edge triggered and that's how it got here.

I can't imagine this is going to be the only case we see of this. So before we go down that quirk path can we get them to weigh in? Maybe send to dri-devel and CC the nvidia folks that work on the kernel.

#24 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

In reply to Marco Scardovi

Hi Marco,

Quoted 11 lines · Marco Scardovi

Hi Basavaraj,

Thank you for your review: this is the v2 with the rewording as requested.

Changes in v2:
- Reworded the commit message and the code comment to explain the actual boot-time replay mechanism as suggested by Basavaraj.
- Explicitly noted that the touchpad itself is driven by i2c-hid and functions normally, and that the ACPI event handler is preserved for post-boot events.
- Rebased against linux-next-20260616

Quoted 2 lines

Marco Scardovi (1):
gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Have you tried adding this patch to your kernel instead of adding a quirk? :

https://lore.kernel.org/linux-gpio/[email protected]/

This modifies the code which does an initial sync of edge-run ACPI GPIO interrupt event handlers to match Windows and to skip it in certain circumstances.

If that does not help, we should wait for Armin to get a chance to check your DSDT to see if the magic _DSM which inverts the polarity check for the initial sync run is there.

By matching what Windows this we can hopefully fix this for a whole bunch of devices rather then having to rely on per model quirks.

Regards,

Hans

#25 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

In data domenica 21 giugno 2026 13:00:22 Ora legale dell’Europa centrale, Hans de Goede ha scritto:

Quoted 14 lines

Hi Marco,

Quoted 11 lines · Marco Scardovi

Hi Basavaraj,

Thank you for your review: this is the v2 with the rewording as requested.

Changes in v2:
- Reworded the commit message and the code comment to explain the actual boot-time replay mechanism as suggested by Basavaraj.
- Explicitly noted that the touchpad itself is driven by i2c-hid and functions normally, and that the ACPI event handler is preserved for post-boot events.
- Rebased against linux-next-20260616

Quoted 7 lines
Quoted 2 lines

Marco Scardovi (1):
gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Have you tried adding this patch to your kernel instead of adding a quirk? :

https://lore.kernel.org/linux-gpio/[email protected]/

Yes, in fact it used to work [1]. My suspect is that when updating the BIOS from 310 to 315 something flipped, making it not working again. It's my own speculation so please don't take it as a matter of fact.

[1] https://lore.kernel.org/linux-gpio/[email protected]/

Quoted 5 lines

This modifies the code which does an initial sync of edge-run ACPI GPIO interrupt event handlers to match Windows and to skip it in certain circumstances.

Quoted 7 lines

If that does not help, we should wait for Armin to get a chance to check your DSDT to see if the magic _DSM which inverts the polarity check for the initial sync run is there.

By matching what Windows this we can hopefully fix this for a whole bunch of devices rather then having to rely on per model quirks.

It would be very helpful as I noticed all these ASUS laptops in G614 family ha the same problem as mine [2].

[2] https://github.com/OpenGamingCollective/asusctl/issues/115

Quoted 5 lines

Regards,

Hans

Thank you all for looking into it,

Marco

#26 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

In reply to Hans de Goede

Am 21.06.26 um 13:00 schrieb Hans de Goede:

Quoted 20 lines

Hi Marco,

Quoted 11 lines · Marco Scardovi

Hi Basavaraj,

Thank you for your review: this is the v2 with the rewording as requested.

Changes in v2:
- Reworded the commit message and the code comment to explain the actual boot-time replay mechanism as suggested by Basavaraj.
- Explicitly noted that the touchpad itself is driven by i2c-hid and functions normally, and that the ACPI event handler is preserved for post-boot events.
- Rebased against linux-next-20260616

Quoted 2 lines

Marco Scardovi (1):
gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Have you tried adding this patch to your kernel instead of adding a quirk? :

https://lore.kernel.org/linux-gpio/[email protected]/

Quoted 7 lines

This modifies the code which does an initial sync of edge-run ACPI GPIO interrupt event handlers to match Windows and to skip it in certain circumstances.

If that does not help, we should wait for Armin to get a chance to check your DSDT to see if the magic _DSM which inverts the polarity check for the initial sync run is there.

I checked the ACPI tables, and the _DSM is missing. However i think that the affected GPIO is actually declared as being edge-triggered, so the aforementioned patch from mario should fix the problem without requiring another quirk entry.

Thanks,
Armin Wolf

Quoted 9 lines

By matching what Windows this we can hopefully fix this for a whole bunch of devices rather then having to rely on per model quirks.

Regards,

Hans

#27 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Hi guys,

I'm feeling like a complete idiot right now and have to make a mea culpa for it.

I didn't notice that [1] wasn't still merged into the 7.1 stable. I took it for granted as it was on linux-next since april and newer patches made by me were already merged on stable. It sounded strange that a patch made that was working 2 months ago to stop working suddenly and now I know why.

I'm truly sorry for all the noise: you can skip on it.

[1] https://lore.kernel.org/linux-gpio/[email protected]/

maintainer
#28 lore raw

Re: [PATCH v2 0/1] gpiolib: acpi: Add quirk for ASUS ROG Strix G16 G614 series

Quoted 11 lines · Marco Scardovi

Hi guys,

I'm feeling like a complete idiot right now and have to make a mea culpa for it.

I didn't notice that [1] wasn't still merged into the 7.1 stable. I took it for granted as it was on linux-next since april and newer patches made by me were already merged on stable. It sounded strange that a patch made that was working 2 months ago to stop working suddenly and now I know why.

I'm truly sorry for all the noise: you can skip on it.

Okay, so this thread clarified that Mario's patch fixed your issue and any other model that is affected.

Hence, no patch from _this_ thread is going to be applied. If it's not the case, speak that up!

Quoted 1 line

[1] https://lore.kernel.org/linux-gpio/[email protected]/

Signature · 2 lines
With Best Regards,
Andy Shevchenko