1ms seems to short on my chromebook, increasing that to 5ms makes EHCI work.
Signed-off-by: Sven Schnelle svens@stackframe.org --- src/usb-ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/usb-ehci.c b/src/usb-ehci.c index 3c0be13..b53caa1 100644 --- a/src/usb-ehci.c +++ b/src/usb-ehci.c @@ -82,7 +82,7 @@ ehci_hub_detect(struct usbhub_s *hub, u32 port) writel(portreg, portsc); msleep(EHCI_TIME_POSTPOWER); } else { - msleep(1); // XXX - time for connect to be detected. + msleep(5); // XXX - time for connect to be detected. } portsc = readl(portreg);