aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/wistron_btns.c
diff options
context:
space:
mode:
authorMichael Leun <ml@newton.leun.net>2007-02-10 01:29:42 -0500
committerDmitry Torokhov <dtor@insightbb.com>2007-02-10 01:29:42 -0500
commit5809d537c1bc7628cee1e580da35f6b4d254e23b (patch)
treedb46dc52c2609853b46b1eed843ce6364f829392 /drivers/input/misc/wistron_btns.c
parent8370a643531699e5076fcac21c281c138bce1c87 (diff)
Input: wistron - add support for Fujitsu-Siemens Amilo D88x0
Tested on a Amilo D8820. Signed-off-by: Michael Leun <ml@newton.leun.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/wistron_btns.c')
-rw-r--r--drivers/input/misc/wistron_btns.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c
index 7b9d1c1da41a..e1183aeb8ed5 100644
--- a/drivers/input/misc/wistron_btns.c
+++ b/drivers/input/misc/wistron_btns.c
@@ -335,6 +335,17 @@ static struct key_entry keymap_aopen_1559as[] = {
335 { KE_END, 0 }, 335 { KE_END, 0 },
336}; 336};
337 337
338static struct key_entry keymap_fs_amilo_d88x0[] = {
339 { KE_KEY, 0x01, KEY_HELP },
340 { KE_KEY, 0x08, KEY_MUTE },
341 { KE_KEY, 0x31, KEY_MAIL },
342 { KE_KEY, 0x36, KEY_WWW },
343 { KE_KEY, 0x11, KEY_PROG1 },
344 { KE_KEY, 0x12, KEY_PROG2 },
345 { KE_KEY, 0x13, KEY_PROG3 },
346 { KE_END, 0 }
347};
348
338/* 349/*
339 * If your machine is not here (which is currently rather likely), please send 350 * If your machine is not here (which is currently rather likely), please send
340 * a list of buttons and their key codes (reported when loading this module 351 * a list of buttons and their key codes (reported when loading this module
@@ -413,6 +424,15 @@ static struct dmi_system_id dmi_ids[] __initdata = {
413 }, 424 },
414 .driver_data = keymap_wistron_ms2111 425 .driver_data = keymap_wistron_ms2111
415 }, 426 },
427 {
428 .callback = dmi_matched,
429 .ident = "Fujitsu Siemens Amilo D88x0",
430 .matches = {
431 DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
432 DMI_MATCH(DMI_PRODUCT_NAME, "AMILO D"),
433 },
434 .driver_data = keymap_fs_amilo_d88x0
435 },
416 { NULL, } 436 { NULL, }
417}; 437};
418 438