Thread (6 messages) 6 messages, 4 authors, 2020-03-01

Re: r8151: check disconnect status after long sleep

From: David Miller <davem@davemloft.net>
Date: 2020-02-24 22:48:38
Also in: linux-usb, lkml

From: You-Sheng Yang <redacted>
Date: Mon, 24 Feb 2020 15:15:41 +0800
When hotplugging such dock with additional usb devices already attached on
it, the probing process may reset usb 2.1 port, therefore r8152 ethernet
device is also reset. However, during r8152 device init there are several
for-loops that, when it's unable to retrieve hardware registers due to
being discconected from USB, may take up to 14 seconds each in practice,
and that has to be completed before USB may re-enumerate devices on the
bus. As a result, devices attached to the dock will only be available
after nearly 1 minute after the dock was plugged in:
Your description of the problem and exactly what is happening is great,
but you are not explaining how exactly you are solving the problem and
why you are solving it in that way.

Please enhance your commit message the explain those things.

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help