[PATCH 2/2] acpi: Add "acpi_osi=" for ASUS UX302LA to enable, brightness keys
From: Dmitry Tunin
Date: Thu Dec 18 2014 - 07:19:21 EST
This patch is a workaround quirk to enable brightness keys.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=70241
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Dmitry Tunin <hanipouspilot@xxxxxxxxx>
---
drivers/acpi/blacklist.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index f78ed08..a96295c 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -391,6 +391,14 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
DMI_MATCH(DMI_PRODUCT_NAME, "X200MA"),
},
},
+ {
+ .callback = dmi_disable_osi_all,
+ .ident = "ASUSTeK COMPUTER INC. UX302LA",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "UX302LA"),
+ },
+ },
{}
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/