Re: USB driver resets

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

 



On 10.12.2018 14:24, Richard van der Hoff wrote:
On 05/12/2018 10:08, Richard van der Hoff wrote:

On 05/12/2018 09:44, Mika Westerberg wrote:
On Tue, Dec 04, 2018 at 04:02:56PM +0000, Richard van der Hoff wrote:

Sorry. The system is a Dell XPS13 9350, with an Intel DSL6340 Thunderbolt 3
bridge.

The dock is a Plugable UD-CA1 [2].

Also if you have dual boot or similar, do you experience similar issue
in Windows side?

I do have dual-boot, though I very rarely boot into Windows. Since the issue
is somewhat intermittent (for some reason it seems to happen particularly
when I'm in a video conference...) I wouldn't have a huge amount of
confidence of being able to reproduce it under Windows.

Thanks again.


[1] https://bugzilla.kernel.org/show_bug.cgi?id=201853
[2] https://plugable.com/products/ud-ca1/

This seems to be normal USB-C dock (not TBT).

Yes, that's my understanding too.

In the logs it looks like
at some point the USB link just goes down which makes the host side to
hot-remove xHCI and the intermediate PCIe ports.

The UD-CA1 dock site you linked above mentions connection issues with
some systems so I'm suspecting it is an issue with the dock itself not
with the kernel. It would be good if you could try to reproduce on
Windows side as well, basically doing the same things you do in Linux
(assuming it is possible) and see if it triggers.

OK, will give it a go. It'll probably take me a few days.

So I've not managed to reproduce the problem with Windows, despite doing the same things that normally trigger it under Linux. That of course doesn't tell us anything terribly conclusive in itself.

Any suggestions for next steps? I'd be happy to try taking it up with Plugable support if you think there's evidence that the problem is with the dock.



Do you have the beginning part of the dmesg? It could show why the USB devices all get disconnected.
The whole xhci usb host will be hotplug removed from the PCI bus when last device is disconnected, this
is roughly where your current dmesg starts.

Also adding xhci, and usb core dynamic debug could help:

mount -t debugfs none /sys/kernel/debug
echo -n 'module xhci_hcd =p' > /sys/kernel/debug/dynamic_debug/control
echo -n 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control

-Mathias



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

  Powered by Linux