Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32025
b: refs/heads/master
c: f78c589
h: refs/heads/master
i:
  32023: c64aa07
v: v3
  • Loading branch information
Karol Kozimor authored and Len Brown committed Jul 1, 2006
1 parent 750f3b5 commit e62ada0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c067a7899790ed4c03b00ed186c6e3b6a3964379
refs/heads/master: f78c589d108f4b06a012817536c9ced37f473eae
13 changes: 13 additions & 0 deletions trunk/drivers/acpi/asus_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ struct asus_hotk {
enum {
A1x = 0, //A1340D, A1300F
A2x, //A2500H
A4G, //A4700G
D1x, //D1
L2D, //L2000D
L3C, //L3800C
Expand Down Expand Up @@ -175,6 +176,16 @@ static struct model_data model_conf[END_MODEL] = {
.display_set = "SDSP",
.display_get = "\\INFB"},

{
.name = "A4G",
.mt_mled = "MLED",
/* WLED present, but not controlled by ACPI */
.mt_lcd_switch = xxN_PREFIX "_Q10",
.brightness_set = "SPLV",
.brightness_get = "GPLV",
.display_set = "SDSP",
.display_get = "\\ADVG"},

{
.name = "D1x",
.mt_mled = "MLED",
Expand Down Expand Up @@ -1109,6 +1120,8 @@ static int asus_hotk_get_info(void)
hotk->model = S2x;
else if (strncmp(model->string.pointer, "L5", 2) == 0)
hotk->model = L5x;
else if (strncmp(model->string.pointer, "A4G", 3) == 0)
hotk->model = A4G;
else if (strncmp(model->string.pointer, "W1N", 3) == 0)
hotk->model = W1N;

Expand Down

0 comments on commit e62ada0

Please sign in to comment.