Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: wistron - add support for Fujitsu-Siemens Amilo Pro v3505

Wistron button support for Fujitsu-Siemens Amilo Pro Edition V3505.

Signed-off-by: Remi Herilier <rherilier@yahoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

authored by

Remi Herilier and committed by
Dmitry Torokhov
34a7c48c c04148f9

+19
+19
drivers/input/misc/wistron_btns.c
··· 277 277 { KE_END, 0 } 278 278 }; 279 279 280 + static struct key_entry keymap_fs_amilo_pro_v3505[] __initdata = { 281 + { KE_KEY, 0x01, {KEY_HELP} }, /* Fn+F1 */ 282 + { KE_KEY, 0x06, {KEY_DISPLAYTOGGLE} }, /* Fn+F4 */ 283 + { KE_BLUETOOTH, 0x30 }, /* Fn+F10 */ 284 + { KE_KEY, 0x31, {KEY_MAIL} }, /* mail button */ 285 + { KE_KEY, 0x36, {KEY_WWW} }, /* www button */ 286 + { KE_WIFI, 0x78 }, /* satelite dish button */ 287 + { KE_END, 0 } 288 + }; 289 + 280 290 static struct key_entry keymap_fujitsu_n3510[] __initdata = { 281 291 { KE_KEY, 0x11, {KEY_PROG1} }, 282 292 { KE_KEY, 0x12, {KEY_PROG2} }, ··· 625 615 DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pro V2000"), 626 616 }, 627 617 .driver_data = keymap_fs_amilo_pro_v2000 618 + }, 619 + { 620 + .callback = dmi_matched, 621 + .ident = "Fujitsu-Siemens Amilo Pro Edition V3505", 622 + .matches = { 623 + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), 624 + DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pro Edition V3505"), 625 + }, 626 + .driver_data = keymap_fs_amilo_pro_v3505 628 627 }, 629 628 { 630 629 .callback = dmi_matched,