]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
usb-tablet: Don't claim wakeup capability for USB-2 version
authorHans de Goede <hdegoede@redhat.com>
Tue, 2 Apr 2013 17:15:05 +0000 (19:15 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 4 Apr 2013 20:33:52 +0000 (15:33 -0500)
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 <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit aa1c9e971e80d25b92908dce3dec7c38b49480ea)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/dev-hid.c

index 29b64819abdbaf6b549b90c38d4f135e202a9b37..801f32b6416f53ae31e6f48f86eeee02408f2073 100644 (file)
@@ -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,