diff options
| author | Jason Andryuk | 2020-03-06 15:09:17 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2020-03-09 11:06:36 +0100 |
| commit | 5843b6b35250139d91220ac3b75d467703e345b3 (patch) | |
| tree | 4126abeda924df6191c5911fbcfe6977f36b304b /python | |
| parent | Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (diff) | |
| download | qemu-5843b6b35250139d91220ac3b75d467703e345b3.tar.gz qemu-5843b6b35250139d91220ac3b75d467703e345b3.tar.xz qemu-5843b6b35250139d91220ac3b75d467703e345b3.zip | |
usb-serial: wakeup device on input
Currently usb-serial devices are unable to send data into guests with
the xhci controller. Data is copied into the usb-serial's buffer, but
it is not sent into the guest. Data coming out of the guest works
properly. usb-serial devices work properly with ehci.
Have usb-serial call usb_wakeup() when receiving data from the chardev.
This seems to notify the xhci controller and fix inbound data flow.
Also add USB_CFG_ATT_WAKEUP to the device's bmAttributes. This matches
a real FTDI serial adapter's bmAttributes.
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Message-id: 20200306140917.26726-1-jandryuk@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
