Skip to contentSkip to conversation

keymapping error for usb keyboard (windows/menu keys)

Qemu-devel Michael Tokarev 4 participants 5 messages May 22, 2010 – Feb 20, 2011

lore
Share & tools
lore
#0 lore raw

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:

hw/usb-hid.c +1 -1
@@ -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

Signature · 19 lines
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,
#1 lore raw

** Bug watch added: Debian Bug tracker #578846
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846

** Also affects: qemu-kvm (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846
Importance: Unknown
Status: Unknown

Signature · 20 lines
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
Status in “qemu-kvm” package in Debian: Unknown

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,
#2 lore raw
In reply to Michael Tokarev

** Changed in: qemu-kvm (Debian)
Status: Unknown => Fix Released

Signature · 20 lines
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
Status in “qemu-kvm” package in Debian: Fix Released

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,
#3 lore raw
In reply to Michael Tokarev

** Changed in: qemu
Status: New => Fix Committed

Signature · 26 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/584139

Title:
  keymapping error for usb keyboard (windows/menu keys)

Status in QEMU:
  Fix Committed
Status in “qemu-kvm” package in Debian:
  Fix Released

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,
#4 lore raw
In reply to Michael Tokarev

** Changed in: qemu
Status: Fix Committed => Fix Released

Signature · 26 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/584139

Title:
  keymapping error for usb keyboard (windows/menu keys)

Status in QEMU:
  Fix Released
Status in “qemu-kvm” package in Debian:
  Fix Released

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,