Created attachment 217387 [details] dmesg for normal USB keyboard attachment Redragon K552-RGB keyboard turns off when FreeBSD 13-current finishes booting and is not reactivated after replugging. Attached is a dmesg for normal operation after r364379 - head/sys/dev/usb/controller is reverted.
Created attachment 217391 [details] Try this patch Hi, Can you try this patch? --HPS
(In reply to Hans Petter Selasky from comment #1) The patch works for me on a Ryzen 3 3200g
A commit references this bug: Author: hselasky Date: Thu Aug 20 17:45:55 UTC 2020 New revision: 364433 URL: https://svnweb.freebsd.org/changeset/base/364433 Log: Fix regression after r364379. The AMD's Ryzen 3 3200g XHCI controllers apparently need the evaluate control endpoint context command, but we don't need to issue this command when the bMaxPacketSize is received after the read of the USB device descriptor, because this part should be handled automatically. PR: 248784 Tested by: emaste, hselasky MFC after: 1 week Sponsored by: Mellanox Technologies Changes: head/sys/dev/usb/controller/xhci.c
A commit references this bug: Author: hselasky Date: Tue Sep 1 08:14:47 UTC 2020 New revision: 365029 URL: https://svnweb.freebsd.org/changeset/base/365029 Log: Fully revert r364379. The "Intel Sunrise Point-LP USB 3.0 controller" doesn't update the wMaxPacket field in the control endpoint context automatically causing a BABBLE error code on the initial first USB device descriptor read, when the bMaxPacketSize is not 8 bytes. Reported by: wulf@ PR: 248784 MFC after: 1 week Sponsored by: Mellanox Technologies Changes: head/sys/dev/usb/controller/xhci.c head/sys/dev/usb/controller/xhci.h
*** Bug 249051 has been marked as a duplicate of this bug. ***