Commit 1c0f0575 authored by Matthew C Campbell's avatar Matthew C Campbell Committed by Len Brown

ACPI: asus_acpi: Add support for Asus Z81SP

Adds support in asus_acpi for the Asus Z81SP laptop.  This preserves all
old functionality when improperly detected as well as enabling Bluetooth
support.
Signed-off-by: default avatarMatthew C Campbell <calvinmc@gmail.com>
Acked-by: default avatarCorentin Chary <corentincj@iksaif.net>
Cc: Karol Kozimor <sziwan@users.sourceforge.net>
Cc: <acpi4asus-user@lists.sourceforge.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c41458ac
...@@ -141,6 +141,7 @@ struct asus_hotk { ...@@ -141,6 +141,7 @@ struct asus_hotk {
W5A, //W5A W5A, //W5A
W3V, //W3030V W3V, //W3030V
xxN, //M2400N, M3700N, M5200N, M6800N, S1300N, S5200N xxN, //M2400N, M3700N, M5200N, M6800N, S1300N, S5200N
A4S, //Z81sp
//(Centrino) //(Centrino)
END_MODEL END_MODEL
} model; //Models currently supported } model; //Models currently supported
...@@ -397,7 +398,16 @@ static struct model_data model_conf[END_MODEL] = { ...@@ -397,7 +398,16 @@ static struct model_data model_conf[END_MODEL] = {
.brightness_set = "SPLV", .brightness_set = "SPLV",
.brightness_get = "GPLV", .brightness_get = "GPLV",
.display_set = "SDSP", .display_set = "SDSP",
.display_get = "\\ADVG"} .display_get = "\\ADVG"},
{
.name = "A4S",
.brightness_set = "SPLV",
.brightness_get = "GPLV",
.mt_bt_switch = "BLED",
.mt_wled = "WLED"
}
}; };
/* procdir we use */ /* procdir we use */
...@@ -1117,6 +1127,8 @@ static int asus_model_match(char *model) ...@@ -1117,6 +1127,8 @@ static int asus_model_match(char *model)
return W3V; return W3V;
else if (strncmp(model, "W5A", 3) == 0) else if (strncmp(model, "W5A", 3) == 0)
return W5A; return W5A;
else if (strncmp(model, "A4S", 3) == 0)
return A4S;
else else
return END_MODEL; return END_MODEL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment