On 2019-08-08 10:47, Hans Petter Selasky wrote:
Hi,

Can you revert previous patch and apply new patch and re-try the capture of dmesg and wire?


New patch with only USB chunks.

--HPS
Index: sys/dev/usb/controller/xhci.c
===================================================================
--- sys/dev/usb/controller/xhci.c	(revision 350625)
+++ sys/dev/usb/controller/xhci.c	(working copy)
@@ -1454,6 +1454,12 @@
 		/* execute set address command */
 		usbd_get_page(&hdev->input_pc, 0, &buf_inp);
 
+		/* wait 20ms */
+		if (address != 0) {
+			printf("WAITING A BIT\n");
+			usb_pause_mtx(NULL, hz / 50);
+		}
+
 		err = xhci_cmd_set_address(sc, buf_inp.physaddr,
 		    (address == 0), index);
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to