Thanks Alan, While I was at it I also enabled debug logs for xhci_hcd and xhci_pci. $ echo module usbcore =p > /sys/kernel/debug/dynamic_debug/control $ echo module xhci_hcd =p > /sys/kernel/debug/dynamic_debug/control $ echo module xhci_pci =p > /sys/kernel/debug/dynamic_debug/control $ modprobe usbmon $ cat /sys/kernel/debug/usb/usbmon/0u > /tmp/usbmon.log $ # press power button dmesg: https://gist.github.com/anonymous/29b81574abf40605f999cfeefe98e341 usbmon: https://gist.github.com/anonymous/55b6d9bbf8b8c8627230b10d2b09dcb6 Both logs were collected at the same time so the timestamps should match. Resume starts at dmesg line 1255. As far as I can judge, the earliest indication of something going wrong is line 1514: [ 36.087176] xhci_hcd 0000:00:14.0: xHCI xhci_urb_enqueue called with unaddressed device [ 36.087180] usb 2-4: Disable of device-initiated U1 failed. [ 36.087212] xhci_hcd 0000:00:14.0: xHCI xhci_urb_enqueue called with unaddressed device [ 36.087224] usb 2-4: Disable of device-initiated U2 failed. [ 36.087226] xhci_hcd 0000:00:14.0: xHCI xhci_urb_enqueue called with unaddressed device [ 36.087227] usb 2-4: usb_reset_and_verify_device Failed to disable LTM 2018-01-22 22:39 GMT+01:00 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > On Mon, 22 Jan 2018, Samuel Sadok wrote: > >> As requested by Chen Yu on bugzilla, I added no_console_suspend=1 to >> the kernel cmdline and updated to the (roughly) latest kernel, >> 4.14.14-1-ARCH. >> >> Here's the new log: >> https://pastebin.com/buhEMyKk >> >> From a quick comparison with the old log I don't see any significant >> difference, except that these messages >> >> [ 32.671107] xhci_hcd 0000:00:14.0: Cannot set link state. >> [ 32.671112] usb usb2-port4: cannot disable (err = -32) >> [ 32.671153] xhci_hcd 0000:00:14.0: Cannot set link state. >> [ 32.671157] usb usb2-port4: cannot disable (err = -32) >> >> don't repeat forever. > > It would be helpful to include debugging information in your log. > Before starting the suspend, do: > > echo module usbcore =p >/sys/kernel/debug/dynamic_debug/control > > You could also collect a usbmon trace while running the test; it might > help too. > > 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