Re: [PATCH] usbcore: Bug fix: USB3.0 device behind a USB3.0 hub can not suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Mar 2011, Andiry Xu wrote:

> The correct way to suspend/resume a USB3.0 device is to use Set
> PORT_LINK_STATE request. This patch makes USB3.0 external hub to use
> the right request to suspend and resume a USB 3.0 device.
> 
> Note USB3.0 root hub should also works comply with USB3.0 specification.
> It will be fixed in future patches.
> 
> Signed-off-by: Andiry Xu <andiry.xu@xxxxxxx>
> ---
>  drivers/usb/core/hub.c |   83 +++++++++++++++++++++++++++++++++++------------
>  1 files changed, 62 insertions(+), 21 deletions(-)

I don't know how Greg will feel about this.  He might be willing to 
accept it as a bug fix, or he might prefer to have something smaller 
that doesn't do as much.

Maybe you should also submit a patch that simply turns off the port 
power, so he'll have both options available for comparison.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux