Skip to contentSkip to conversation

Add support for W5F and W6A

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

lore
Share & tools
lore
#0 lore raw

PATCH 20/22 Add support for W5F and W6A

---
 asus_acpi.c |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
drivers/acpi/asus_acpi.c 2006-12-15 16:21:36.000000000 +0100 renamed from drivers/acpi/asus_acpi.c 2006-12-15 16:20:12.000000000 +0100 +2 -0
@@ -179,6 +179,8 @@
                W1N,            //W1000N
                W3V,            //W3030V
                W5A,            //W5A
+               W5F,            //W5F
+               W6A,            //W6A
                xxN,            //M2400N, M3700N, M5200N, M6800N, S1300N, 

S5200N
//(Centrino)
DEF, //Default values
@@ -656,6 +658,29 @@

         .display_set = "SDSP",
         .display_get = "\\ADVG"},
+        {
+        .name = "W5F",
+        .bt_switch = "BLED",
+        .wled_set = "WLED",
+        .tled_set = "TLED",
+        .lcd_switch = xxN_PREFIX "_Q10",
+        .brightness_set = "SPLV",
+        .brightness_get = "GPLV",
+        .display_set = "SDSP",
+         .display_get = "\\ADVG"},
+
+        {
+        .name = "W6A",
+        .bt_switch = "BLED",
+        .wled_set = "WLED",
+        .tled_set = "TLED",
+        .lcd_switch = xxN_PREFIX "_Q10",
+        .lcd_status = "\\RGPL(0x15,0x01)",
+        .brightness_set = "SPLV",
+        .brightness_get = "GPLV",
+        .display_set = "SDSP",
+         .display_get = "\\SSTE"},
+
        {
         .name = "xxN",
         .mled_set = "MLED",
@@ -1511,6 +1536,10 @@
                return W3V;
        else if (strncmp(model, "W5A", 3) == 0)
                return W5A;
+       else if (strncmp(model, "W5F", 3) == 0)
+               return W5F;
+       else if (strncmp(model, "W6A", 3) == 0)
+               return W6A;
        else if (strncmp(model, "V6V", 3) == 0)
                return V6V;
        else if (strncmp(model, "V6J", 3) == 0)
Signature · 2 lines
CHARY 'Iksaif' Corentin
http://xf.iksaif.net