From patchwork Sat May 28 15:47:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin O'Connor X-Patchwork-Id: 97804 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 31178B6F84 for ; Sun, 29 May 2011 01:48:04 +1000 (EST) Received: from localhost ([::1]:36057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQLk9-0002K1-Kj for incoming@patchwork.ozlabs.org; Sat, 28 May 2011 11:48:01 -0400 Received: from eggs.gnu.org ([140.186.70.92]:47421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQLk1-0002Jj-Ts for qemu-devel@nongnu.org; Sat, 28 May 2011 11:47:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQLk1-00052g-3f for qemu-devel@nongnu.org; Sat, 28 May 2011 11:47:53 -0400 Received: from mail-qy0-f180.google.com ([209.85.216.180]:33716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQLk0-00052c-Ud for qemu-devel@nongnu.org; Sat, 28 May 2011 11:47:53 -0400 Received: by qyk10 with SMTP id 10so1654004qyk.4 for ; Sat, 28 May 2011 08:47:52 -0700 (PDT) Received: by 10.229.20.83 with SMTP id e19mr2387969qcb.288.1306597672374; Sat, 28 May 2011 08:47:52 -0700 (PDT) Received: from localhost (207-172-165-101.c3-0.avec-ubr1.nyr-avec.ny.cable.rcn.com [207.172.165.101]) by mx.google.com with ESMTPS id g1sm1735229qck.44.2011.05.28.08.47.51 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 May 2011 08:47:51 -0700 (PDT) Date: Sat, 28 May 2011 11:47:50 -0400 From: Kevin O'Connor To: qemu-devel@nongnu.org Message-ID: <20110528154750.GA27805@morn.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.180 Cc: Gerd Hoffmann Subject: [Qemu-devel] [RESEND][PATCH 2/2] The USB tablet should not claim boot protocol support. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The USB tablet advertises that it supports the "boot" protocol. However, its reports aren't "boot" protocol compatible. So, it shouldn't claim that. Signed-off-by: Kevin O'Connor --- hw/usb-hid.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/usb-hid.c b/hw/usb-hid.c index 268669b..dc659bf 100644 --- a/hw/usb-hid.c +++ b/hw/usb-hid.c @@ -142,7 +142,6 @@ static const USBDescIface desc_iface_tablet = { .bInterfaceNumber = 0, .bNumEndpoints = 1, .bInterfaceClass = USB_CLASS_HID, - .bInterfaceSubClass = 0x01, /* boot */ .bInterfaceProtocol = 0x02, .ndesc = 1, .descs = (USBDescOther[]) {