OSDN Git Service

usb-host: remove 'remote wakeup' flag from configuration descriptor
authorYuri Benditovich <yuri.benditovich@daynix.com>
Wed, 8 Jan 2020 09:10:43 +0000 (11:10 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 13 Jan 2020 08:17:31 +0000 (09:17 +0100)
commit7bacaf5fea5729d400201106359f6803b15621af
treeaec306ed8f89bebe33f6325a9bbfd3dc97b79f3f
parentdc65a5bdc9fa543690a775b50d4ffbeb22c56d6d
usb-host: remove 'remote wakeup' flag from configuration descriptor

If the redirected device has this capability, Windows guest may
place the device into D2 and expect it to wake when the device
becomes active, but this will never happen. For example, when
internal Bluetooth adapter is redirected, keyboards and mice
connected to it do not work. Current commit removes this
capability (starting from machine 5.0)
Set 'usb-host.suppress-remote-wake' property to 'off' to keep
'remote wake' as is or to 'on' to remove 'remote wake' on
4.2 or earlier.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Message-id: 20200108091044.18055-2-yuri.benditovich@daynix.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/core/machine.c
hw/usb/host-libusb.c
hw/usb/trace-events