From owner-freebsd-usb@FreeBSD.ORG Thu Oct 4 10:13:28 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B94A106564A for ; Thu, 4 Oct 2012 10:13:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8E57F8FC08 for ; Thu, 4 Oct 2012 10:13:26 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 326535690; Thu, 04 Oct 2012 12:13:19 +0200 From: Hans Petter Selasky To: Guido van Rooij Date: Thu, 4 Oct 2012 12:14:47 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <20121003200529.GA26591@gvr.gvr.org> <201210041028.11226.hselasky@c2i.net> <20121004083344.GA33440@gvr.gvr.org> In-Reply-To: <20121004083344.GA33440@gvr.gvr.org> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210041214.47534.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb3 umass device on usb2 port not recognised X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 10:13:28 -0000 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