diff options
author | Ashutosh Naik <ashutosh.naik@gmail.com> | 2005-12-11 12:41:32 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-12-11 12:41:32 -0500 |
commit | 74a89c966ebc4ec4b80fa93eee0b37ff7de7f4e6 (patch) | |
tree | 2af812f69cc962cffdc02b58c62996733955c51b /drivers | |
parent | 58057b9e57849ae28fbcb013edfe6b5a63edc799 (diff) |
Input: wistron - add Acer TravelMate 240 to DMI table
Signed-off-by: Ashutosh Naik <ashutosh.naik@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/misc/wistron_btns.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index 49d0416a2a9a..ef7ee924ecc6 100644 --- a/drivers/input/misc/wistron_btns.c +++ b/drivers/input/misc/wistron_btns.c | |||
@@ -296,6 +296,16 @@ static struct key_entry keymap_acer_aspire_1500[] = { | |||
296 | { KE_END, 0 } | 296 | { KE_END, 0 } |
297 | }; | 297 | }; |
298 | 298 | ||
299 | static struct key_entry keymap_acer_travelmate_240[] = { | ||
300 | { KE_KEY, 0x31, KEY_MAIL }, | ||
301 | { KE_KEY, 0x36, KEY_WWW }, | ||
302 | { KE_KEY, 0x11, KEY_PROG1 }, | ||
303 | { KE_KEY, 0x12, KEY_PROG2 }, | ||
304 | { KE_BLUETOOTH, 0x44, 0 }, | ||
305 | { KE_WIFI, 0x30, 0 }, | ||
306 | { KE_END, 0 } | ||
307 | }; | ||
308 | |||
299 | /* | 309 | /* |
300 | * If your machine is not here (which is currently rather likely), please send | 310 | * If your machine is not here (which is currently rather likely), please send |
301 | * a list of buttons and their key codes (reported when loading this module | 311 | * a list of buttons and their key codes (reported when loading this module |
@@ -320,6 +330,15 @@ static struct dmi_system_id dmi_ids[] = { | |||
320 | }, | 330 | }, |
321 | .driver_data = keymap_acer_aspire_1500 | 331 | .driver_data = keymap_acer_aspire_1500 |
322 | }, | 332 | }, |
333 | { | ||
334 | .callback = dmi_matched, | ||
335 | .ident = "Acer TravelMate 240", | ||
336 | .matches = { | ||
337 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), | ||
338 | DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 240"), | ||
339 | }, | ||
340 | .driver_data = keymap_acer_travelmate_240 | ||
341 | }, | ||
323 | { 0, } | 342 | { 0, } |
324 | }; | 343 | }; |
325 | 344 | ||