Skip to contentSkip to conversation

ADB improvements

PATCH Superseded Programmingkid 2 participants 3 messages May 6, 2016 – May 16, 2016

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v3 cover ADB improvements

This patch series makes several improvements to the ADB code. To test this code, please implement the patches in the order below.

John Arbuckle (5):
adb-keys.h: initial commit
adb.c: add support for QKeyCode
adb.c: correct several key assignments
adb.c: prevent NO_KEY value from going to guest
adb.c: add power key support

 hw/input/adb.c              | 239 +++++++++++++++++++++++++++++++++++---------
 include/hw/input/adb-keys.h | 142 ++++++++++++++++++++++++++
 2 files changed, 335 insertions(+), 46 deletions(-)
 create mode 100644 include/hw/input/adb-keys.h
Signature · 12 lines
*v3 changes:
Removed note from adb-keys.h.
Created new patch that adds QKeyCode support, but doesn't change any mappings.
Made patch that does correct key mappings.
Made new patch the prevents NO_KEY value from going to guest.
Add suggested comments to power key code.
Moved else statement.

*v2 changes:
Swapped order of adb-keys.h and "add support for QKeyCode" patches.

2.7.2
#1 lore raw
Quoted 10 lines · Programmingkid

This patch series makes several improvements to the ADB code. To test this code, please implement the patches in the order below.

John Arbuckle (5):
adb-keys.h: initial commit
adb.c: add support for QKeyCode
adb.c: correct several key assignments
adb.c: prevent NO_KEY value from going to guest
adb.c: add power key support

Quoted 4 lines
 hw/input/adb.c              | 239 +++++++++++++++++++++++++++++++++++---------
 include/hw/input/adb-keys.h | 142 ++++++++++++++++++++++++++
 2 files changed, 335 insertions(+), 46 deletions(-)
 create mode 100644 include/hw/input/adb-keys.h

Hi; I've reviewed this v3 patchset. For v4 I recommend you cc qemu-ppc, Alex and David, because the ADB input device is only used for the hw/ppc/mac* boards and I think patches for those are best routed via the PPC tree.

Please also make sure you send the patches for v4 so that they are threaded correctly -- v3 did not come through threaded properly.

thanks
-- PMM

#2 lore raw
Quoted 16 lines · Peter Maydell
Quoted 10 lines · Programmingkid

This patch series makes several improvements to the ADB code. To test this code, please implement the patches in the order below.

John Arbuckle (5):
adb-keys.h: initial commit
adb.c: add support for QKeyCode
adb.c: correct several key assignments
adb.c: prevent NO_KEY value from going to guest
adb.c: add power key support

Quoted 4 lines

hw/input/adb.c | 239 +++++++++++++++++++++++++++++++++++---------
include/hw/input/adb-keys.h | 142 ++++++++++++++++++++++++++

2 files changed, 335 insertions(+), 46 deletions(-)

create mode 100644 include/hw/input/adb-keys.h

Quoted 4 lines

Hi; I've reviewed this v3 patchset. For v4 I recommend you cc qemu-ppc, Alex and David, because the ADB input device is only used for the hw/ppc/mac* boards and I think patches for those are best routed via the PPC tree.

Ok.

Quoted 4 lines

Please also make sure you send the patches for v4 so that they are threaded correctly -- v3 did not come through threaded properly.

My git is broken in this regard. Sorry.