[SeaBIOS] : USB 3.0 port failed if a USB 3.0 device is attached when power up

Zheng Bao fishbaoz at hotmail.com
Wed Aug 26 01:50:49 CET 2015


The patch doesn't work.

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


More information about the SeaBIOS mailing list