Commit 2d71f5f5 authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI4ASUS] support M6700R laptops

Signed-off-by: Karol Kozimor <sziwan@hell.org.pl
parent 2ecc3c9d
...@@ -129,6 +129,7 @@ struct asus_hotk { ...@@ -129,6 +129,7 @@ struct asus_hotk {
M1A, //M1300A M1A, //M1300A
M2E, //M2400E, L4400L M2E, //M2400E, L4400L
M6N, //M6800N M6N, //M6800N
M6R, //M6700R
P30, //Samsung P30 P30, //Samsung P30
S1x, //S1300A, but also L1400B and M2400A (L84F) S1x, //S1300A, but also L1400B and M2400A (L84F)
S2x, //S200 (J1 reported), Victor MP-XP7210 S2x, //S200 (J1 reported), Victor MP-XP7210
...@@ -316,6 +317,18 @@ static struct model_data model_conf[END_MODEL] = { ...@@ -316,6 +317,18 @@ static struct model_data model_conf[END_MODEL] = {
.display_set = "SDSP", .display_set = "SDSP",
.display_get = "\\SSTE" .display_get = "\\SSTE"
}, },
{
.name = "M6R",
.mt_mled = "MLED",
.mt_wled = "WLED",
.mt_lcd_switch = xxN_PREFIX "_Q10",
.lcd_status = "\\_SB.PCI0.SBSM.SEO4",
.brightness_set = "SPLV",
.brightness_get = "GPLV",
.display_set = "SDSP",
.display_get = "\\SSTE"
},
{ {
.name = "P30", .name = "P30",
...@@ -1031,6 +1044,8 @@ static int __init asus_hotk_get_info(struct asus_hotk *hotk) ...@@ -1031,6 +1044,8 @@ static int __init asus_hotk_get_info(struct asus_hotk *hotk)
hotk->model = L4R; hotk->model = L4R;
else if (strncmp(model->string.pointer, "M6N", 3) == 0) else if (strncmp(model->string.pointer, "M6N", 3) == 0)
hotk->model = M6N; hotk->model = M6N;
else if (strncmp(model->string.pointer, "M6R", 3) == 0)
hotk->model = M6R;
else if (strncmp(model->string.pointer, "M2N", 3) == 0 || else if (strncmp(model->string.pointer, "M2N", 3) == 0 ||
strncmp(model->string.pointer, "M3N", 3) == 0 || strncmp(model->string.pointer, "M3N", 3) == 0 ||
strncmp(model->string.pointer, "M5N", 3) == 0 || strncmp(model->string.pointer, "M5N", 3) == 0 ||
......
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