Date: Thu, 4 Oct 2012 12:14:47 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Guido van Rooij <guido@gvr.org> Cc: freebsd-usb@freebsd.org Subject: Re: usb3 umass device on usb2 port not recognised Message-ID: <201210041214.47534.hselasky@c2i.net> In-Reply-To: <20121004083344.GA33440@gvr.gvr.org> References: <20121003200529.GA26591@gvr.gvr.org> <201210041028.11226.hselasky@c2i.net> <20121004083344.GA33440@gvr.gvr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 04 October 2012 10:33:44 Guido van Rooij wrote:
> ct 4 10:31:23 beck kernel: uhub_reattach_port: Port 3 is in Host Mode
> Oct 4 10:31:24 beck kernel: uhub_read_port_status: port 3,
> wPortStatus=0x0500, wPortChange=0x0001,
Hi,
There is a high speed port detection, but it somehow fails. wPortChange=0x0001
In:
sys/dev/usb/controller/ehci.c
Lookup this and you find the reset sequence which is failing.
case UHF_PORT_RESET:
DPRINTFN(6, "reset port %d\n", index);
Suggestions:
a) Do the reset sequence twice.
b) Reduce the USB reset delays.
/* Wait for reset to complete. */
usb_pause_mtx(&sc->sc_bus.bus_mtx,
USB_MS_TO_TICKS(USB_PORT_ROOT_RESET_DELAY));
--HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210041214.47534.hselasky>
