[Bug 262882] [13.1-RC5] usb disconnects repeatedly, losing all attached devices on that USB hub
Date: Sat, 30 Apr 2022 19:04:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262882 --- Comment #26 from Hans Petter Selasky <hselasky@FreeBSD.org> --- Emanuel Haupt: There are were few relevant changes in that delta: Can you provide the output from dmesg, when "sysctl hw.usb.xhci.debug=16" when the issue occurs. You need "options USB_DEBUG" in the kernel configuration. Does this reverting/applying the commit below change anything. Do you know if your device is attached via thunderbolt? --HPS commit 245d5a65f5805864881e2601190e7783057d2768 Author: Hans Petter Selasky <hselasky@FreeBSD.org> Date: Thu Apr 21 16:59:09 2022 +0200 xhci(4): Ensure the so-called data toggle gets properly reset. Use the drop and enable endpoint context commands to force a reset of the data toggle for USB 2.0 and USB 3.0 after: - clear endpoint halt command (when the driver wishes). - set config command (when the kernel or user-space wants). - set alternate setting command (only affected endpoints). Some XHCI HW implementations may not allow the endpoint reset command when the endpoint context is not in the halted state. Reported by: Juniper and Gary Jennejohn Approved by: re (gjb) Sponsored by: NVIDIA Networking (cherry picked from commit cda31e734925346328fd2369585ab3f6767ec225) -- You are receiving this mail because: You are the assignee for the bug.