Skip to contentSkip to conversation

Add support for A3x

PATCH In review Corentin CHARY 1 participant 1 message Dec 19, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 13/22 Add support for A3x

---
 asus_acpi.c |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
drivers/acpi/asus_acpi.c 2006-12-15 15:57:49.000000000 +0100 renamed from drivers/acpi/asus_acpi.c 2006-12-15 15:53:40.000000000 +0100 +41 -0
@@ -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)
Signature · 2 lines
CHARY 'Iksaif' Corentin
http://xf.iksaif.net