Signed-off-by: Corentin Chary <corentincj@xxxxxxxxxx> --- asus_acpi.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) --- a/drivers/acpi/asus_acpi.c 2006-12-15 15:53:40.000000000 +0100 +++ b/drivers/acpi/asus_acpi.c 2006-12-15 15:57:49.000000000 +0100 @@ -143,6 +143,9 @@ A1x = 0, //A1340D, A1300F A2D, //A2D A2x, //A2500H + A3E, //A3E + A3F, //A3F, A6F + A3N, //A3N, A3L A4G, //A4700G D1x, //D1 L2D, //L2000D @@ -218,6 +221,43 @@ .display_get = "\\INFB"}, { + .name = "A3E", + .mled_set = "MLED", + .wled_set = "WLED", + .lcd_switch = xxN_PREFIX "_Q10", + .lcd_status = xxN_PREFIX "RPIN(0x67)", + .brightness_set = "SPLV", + .brightness_get = "GPLV", + .display_set = "SDSP", + .display_get = "\\_SB.PCI0.P0P2.VGA.GETD"}, + + { + .name = "A3F", + .mled_set = "MLED", + .wled_set = "WLED", + .wled_status = "\\WRST", + .bt_switch = "BLED", + .bt_status = "\\BRST", + .lcd_switch = xxN_PREFIX "_Q10", + .lcd_status = xxN_PREFIX "RPIN(0x11)", + .brightness_set = "SPLV", + .brightness_get = "GPLV", + .display_set = "SDSP", + .display_get = "\\SSTE"}, + + { + .name = "A3N", + .mled_set = "MLED", + .wled_set = "WLED", + .wled_status = "\\WLDC", + .lcd_switch = xxN_PREFIX "_Q10", + .lcd_status = "\\BKLT", + .brightness_set = "SPLV", + .brightness_get = "GPLV", + .display_set = "SDSP", + .display_get = "\\SSTE"}, + + { .name = "A4G", .mled_set = "MLED", /* WLED present, but not controlled by ACPI */ @@ -1237,6 +1277,12 @@ return A2D; else if (strncmp(model, "A2", 2) == 0) return A2x; + else if (strncmp(model, "A3N", 3) == 0 || strncmp(model, "A3L", 3) == 0) + return A3N; + else if (strncmp(model, "A3E", 3) == 0) + return A3E; + else if (strncmp(model, "A3F", 3) == 0 || strncmp(model, "A6F", 3) == 0) + return A3F; else if (strncmp(model, "J1", 2) == 0) return S2x; else if (strncmp(model, "L5", 2) == 0) -- CHARY 'Iksaif' Corentin http://xf.iksaif.net - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html