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

Input: wistron_btns - add FS AMILO Pro 8210 support

This adds Fujitsu-Siemens AMILO Pro 8210 support to wistron_btns driver.

Functions are very similar to already supported AMILO Pro 3505, but 8210
has WIFI led.

Such functionality is needed to enable WiFi under Linux on 8210 when it
cold boots with hardware rfkill enabled, without booting another operating
system or running custom utility that calls appropriate BIOS function.

Signed-off-by: Jakub Bogusz <qboosh@pld-linux.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Jakub Bogusz and committed by
Dmitry Torokhov
11601a82 497ab1f2

+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_v8210[] __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, FE_WIFI_LED } 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} }, ··· 662 652 DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pro Edition V3505"), 663 653 }, 664 654 .driver_data = keymap_fs_amilo_pro_v3505 655 + }, 656 + { 657 + /* Fujitsu-Siemens Amilo Pro Edition V8210 */ 658 + .callback = dmi_matched, 659 + .matches = { 660 + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), 661 + DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pro Series V8210"), 662 + }, 663 + .driver_data = keymap_fs_amilo_pro_v8210 665 664 }, 666 665 { 667 666 /* Fujitsu-Siemens Amilo M7400 */