Skip to content

Commit b511bbf

Browse files
mrhpearsonij-intel
authored andcommitted
platform/x86: thinkpad_acpi: handle HKEY 0x1402 event
2025 Thinkpads F11 key launch the Intel Unison app on Windows, which does some sort of smart sharing between laptop and phone. Map this key event to KEY_LINK_PHONE as the closest thing we have. This prevents an error message being displayed on key press. Reported-by: Damjan Georgievski <[email protected]> Closes: https://sourceforge.net/p/ibm-acpi/mailman/message/59189556/ Signed-off-by: Mark Pearson <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ij: converted directory to pre-lenovo move as this is fixes material.] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 7dc6b2d commit b511bbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/x86/thinkpad_acpi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,6 +3295,7 @@ static const struct key_entry keymap_lenovo[] __initconst = {
32953295
*/
32963296
{ KE_KEY, 0x131d, { KEY_VENDOR } }, /* System debug info, similar to old ThinkPad key */
32973297
{ KE_KEY, 0x1320, { KEY_LINK_PHONE } },
3298+
{ KE_KEY, 0x1402, { KEY_LINK_PHONE } },
32983299
{ KE_KEY, TP_HKEY_EV_TRACK_DOUBLETAP /* 0x8036 */, { KEY_PROG4 } },
32993300
{ KE_END }
33003301
};

0 commit comments

Comments
 (0)