summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authormasc@theaterzentrum.at <masc@theaterzentrum.at>2006-05-29 23:29:36 -0400
committerDmitry Torokhov <dtor_core@ameritech.net>2006-05-29 23:29:36 -0400
commite107b8ee7e97fc20695ca3d5ef862511eca28df0 (patch)
tree6dc5a68d07e975db87280768a02548cb500eda00 /drivers
parent4f8b05efec7a56221c6d1b0e20bcf19671017065 (diff)
downloadlinux-e107b8ee7e97fc20695ca3d5ef862511eca28df0.tar.gz
linux-e107b8ee7e97fc20695ca3d5ef862511eca28df0.tar.bz2
linux-e107b8ee7e97fc20695ca3d5ef862511eca28df0.zip
Input: wistron - add support for AOpen Barebook 1559as
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/misc/wistron_btns.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c
index 36cd2e07fce8..e4e5be111c96 100644
--- a/drivers/input/misc/wistron_btns.c
+++ b/drivers/input/misc/wistron_btns.c
@@ -318,6 +318,16 @@ static struct key_entry keymap_acer_travelmate_240[] = {
{ KE_END, 0 }
};
+static struct key_entry keymap_aopen_1559as[] = {
+ { KE_KEY, 0x01, KEY_HELP },
+ { KE_KEY, 0x06, KEY_PROG3 },
+ { KE_KEY, 0x11, KEY_PROG1 },
+ { KE_KEY, 0x12, KEY_PROG2 },
+ { KE_WIFI, 0x30, 0 },
+ { KE_KEY, 0x31, KEY_MAIL },
+ { KE_KEY, 0x36, KEY_WWW },
+};
+
/*
* If your machine is not here (which is currently rather likely), please send
* a list of buttons and their key codes (reported when loading this module
@@ -369,6 +379,15 @@ static struct dmi_system_id dmi_ids[] = {
},
.driver_data = keymap_acer_travelmate_240
},
+ {
+ .callback = dmi_matched,
+ .ident = "AOpen 1559AS",
+ .matches = {
+ DMI_MATCH(DMI_PRODUCT_NAME, "E2U"),
+ DMI_MATCH(DMI_BOARD_NAME, "E2U"),
+ },
+ .driver_data = keymap_aopen_1559as
+ },
{ NULL, }
};