Patchwork [Bug,584139,NEW] keymapping error for usb keyboard (windows/menu keys)

login
register
mail settings
Submitter Michael Tokarev
Date May 22, 2010, 9:16 a.m.
Message ID <20100522091646.29377.77828.malonedeb@soybean.canonical.com>
Download mbox | patch
Permalink /patch/53262/
State New
Headers show

Comments

Michael Tokarev - May 22, 2010, 9:16 a.m.
Public bug reported:

The windows and menu keys for usb keyboard in qemu are wrong.  They're
correct for "ps/2" keyboard emulation however.  See Debian bug#578846:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846.

Here's the proposed fix:
Aurelien Jarno - Jan. 16, 2011, 6:53 p.m.
** Changed in: qemu
       Status: New => Fix Committed
Aurelien Jarno - Feb. 20, 2011, 5:13 p.m.
** Changed in: qemu
       Status: Fix Committed => Fix Released

Patch

--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -399,3 +399,3 @@ 
     0x51, 0x4e, 0x49, 0x4c, 0x00, 0x00, 0x00, 0x00,
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+    0x00, 0x00, 0x00, 0xe3, 0xe7, 0x65, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: patch

** Tags added: patch

-- 
keymapping error for usb keyboard (windows/menu keys)
https://bugs.launchpad.net/bugs/584139
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The windows and menu keys for usb keyboard in qemu are wrong.  They're correct for "ps/2" keyboard emulation however.  See Debian bug#578846: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846.

Here's the proposed fix:

--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -399,3 +399,3 @@ 
     0x51, 0x4e, 0x49, 0x4c, 0x00, 0x00, 0x00, 0x00,
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+    0x00, 0x00, 0x00, 0xe3, 0xe7, 0x65, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,