The branch stable/14 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=4337e2bd5f895d945f87a364e341c613e47c5cf9
commit 4337e2bd5f895d945f87a364e341c613e47c5cf9 Author: Kyle Evans <[email protected]> AuthorDate: 2026-08-11 01:26:47 +0000 Commit: Kyle Evans <[email protected]> CommitDate: 2026-09-04 15:39:57 +0000 usb: xhci: allow up to 1s for SET_ADDRESS Some devices take a little longer, and the spec doesn't really seem to mandate a maximum. The common path in usbd_req_set_address() has already been bumped to 1s and I have a headset (Logitech H390) that does need a little bit longer, so let's match it in xhci. Reviewed by: aokblast (cherry picked from commit 135df778543123a7dea08553c78da1b51a6b3098) --- sys/dev/usb/controller/xhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c index c9820ce55423..8793611fdc81 100644 --- a/sys/dev/usb/controller/xhci.c +++ b/sys/dev/usb/controller/xhci.c @@ -1334,7 +1334,7 @@ xhci_cmd_set_address(struct xhci_softc *sc, uint64_t input_ctx, trb.dwTrb3 = htole32(temp); - return (xhci_do_command(sc, &trb, 500 /* ms */)); + return (xhci_do_command(sc, &trb, 1000 /* ms */)); } static usb_error_t
