diff options
| author | Myrrh Periwinkle <[email protected]> | 2025-07-02 14:17:58 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-07-22 16:53:56 +0000 |
| commit | b43cb4ff85da5cf29c4cd351ef1d7dd8210780f7 (patch) | |
| tree | b031d5a49580a9f0e0e7688a8de2b5cd2ee25d3b /drivers/platform/x86/intel/pmt/class.c | |
| parent | vt: keyboard: Don't process Unicode characters in K_OFF mode (diff) | |
| download | kernel-b43cb4ff85da5cf29c4cd351ef1d7dd8210780f7.tar.gz kernel-b43cb4ff85da5cf29c4cd351ef1d7dd8210780f7.zip | |
vt: defkeymap: Map keycodes above 127 to K_HOLE
The maximum number of keycodes got bumped to 256 a very long time ago,
but the default keymaps were never adjusted to match. This is causing
the kernel to interpret keycodes above 127 as U+0000 if the shipped
generated keymap is used.
Fix this by mapping all keycodes above 127 to K_HOLE so the kernel
ignores them.
The contents of this patche were generated by rerunning `loadkeys
--mktable --unicode` and only including the changes to map keycodes
above 127 to K_HOLE.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Myrrh Periwinkle <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
