Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53396
b: refs/heads/master
c: bc413c9
h: refs/heads/master
v: v3
  • Loading branch information
Eric Piel authored and Dmitry Torokhov committed Mar 7, 2007
1 parent e9cf796 commit f8ac174
Show file tree
Hide file tree
Showing 2 changed files with 25 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: 243db53bbd8503065b21fd6e8265387048eb569b
refs/heads/master: bc413c9563db6d596e841b2756ed3fccc48de5c0
24 changes: 24 additions & 0 deletions trunk/drivers/input/misc/wistron_btns.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,21 @@ static struct key_entry keymap_acer_travelmate_240[] = {
{ KE_END, 0 }
};

/* Wifi subsystem only activates the led. Therefore we need to pass
* wifi event as a normal key, then userspace can really change the wifi state.
* TODO we need to export led state to userspace (wifi and mail) */
static struct key_entry keymap_acer_travelmate_610[] = {
{ KE_KEY, 0x01, KEY_HELP },
{ KE_KEY, 0x02, KEY_CONFIG },
{ KE_KEY, 0x11, KEY_PROG1 },
{ KE_KEY, 0x12, KEY_PROG2 },
{ KE_KEY, 0x13, KEY_PROG3 },
{ KE_KEY, 0x14, KEY_MAIL },
{ KE_KEY, 0x15, KEY_WWW },
{ KE_KEY, 0x40, KEY_WLAN }, /* Wifi */
{ KE_END, 0 }
};

static struct key_entry keymap_aopen_1559as[] = {
{ KE_KEY, 0x01, KEY_HELP },
{ KE_KEY, 0x06, KEY_PROG3 },
Expand Down Expand Up @@ -406,6 +421,15 @@ static struct dmi_system_id dmi_ids[] __initdata = {
},
.driver_data = keymap_acer_travelmate_240
},
{
.callback = dmi_matched,
.ident = "Acer TravelMate 610",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "ACER"),
DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 610"),
},
.driver_data = keymap_acer_travelmate_610
},
{
.callback = dmi_matched,
.ident = "AOpen 1559AS",
Expand Down

0 comments on commit f8ac174

Please sign in to comment.