Received: from [140.186.70.92] (port=59179 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFkxm-0002Yz-8C for qemu-devel@nongnu.org; Sat, 22 May 2010 05:25:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFkxj-0001ZW-Nx for qemu-devel@nongnu.org; Sat, 22 May 2010 05:25:45 -0400 Received: from adelie.canonical.com ([91.189.90.139]:41507) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFkxj-0001ZE-Js for qemu-devel@nongnu.org; Sat, 22 May 2010 05:25:43 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OFkxh-0005Xj-59 for ; Sat, 22 May 2010 10:25:41 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 55BBB2E8404 for ; Sat, 22 May 2010 10:25:38 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 22 May 2010 09:16:46 -0000 From: Michael Tokarev Sender: bounces@canonical.com References: <20100522091646.29377.77828.malonedeb@soybean.canonical.com> Message-Id: <20100522091646.29377.77828.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 584139] [NEW] keymapping error for usb keyboard (windows/menu keys) Reply-To: Bug 584139 <584139@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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=3D578846. 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, ** 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 corr= ect for "ps/2" keyboard emulation however. See Debian bug#578846: http://b= ugs.debian.org/cgi-bin/bugreport.cgi?bug=3D578846. 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,