diff options
author | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-10 14:47:26 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-10 14:47:26 -0400 |
commit | f0cd91a68acdc9b49d7f6738b514a426da627649 (patch) | |
tree | 8ad73564015794197583b094217ae0a71e71e753 /drivers/input/misc/wistron_btns.c | |
parent | 60eef25701d25e99c991dd0f4a9f3832a0c3ad3e (diff) | |
parent | 128e6ced247cda88f96fa9f2e4ba8b2c4a681560 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'drivers/input/misc/wistron_btns.c')
-rw-r--r-- | drivers/input/misc/wistron_btns.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index 4b415d9b0123..e4e5be111c96 100644 --- a/drivers/input/misc/wistron_btns.c +++ b/drivers/input/misc/wistron_btns.c | |||
@@ -273,6 +273,18 @@ static struct key_entry keymap_fs_amilo_pro_v2000[] = { | |||
273 | { KE_END, 0 } | 273 | { KE_END, 0 } |
274 | }; | 274 | }; |
275 | 275 | ||
276 | static struct key_entry keymap_fujitsu_n3510[] = { | ||
277 | { KE_KEY, 0x11, KEY_PROG1 }, | ||
278 | { KE_KEY, 0x12, KEY_PROG2 }, | ||
279 | { KE_KEY, 0x36, KEY_WWW }, | ||
280 | { KE_KEY, 0x31, KEY_MAIL }, | ||
281 | { KE_KEY, 0x71, KEY_STOPCD }, | ||
282 | { KE_KEY, 0x72, KEY_PLAYPAUSE }, | ||
283 | { KE_KEY, 0x74, KEY_REWIND }, | ||
284 | { KE_KEY, 0x78, KEY_FORWARD }, | ||
285 | { KE_END, 0 } | ||
286 | }; | ||
287 | |||
276 | static struct key_entry keymap_wistron_ms2141[] = { | 288 | static struct key_entry keymap_wistron_ms2141[] = { |
277 | { KE_KEY, 0x11, KEY_PROG1 }, | 289 | { KE_KEY, 0x11, KEY_PROG1 }, |
278 | { KE_KEY, 0x12, KEY_PROG2 }, | 290 | { KE_KEY, 0x12, KEY_PROG2 }, |
@@ -306,6 +318,16 @@ static struct key_entry keymap_acer_travelmate_240[] = { | |||
306 | { KE_END, 0 } | 318 | { KE_END, 0 } |
307 | }; | 319 | }; |
308 | 320 | ||
321 | static struct key_entry keymap_aopen_1559as[] = { | ||
322 | { KE_KEY, 0x01, KEY_HELP }, | ||
323 | { KE_KEY, 0x06, KEY_PROG3 }, | ||
324 | { KE_KEY, 0x11, KEY_PROG1 }, | ||
325 | { KE_KEY, 0x12, KEY_PROG2 }, | ||
326 | { KE_WIFI, 0x30, 0 }, | ||
327 | { KE_KEY, 0x31, KEY_MAIL }, | ||
328 | { KE_KEY, 0x36, KEY_WWW }, | ||
329 | }; | ||
330 | |||
309 | /* | 331 | /* |
310 | * If your machine is not here (which is currently rather likely), please send | 332 | * If your machine is not here (which is currently rather likely), please send |
311 | * a list of buttons and their key codes (reported when loading this module | 333 | * a list of buttons and their key codes (reported when loading this module |
@@ -323,6 +345,24 @@ static struct dmi_system_id dmi_ids[] = { | |||
323 | }, | 345 | }, |
324 | { | 346 | { |
325 | .callback = dmi_matched, | 347 | .callback = dmi_matched, |
348 | .ident = "Fujitsu-Siemens Amilo M7400", | ||
349 | .matches = { | ||
350 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), | ||
351 | DMI_MATCH(DMI_PRODUCT_NAME, "AMILO M "), | ||
352 | }, | ||
353 | .driver_data = keymap_fs_amilo_pro_v2000 | ||
354 | }, | ||
355 | { | ||
356 | .callback = dmi_matched, | ||
357 | .ident = "Fujitsu N3510", | ||
358 | .matches = { | ||
359 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), | ||
360 | DMI_MATCH(DMI_PRODUCT_NAME, "N3510"), | ||
361 | }, | ||
362 | .driver_data = keymap_fujitsu_n3510 | ||
363 | }, | ||
364 | { | ||
365 | .callback = dmi_matched, | ||
326 | .ident = "Acer Aspire 1500", | 366 | .ident = "Acer Aspire 1500", |
327 | .matches = { | 367 | .matches = { |
328 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), | 368 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
@@ -339,6 +379,15 @@ static struct dmi_system_id dmi_ids[] = { | |||
339 | }, | 379 | }, |
340 | .driver_data = keymap_acer_travelmate_240 | 380 | .driver_data = keymap_acer_travelmate_240 |
341 | }, | 381 | }, |
382 | { | ||
383 | .callback = dmi_matched, | ||
384 | .ident = "AOpen 1559AS", | ||
385 | .matches = { | ||
386 | DMI_MATCH(DMI_PRODUCT_NAME, "E2U"), | ||
387 | DMI_MATCH(DMI_BOARD_NAME, "E2U"), | ||
388 | }, | ||
389 | .driver_data = keymap_aopen_1559as | ||
390 | }, | ||
342 | { NULL, } | 391 | { NULL, } |
343 | }; | 392 | }; |
344 | 393 | ||