Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32022
b: refs/heads/master
c: ed2cb07
h: refs/heads/master
v: v3
  • Loading branch information
Karol Kozimor authored and Len Brown committed Jul 1, 2006
1 parent ed5defd commit 82caeb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a170a5317c0298538deb170028376ec1631acc2f
refs/heads/master: ed2cb07b2bb04f14793cdeecb0b384374e979525
8 changes: 6 additions & 2 deletions trunk/drivers/acpi/asus_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct asus_hotk {
M1A, //M1300A
M2E, //M2400E, L4400L
M6N, //M6800N
M6R, //M6700R
M6R, //M6700R, A3000G
P30, //Samsung P30
S1x, //S1300A, but also L1400B and M2400A (L84F)
S2x, //S200 (J1 reported), Victor MP-XP7210
Expand Down Expand Up @@ -1025,7 +1025,8 @@ static int asus_hotk_get_info(void)
hotk->model = L4R;
else if (strncmp(model->string.pointer, "M6N", 3) == 0)
hotk->model = M6N;
else if (strncmp(model->string.pointer, "M6R", 3) == 0)
else if (strncmp(model->string.pointer, "M6R", 3) == 0 ||
strncmp(model->string.pointer, "A3G", 3) == 0)
hotk->model = M6R;
else if (strncmp(model->string.pointer, "M2N", 3) == 0 ||
strncmp(model->string.pointer, "M3N", 3) == 0 ||
Expand Down Expand Up @@ -1070,6 +1071,9 @@ static int asus_hotk_get_info(void)
hotk->methods->lcd_status = NULL;
/* L2B is similar enough to L3C to use its settings, with this only
exception */
else if (strncmp(model->string.pointer, "A3G", 3) == 0)
hotk->methods->lcd_status = "\\BLFG";
/* A3G is like M6R */
else if (strncmp(model->string.pointer, "S5N", 3) == 0 ||
strncmp(model->string.pointer, "M5N", 3) == 0)
hotk->methods->mt_mled = NULL;
Expand Down

0 comments on commit 82caeb1

Please sign in to comment.