peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0111-usb-tablet-Don-t-claim-wakeup-capability-for-USB-2-v.patch

44aa5d
From 2d3225f34dbe42d215c7809f5f82186eafe7f4c2 Mon Sep 17 00:00:00 2001
44aa5d
From: Hans de Goede <hdegoede@redhat.com>
44aa5d
Date: Tue, 2 Apr 2013 19:13:06 +0200
44aa5d
Subject: [PATCH 1/2] usb-tablet: Don't claim wakeup capability for USB-2
44aa5d
 version
44aa5d
44aa5d
Our ehci code does not implement wakeup support, so claiming support for
44aa5d
it with usb-tablet in USB-2 mode causes all tablet events to get lost.
44aa5d
44aa5d
http://bugzilla.redhat.com/show_bug.cgi?id=929068
44aa5d
44aa5d
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
44aa5d
---
44aa5d
 hw/usb/dev-hid.c | 2 +-
44aa5d
 1 file changed, 1 insertion(+), 1 deletion(-)
44aa5d
44aa5d
diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c
44aa5d
index 9701048..317b474 100644
44aa5d
--- a/hw/usb/dev-hid.c
44aa5d
+++ b/hw/usb/dev-hid.c
44aa5d
@@ -236,7 +236,7 @@ static const USBDescDevice desc_device_tablet2 = {
44aa5d
             .bNumInterfaces        = 1,
44aa5d
             .bConfigurationValue   = 1,
44aa5d
             .iConfiguration        = STR_CONFIG_TABLET,
44aa5d
-            .bmAttributes          = 0xa0,
44aa5d
+            .bmAttributes          = 0x80,
44aa5d
             .bMaxPower             = 50,
44aa5d
             .nif = 1,
44aa5d
             .ifs = &desc_iface_tablet2,
44aa5d
-- 
44aa5d
1.8.1.4
44aa5d