On 17.11.2016 11:26, Greg KH wrote:
On Thu, Nov 17, 2016 at 11:14:14AM +0200, Mathias Nyman wrote:
USB-3 does not have any link state that will avoid negotiating a connection
with a plugged-in cable but will signal the host when the cable is
unplugged.
For USB-3 we used to first set the link to Disabled, then to RxDdetect to
be able to detect cable connects or disconnects. But in RxDetect the
connected device is detected again and eventually enabled.
Instead set the link into U3 and disable remote wakeups for the device.
This is what Windows does, and what Alan Stern suggested.
Cc: stable@xxxxxxxxxxxxxxx
Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
Can I put this in -next and get it some testing before going to Linus
for 4.10-rc1, or do you think it needs to get into 4.9-final due to
people complaining about this? If so, is it a regression or just
something that we have never done before (I think the latter, but want
to make sure...)
Latter, -next is fine.
I think this has always been an issue with usb3.
I found bugs from 2011 where users complained about this.
-Mathias
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html