From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN4jj-0003Xb-2p for qemu-devel@nongnu.org; Tue, 02 Apr 2013 13:11:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN4je-0002ce-Ew for qemu-devel@nongnu.org; Tue, 02 Apr 2013 13:11:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN4je-0002cN-78 for qemu-devel@nongnu.org; Tue, 02 Apr 2013 13:11:02 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r32HB0rR002619 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Apr 2013 13:11:01 -0400 From: Hans de Goede Date: Tue, 2 Apr 2013 19:15:05 +0200 Message-Id: <1364922905-8235-1-git-send-email-hdegoede@redhat.com> Subject: [Qemu-devel] [PATCH] usb-tablet: Don't claim wakeup capability for USB-2 version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Hans de Goede , qemu-devel@nongnu.org Our ehci code does not implement wakeup support, so claiming support for it with usb-tablet in USB-2 mode causes all tablet events to get lost. http://bugzilla.redhat.com/show_bug.cgi?id=929068 Signed-off-by: Hans de Goede --- hw/usb/dev-hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c index 9701048..317b474 100644 --- a/hw/usb/dev-hid.c +++ b/hw/usb/dev-hid.c @@ -236,7 +236,7 @@ static const USBDescDevice desc_device_tablet2 = { .bNumInterfaces = 1, .bConfigurationValue = 1, .iConfiguration = STR_CONFIG_TABLET, - .bmAttributes = 0xa0, + .bmAttributes = 0x80, .bMaxPower = 50, .nif = 1, .ifs = &desc_iface_tablet2, -- 1.8.1.4