Skip to content

Various fixes for input/ps2 handling

Daniel P. Berrange qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9input: use hex in ps2 keycode trace eventshw/input/trace-events+1 -11 reply
2/9ui: fix crash with sendkey and raw key numbersui/input-legacy.c+5 -01 reply
3/9ui: use correct union field for key numberui/input.c+1 -11 reply
4/9ps2: fix scancodes sent for Alt-Print key combination (aka SysRq)hw/input/ps2.c hw/input/trace-events+118 -201 reply
5/9ps2: fix scancodes sent for Shift/Ctrl+Print key combinationhw/input/ps2.c+19 -00 replies
6/9ps2: fix scancodess sent for Pause key in AT set 1hw/input/ps2.c+1 -10 replies
7/9ps2: fix scancodes sent for Ctrl+Pause key combinationhw/input/ps2.c+35 -160 replies
8/9ui: normalize the 'sysrq' key into the 'print' keyqapi/ui.json ui/input.c+21 -00 replies
9/9ui: pull in latest keycodemapdbui/keycodemapdb+1 -10 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchEric Blake
1/9R-b
2/9R-b
3/9R-b
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH v1 0/9] Various fixes for input/ps2 handling

While preparing to send the rest of my keycodemapdb patches I identified some problems in the input code and particularly in the ps2 device handling of the pause & print / sysrq key that needed fixing.

Daniel P. Berrange (9):
input: use hex in ps2 keycode trace events
ui: fix crash with sendkey and raw key numbers
ui: use correct union field for key number
ps2: fix scancodes sent for Alt-Print key combination (aka SysRq)
ps2: fix scancodes sent for Shift/Ctrl+Print key combination
ps2: fix scancodess sent for Pause key in AT set 1
ps2: fix scancodes sent for Ctrl+Pause key combination
ui: normalize the 'sysrq' key into the 'print' key
ui: pull in latest keycodemapdb

 hw/input/ps2.c        | 207 +++++++++++++++++++++++++++++++++++++++++---------
 hw/input/trace-events |   3 +-
 qapi/ui.json          |   7 ++
 ui/input-legacy.c     |   5 ++
 ui/input.c            |  16 +++-
 ui/keycodemapdb       |   2 +-
 6 files changed, 201 insertions(+), 39 deletions(-)
Signature · 1 line
2.13.6