These 4 keys return 'KEY_UNKNOWN' when watching the events returned to userland with libevdev. http://www.thinkwiki.org/wiki/Default_meanings_of_special_keys and Lenovo's user manual list them as: F9: control panel/settings F10: search F11: show all open programs F12: open 'computer'/view all programs Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> --- Hi again, I've changed the KEY_ mapping for Fn+F9 and Fn+F12. Fn+F9 is now KEY_CONFIG as this one is mapped to XF86Tools in X11, while KEY_SETUP is not mapped. Moreover, ARM platforms seem to use KEY_SETUP for things like 'reset to factory settings' while some remotes use this for some setup screen. KEY_CONFIG is only used by hid-input.c. I've favoured KEY_FILE over KEY_COMPUTER as both seem similar, but KEY_FILE is the one used by hid-input.c, and it's also the one GNOME uses (XF86Explorer VS XF86MyComputer). Christophe drivers/platform/x86/thinkpad_acpi.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index defb6af..1b3153ca 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -3167,8 +3167,12 @@ static int __init hotkey_init(struct ibm_init_struct *iibm) KEY_MICMUTE, /* 0x1a: Mic mute (since ?400 or so) */ /* (assignments unknown, please report if found) */ - KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, - KEY_UNKNOWN, + KEY_UNKNOWN, /* 0x1b */ + + /* ACPI HKEY FN+F9-F12 on a Lenovo T440s + * Scan Codes 0x1c to 0x1f + */ + KEY_CONFIG, KEY_SEARCH, KEY_CYCLEWINDOWS, KEY_FILE, }, }; -- 1.9.0 ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel