On 2019-07-29 11:44, Hans Petter Selasky wrote:
On 2019-07-29 10:37, Mariappan N wrote:
Hi HPS,
Attached the USB analyzer trace for Garmin and other working device
connected to XHCI. Please download from the following link.
<https://www.dropbox.com/s/prnlpc1uiucpu3b/xhci_usb_working.ufo?dl=0>
https://www.dropbox.com/sh/jkw2zns9l857e4v/AACp7r3dGjR-r9Vfy9KDmzZ6a?dl=0
Hi,
Basically the Garmin doesn't respond to status stage of the set address
message, which is a clear USB specification violation. I wonder if doing
a bus-reset right before the set-address, like in the other trace, will
cause the device to recover. Can you make a new trace with the attached
patch?
Also try this patch, reverting the previous one.
--HPS
Index: sys/dev/usb/controller/xhci.c
===================================================================
--- sys/dev/usb/controller/xhci.c (revision 349802)
+++ sys/dev/usb/controller/xhci.c (working copy)
@@ -4261,9 +4261,6 @@
switch (usb_get_device_state(udev)) {
case USB_STATE_POWERED:
- if (sc->sc_hw.devs[index].state == XHCI_ST_DEFAULT)
- break;
-
/* set default state */
sc->sc_hw.devs[index].state = XHCI_ST_DEFAULT;
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"