<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I add a jmp $ here. After the code reach the loop, I press the reset button.<br>Then the set address command can not be success.<br><br><br>@@ -972,12 +974,13 @@ xhci_alloc_pipe(struct usbdevice_s *usbdev<br>         // Send set_address command.<br>         int cc = xhci_cmd_address_device(xhci, slotid, in);<br>         if (cc != CC_SUCCESS) {<br>             dprintf(1, "%s: address device: failed (cc %d)\n", __func__, cc);<br>             goto fail;<br>         }<br>+    asm volatile ("1: jmp 1b");<br>     } else {<br>         pipe->slotid = usbdev->slotid;<br>         // Send configure command.<br>         int cc = xhci_cmd_configure_endpoint(xhci, pipe->slotid, in);<br>         if (cc != CC_SUCCESS) {<br>             dprintf(1, "%s: configure endpoint: failed (cc %d)\n", __func__, cc);<br>  <br>Zheng<br><br><div><hr id="stopSpelling">From: fishbaoz@hotmail.com<br>To: kevin@koconnor.net<br>Date: Thu, 27 Aug 2015 07:41:07 +0000<br>CC: seabios@seabios.org<br>Subject: Re: [SeaBIOS] Unremovable USB3 device can not be detected after reboot<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">New finding.If I unplug, plug the SeaGate USB3.0<br>Harddrive and reset board,the harddrive can be detected successfully.<br>The debug message are the same as the first time.<br>It seems that the device is in a unstable state, which can only be rescued by poweroff.<br><br><br>Zheng<br>                                           </div>
<br>_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
http://www.seabios.org/mailman/listinfo/seabios</div>                                       </div></body>
</html>