[ltp] T440s extra function keys
Joost
linux-thinkpad@linux-thinkpad.org
Sun, 09 Mar 2014 07:00:59 +0100
Hello everybody,
I just wanted to ask if anybody knows how to give some life to the extra
keys F9 to F12 on a T440s.
input-test 5 returns (first press fn-f7, afterwards fn-f9 to fn-f12:
waiting for events
06:55:46.526785: EV_MSC MSC_SCAN 6
06:55:46.526785: EV_KEY KEY_SWITCHVIDEOMODE (0xe3) pressed
06:55:46.526785: EV_SYN code=0 value=0
06:55:46.526829: EV_MSC MSC_SCAN 6
06:55:46.526829: EV_KEY KEY_SWITCHVIDEOMODE (0xe3) released
06:55:46.526829: EV_SYN code=0 value=0
06:55:49.188059: EV_MSC MSC_SCAN 28
06:55:49.188059: EV_KEY KEY_UNKNOWN (0xf0) pressed
06:55:49.188059: EV_SYN code=0 value=0
06:55:49.188104: EV_MSC MSC_SCAN 28
06:55:49.188104: EV_KEY KEY_UNKNOWN (0xf0) released
06:55:49.188104: EV_SYN code=0 value=0
06:55:49.670892: EV_MSC MSC_SCAN 29
06:55:49.670892: EV_KEY KEY_UNKNOWN (0xf0) pressed
06:55:49.670892: EV_SYN code=0 value=0
06:55:49.670944: EV_MSC MSC_SCAN 29
06:55:49.670944: EV_KEY KEY_UNKNOWN (0xf0) released
06:55:49.670944: EV_SYN code=0 value=0
06:55:50.130867: EV_MSC MSC_SCAN 30
06:55:50.130867: EV_KEY KEY_UNKNOWN (0xf0) pressed
06:55:50.130867: EV_SYN code=0 value=0
06:55:50.130919: EV_MSC MSC_SCAN 30
06:55:50.130919: EV_KEY KEY_UNKNOWN (0xf0) released
06:55:50.130919: EV_SYN code=0 value=0
06:55:50.565450: EV_MSC MSC_SCAN 31
06:55:50.565450: EV_KEY KEY_UNKNOWN (0xf0) pressed
06:55:50.565450: EV_SYN code=0 value=0
06:55:50.565503: EV_MSC MSC_SCAN 31
06:55:50.565503: EV_KEY KEY_UNKNOWN (0xf0) released
06:55:50.565503: EV_SYN code=0 value=0
^C
I understand this like: all four function keys return key_code 0xf0
(240) - KEY_UNKNOWN, but with a different scan code ranging from 28 to 31.
Does anyone know how I might map those to usable key codes?
Thanks for any help,
Joost