aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/asus_acpi.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c
index a497f42ccc94..c613a4340db5 100644
--- a/drivers/acpi/asus_acpi.c
+++ b/drivers/acpi/asus_acpi.c
@@ -116,6 +116,7 @@ struct asus_hotk {
116 enum { 116 enum {
117 A1x = 0, //A1340D, A1300F 117 A1x = 0, //A1340D, A1300F
118 A2x, //A2500H 118 A2x, //A2500H
119 A4G, //A4700G
119 D1x, //D1 120 D1x, //D1
120 L2D, //L2000D 121 L2D, //L2000D
121 L3C, //L3800C 122 L3C, //L3800C
@@ -176,6 +177,16 @@ static struct model_data model_conf[END_MODEL] = {
176 .display_get = "\\INFB"}, 177 .display_get = "\\INFB"},
177 178
178 { 179 {
180 .name = "A4G",
181 .mt_mled = "MLED",
182/* WLED present, but not controlled by ACPI */
183 .mt_lcd_switch = xxN_PREFIX "_Q10",
184 .brightness_set = "SPLV",
185 .brightness_get = "GPLV",
186 .display_set = "SDSP",
187 .display_get = "\\ADVG"},
188
189 {
179 .name = "D1x", 190 .name = "D1x",
180 .mt_mled = "MLED", 191 .mt_mled = "MLED",
181 .mt_lcd_switch = "\\Q0D", 192 .mt_lcd_switch = "\\Q0D",
@@ -1109,6 +1120,8 @@ static int asus_hotk_get_info(void)
1109 hotk->model = S2x; 1120 hotk->model = S2x;
1110 else if (strncmp(model->string.pointer, "L5", 2) == 0) 1121 else if (strncmp(model->string.pointer, "L5", 2) == 0)
1111 hotk->model = L5x; 1122 hotk->model = L5x;
1123 else if (strncmp(model->string.pointer, "A4G", 3) == 0)
1124 hotk->model = A4G;
1112 else if (strncmp(model->string.pointer, "W1N", 3) == 0) 1125 else if (strncmp(model->string.pointer, "W1N", 3) == 0)
1113 hotk->model = W1N; 1126 hotk->model = W1N;
1114 1127