From owner-freebsd-usb@FreeBSD.ORG Thu Jan 19 19:26:29 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2262116A41F for ; Thu, 19 Jan 2006 19:26:29 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 694DB43D53 for ; Thu, 19 Jan 2006 19:26:28 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3) with ESMTP id k0JJQCKv023158; Thu, 19 Jan 2006 20:26:12 +0100 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k0JJQCnC023156; Thu, 19 Jan 2006 20:26:12 +0100 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k0JJBpAY013690; Thu, 19 Jan 2006 20:11:51 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k0JJBnms013689; Thu, 19 Jan 2006 20:11:49 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Thu, 19 Jan 2006 20:11:49 +0100 To: Warner Losh Message-ID: <20060119191149.GA13509@saturn.kn-bremen.de> References: <20060117225131.GA6571@saturn.kn-bremen.de> <20060117.162938.68129078.imp@bsdimp.com> <20060117.163851.10386451.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060117.163851.10386451.imp@bsdimp.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-usb@freebsd.org Subject: Re: ehci not used(?) when connected device turned on later 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, 19 Jan 2006 19:26:29 -0000 On Tue, Jan 17, 2006 at 04:38:51PM -0700, Warner Losh wrote: > From: Warner Losh > Subject: Re: ehci not used(?) when connected device turned on later > Date: Tue, 17 Jan 2006 16:29:38 -0700 (MST) > > > From: Juergen Lock > > Subject: ehci not used(?) when connected device turned on later > > Date: Tue, 17 Jan 2006 23:51:31 +0100 > > > > > Is this a known problem with the 5.4 usb code? > > > > > > 1. connect an externally powered umass device (eg a harddrive with > > > its own psu) thats turned off > > > 2. boot freebsd > > > 3. turn the device on later > > > > > > then it gets only usb 1.1 speed even when ehci is in the kernel. > > > You have to reconnect it _while being turned on_ to get usb2 speed. > > > Same problem if you turn it off after use and later turn it back on > > > while still being connected... > > > > > > Is there a fix? (With linux it works as expected, if that means > > > anything... :) > > > > > > Oh, please Cc me with followups, I'm not subscribed on -usb (yet?) > > > > I have no idea what you are saying. > > > > ehci is used for me when I plug in my devices, or when I turn them > > on. Do you have ehci in your kernel? It was disabled by default in > > 5.4. > > Oh, I'm slow today... > > I'm pretty sure that -current does the right thing, but I'll double > check tonight. I got one instance of `40.000MB/s transfers' dmesg after turning it on today, so apparently it only `sometimes' doesnt work. (Next try it didn't.) Some kind of race? Maybe the `rate of success' depends on the device as well, as you haven't seen the problem at all... (right?)