Created
November 29, 2022 05:10
-
-
Save chaeya/0db77ba33056619ba3ac030e8f644b9c to your computer and use it in GitHub Desktop.
linux kernel v6.0.10 ASUS VivoBook S5402ZA keyboard disable patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -crB a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c | |
*** a/drivers/gpio/gpiolib-acpi.c 2022-11-28 20:03:26.825171988 +0900 | |
--- b/drivers/gpio/gpiolib-acpi.c 2022-11-28 20:18:28.049389594 +0900 | |
*************** | |
*** 1590,1595 **** | |
--- 1590,1609 ---- | |
.ignore_interrupt = "AMDI0030:00@18", | |
}, | |
}, | |
+ { | |
+ /* | |
+ * Asus Vivobook S5402ZA | |
+ * https://bugzilla.kernel.org/show_bug.cgi?id=216158 | |
+ */ | |
+ .matches = { | |
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), | |
+ DMI_MATCH(DMI_PRODUCT_NAME, "VivoBook_ASUSLaptop S5402ZA_S5402ZA"), | |
+ DMI_MATCH(DMI_BOARD_NAME, "S5402ZA"), | |
+ }, | |
+ .driver_data = &(struct acpi_gpiolib_dmi_quirk) { | |
+ .ignore_interrupt = "AMDI0030:00@18", | |
+ }, | |
+ }, | |
{} /* Terminating entry */ | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment