From owner-freebsd-usb@FreeBSD.ORG Fri Jun 15 06:44:50 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 DC37C16A41F for ; Fri, 15 Jun 2007 06:44:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 4100D13C455 for ; Fri, 15 Jun 2007 06:44:50 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe05.swip.net (CommuniGate Pro SMTP 5.1.9) with ESMTPA id 420054749; Fri, 15 Jun 2007 08:44:48 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 15 Jun 2007 08:44:44 +0200 User-Agent: KMail/1.9.5 References: <200704191213.21299.durian@shadetreesoftware.com> <200705261346.00555.durian@shadetreesoftware.com> <200706141031.28532.durian@shadetreesoftware.com> In-Reply-To: <200706141031.28532.durian@shadetreesoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706150844.44930.hselasky@c2i.net> Cc: Subject: Re: umass0: BBB reset failed, TIMEOUT on internal card reader 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: Fri, 15 Jun 2007 06:44:50 -0000 On Thursday 14 June 2007 18:31, Mike Durian wrote: > On Saturday 26 May 2007, Mike Durian wrote: > > On Tuesday 24 April 2007, Hans Petter Selasky wrote: > > > On Friday 20 April 2007 17:36, Mike Durian wrote: > > > > On Friday 20 April 2007, Hans Petter Selasky wrote: > > > > > I would suggest you install the new USB stack from: > > > > > > > > > > http://www.turbocat.net/~hselasky/usb4bsd/ > > > > > > > > > > How to get the latest sources: > > > > > > > > > > svn --username anonsvn --password anonsvn \ > > > > > checkout svn://svn.turbocat.net/i4b > > > > > # > > > > > # The following commands will > > > > > # install the driver on FreeBSD: > > > > > # > > > > > cd i4b/trunk/i4b/FreeBSD.usb > > > > > make S=../src package > > > > > make install > > > > > > > > > > Install on FreeBSD 6.x . > > > > > > > > > > When you have rebooted your computer, then you turn on debugging: > > > > > > > > > > sysctl hw.usb.umass.debug=-1 > > > > > > > > > > Then post the dmesg you get. > > > > > > > > > > --HPS > > > > > > I have found a small data-toggle bug in my EHCI driver. I assume that > > > your device is USB2.0. Could you do a "svn update", repeat the install > > > procedure, and then build a new kernel. > > > > > > Then send me the dmesg with "sysctl hw.usb.umass.debug=-1", when you > > > plug your device. > > > > > > --HPS > > > > I've cvsup'd my source tree and svn updated the i4b code (both as of > > May 26, 2007) but I'm still not having any luck with the card reader. > > It seemed to work in single user mode, but fails in multi-user mode. > > It didn't detect card insertion in single user mode either. I had to > > unplug the entire card reader, insert the compact flash card and then > > plug-in the card reader to get it to detect the card in single user mode. > > > > I'm attaching two debug outputs. One from single user mode and the other > > from multi-user mode. > > > > mike > > Since I've hit a wall with the experimental USB code with regards to > the card reader, perhaps it is time to return to my original question. > > How does one determine which proto and quirk values are necessary for > finicky umass devices? > > mike You need to turn on "umass" debugging and see what fails. sysctl hw.usb.umass.debug=-1 --HPS