Fwd: Enabling USB (auto)suspend for xHCI controllers incurs random device failures since kernel 4.15

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

 




Since the upgrade to Linux 4.15 (and also in 4.16), I'm experiencing an issue where all my USB devices just die seemingly without any cause. Both my laptop's internal (attached) keyboard as well as my external keyboard die.

Replugging the external keyboard unfortunately does not solve the problem. My touchpad, on the other hand, continues to work, though it may internally be connected via PS/2.

After this happens, I have only been able to solve it by rebooting.

In the logs, the following error can be found.

xhci_hcd 0000:3d:00.0: xHCI host controller not responding, assume dead

Previously, similar issues occurred to users that could be fixed by adding intel_iommu=false to the kernel parameters. This however seems to be a different problem, as it newly occurs in this specific kernel version and is not solved by the aforementioned solution.

This was also posted at the Archlinux forums [1], where we managed to pin down the issue to being related to xHCI and autosuspend (power management). I'm using powertop's --auto-tune and disabling the "good" setting for all xHCI controllers again makes the issue disappear. Linux 4.14 and lower also do not expose this issue.

Please also find attached the complete journalctl output of one boot from start to finish that exposed the issue, which may be helpful during debugging. [1]

Posted to this mailing list as requested by Greg Kroah-Hartman. Apologies for not doing this sooner, but all the archive links on the site were dead for me, so I assumed (wrongly) that it was no longer used.

Thanks!

Architecture: x86-64
Kernel Version: 4.16.8
Bugzilla link: [2]

[1] https://bugzilla.kernel.org/attachment.cgi?id=275907
[2] https://bugzilla.kernel.org/show_bug.cgi?id=199681

--
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



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

  Powered by Linux