[PATCH] ACPI: resource: Skip IRQ override on Asus Vivobook Go E1404GA

Paul Menzel posted 1 patch 2 months, 2 weeks ago
drivers/acpi/resource.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] ACPI: resource: Skip IRQ override on Asus Vivobook Go E1404GA
Posted by Paul Menzel 2 months, 2 weeks ago
Like other Asus Vivobooks, the Asus Vivobook Go E1404GA has a DSDT
describing IRQ 1 as ActiveLow, while the kernel overrides to Edge_High.

    $ sudo dmesg | grep DMI:.*BIOS
    [    0.000000] DMI: ASUSTeK COMPUTER INC. Vivobook Go E1404GA_E1404GA/E1404GA, BIOS E1404GA.302 08/23/2023
    $ sudo cp /sys/firmware/acpi/tables/DSDT dsdt.dat
    $ iasl -d dsdt.dat
    $ grep -A 30 PS2K dsdt.dsl | grep IRQ -A 1
                IRQ (Level, ActiveLow, Exclusive, )
                    {1}

This override prevents the internal keyboard from working.

Fix the problem by adding this laptop to the table that prevents the
kernel from overriding the IRQ.

Reported-by: bugzilla@lekpreventie.nl
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219224
Cc: Tamim Khan <tamim@fusetak.com>
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index dd410e67d036d..5324791adfbdf 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -503,6 +503,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "B2502FBA"),
 		},
 	},
+	{
+		/* Asus Vivobook Go E1404GA */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "E1404GA"),
+		},
+	},
 	{
 		/* Asus Vivobook Go E1404GAB */
 		.matches = {
-- 
2.40.1