<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'>The patch doesn't work.<br><br><div>> Date: Tue, 25 Aug 2015 11:20:16 -0400<br>> From: kevin@koconnor.net<br>> To: fishbaoz@hotmail.com<br>> CC: vidwer@gmail.com; seabios@seabios.org<br>> Subject: Re: [SeaBIOS] : USB 3.0 port failed if a USB 3.0 device is attached when power up<br>> <br>> On Tue, Aug 25, 2015 at 06:11:53AM +0000, Zheng Bao wrote:<br>> > I tried with Parmer, which I assume is close to ASUS F2A85-M, and got the same result.<br>> > :(<br>> <br>> Does the patch below help?  (Make sure CONFIG_THREADS=y).<br>> <br>> -Kevin<br>> <br>> <br>> --- a/src/hw/usb-xhci.c<br>> +++ b/src/hw/usb-xhci.c<br>> @@ -364,6 +364,7 @@ xhci_hub_reset(struct usbhub_s *hub, u32 port)<br>>          writel(&xhci->pr[port].portsc, portsc);<br>>          if (wait_bit(&xhci->pr[port].portsc, XHCI_PORTSC_PED, XHCI_PORTSC_PED, 100) != 0)<br>>              return -1;<br>> +        msleep(20);<br>>          portsc = readl(&xhci->pr[port].portsc);<br>>          rc = speed_from_xhci[xhci_get_field(portsc, XHCI_PORTSC_SPEED)];<br>>          break;<br></div>                                         </div></body>
</html>