dcavalca / rpms / qemu

Forked from rpms/qemu 11 months ago
Clone

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

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