The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=135df778543123a7dea08553c78da1b51a6b3098
commit 135df778543123a7dea08553c78da1b51a6b3098 Author: Kyle Evans <[email protected]> AuthorDate: 2026-08-11 01:26:47 +0000 Commit: Kyle Evans <[email protected]> CommitDate: 2026-08-11 01:26:59 +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 Differential Revision: https://reviews.freebsd.org/D58717 --- 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 d1d98c1c74bd..c385631f22d7 100644 --- a/sys/dev/usb/controller/xhci.c +++ b/sys/dev/usb/controller/xhci.c @@ -1399,7 +1399,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
