diff options
author | Jason Andryuk <jandryuk@gmail.com> | 2020-03-06 09:09:17 -0500 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-09 11:06:36 +0100 |
commit | 5843b6b35250139d91220ac3b75d467703e345b3 (patch) | |
tree | 4126abeda924df6191c5911fbcfe6977f36b304b /include/authz | |
parent | 67f17e23baca5dd545fe98b01169cc351a70fe35 (diff) |
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 'include/authz')
0 files changed, 0 insertions, 0 deletions