https://bugzilla.kernel.org/show_bug.cgi?id=219824 --- Comment #11 from Mathias Nyman (mathias.nyman@xxxxxxxxxxxxxxx) --- (In reply to Artem S. Tashkinov from comment #9) > Created attachment 307725 [details] > xhci_hcd and usb debug log Thanks, It does show some last minute urb canceling for endpoints on the 1-3 device before suspend, and some more canceling after resume. Also overflow/underflow messages after resume indicating that endpoint might be started early. > > I'm confused. > > If I resume the laptop and don't run these three commands immediately, all > the USB ports eventually die (usually under 5 minutes). > > If I resume the laptop and run these commands immediately, USB ports > continue working like they always did before. So, weirdly and unexpectedly, > when debugging is on ... it fixes the issue. dynamic debug adds delays, and the code that starts and stops endpoints is a bit timing sensitive. Could be that enabling debug hides the issue. Can you still run one more try with xhci tracing instead of dynamic debug? It does not affect timing as much: mount -t debugfs none /sys/kernel/debug echo 81920 > /sys/kernel/debug/tracing/buffer_size_kb echo 1 > /sys/kernel/debug/tracing/events/xhci-hcd/enable echo 1 > /sys/kernel/debug/tracing/tracing_on < Reproduce issue > Send content of /sys/kernel/debug/tracing/trace The trace file grows fast so copy it as soon as possible after issue is triggered. Thanks -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.