Skip to content

Commit 6306f04

Browse files
mschiu77rafaeljw
authored andcommitted
ACPI: EC: Make more Asus laptops use ECDT _GPE
More ASUS laptops have the _GPE define in the DSDT table with a different value than the _GPE number in the ECDT. This is causing media keys not working on ASUS X505BA/BP, X542BA/BP Add model info to the quirks list. Signed-off-by: Chris Chiu <[email protected]> Signed-off-by: Jian-Hong Pan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent d07f6ca commit 6306f04

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

drivers/acpi/ec.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,22 @@ static const struct dmi_system_id ec_dmi_table[] __initconst = {
18461846
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
18471847
DMI_MATCH(DMI_PRODUCT_NAME, "GL702VMK"),}, NULL},
18481848
{
1849+
ec_honor_ecdt_gpe, "ASUSTeK COMPUTER INC. X505BA", {
1850+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
1851+
DMI_MATCH(DMI_PRODUCT_NAME, "X505BA"),}, NULL},
1852+
{
1853+
ec_honor_ecdt_gpe, "ASUSTeK COMPUTER INC. X505BP", {
1854+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
1855+
DMI_MATCH(DMI_PRODUCT_NAME, "X505BP"),}, NULL},
1856+
{
1857+
ec_honor_ecdt_gpe, "ASUSTeK COMPUTER INC. X542BA", {
1858+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
1859+
DMI_MATCH(DMI_PRODUCT_NAME, "X542BA"),}, NULL},
1860+
{
1861+
ec_honor_ecdt_gpe, "ASUSTeK COMPUTER INC. X542BP", {
1862+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
1863+
DMI_MATCH(DMI_PRODUCT_NAME, "X542BP"),}, NULL},
1864+
{
18491865
ec_honor_ecdt_gpe, "ASUS X550VXK", {
18501866
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
18511867
DMI_MATCH(DMI_PRODUCT_NAME, "X550VXK"),}, NULL},

0 commit comments

Comments
 (0)