From patchwork Sat May 22 09:16:46 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 53262 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 91C52B7D24 for ; Sat, 22 May 2010 19:27:11 +1000 (EST) Received: from localhost ([127.0.0.1]:60976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFkz6-0002bI-7g for incoming@patchwork.ozlabs.org; Sat, 22 May 2010 05:27:08 -0400 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 Date: Sat, 22 May 2010 09:16:46 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: patch X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: mjt+launchpad-tls References: <20100522091646.29377.77828.malonedeb@soybean.canonical.com> Message-Id: <20100522091646.29377.77828.malonedeb@soybean.canonical.com> X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="None"; Instance="initZopeless config overlay" X-Launchpad-Hash: 7043b22e24e449f9c2453db2fd7bc5a8b689a937 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [Qemu-devel] [Bug 584139] [NEW] keymapping error for usb keyboard (windows/menu keys) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Reply-To: Bug 584139 <584139@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@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=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, ** 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,