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;