[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] usb-serial: wakeup device on input
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH] usb-serial: wakeup device on input |
Date: |
Mon, 9 Mar 2020 11:08:22 +0100 |
On Fri, Mar 06, 2020 at 09:09:17AM -0500, Jason Andryuk wrote:
> 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 <address@hidden>
Added to usb patch queue.
thanks,
Gerd