From owner-freebsd-usb@FreeBSD.ORG Wed May 25 07:48:16 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6AFD1065670 for ; Wed, 25 May 2011 07:48:16 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (unknown [IPv6:2001:44b8:7c07:5581:266:e1ff:fe0c:8f16]) by mx1.freebsd.org (Postfix) with ESMTP id 514CB8FC12 for ; Wed, 25 May 2011 07:48:14 +0000 (UTC) Received: from [192.168.42.215] (maarsy.rocketrange.no [128.39.153.30]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p4P7lpBo087681 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 25 May 2011 17:17:55 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <201105250933.13255.hselasky@c2i.net> Date: Wed, 25 May 2011 09:47:50 +0200 Content-Transfer-Encoding: 7bit Message-Id: <99FAD844-DDC8-4C3D-8117-0887CB893728@gsoft.com.au> References: <91D613ED-CA0F-41BF-AD53-2FD42529DCF8@gsoft.com.au> <201105250933.13255.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1084) X-Spam-Score: -1.5 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-usb@freebsd.org Subject: Re: USB driver locking 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: Wed, 25 May 2011 07:48:16 -0000 On 25/05/2011, at 9:33, Hans Petter Selasky wrote: > On Tuesday 24 May 2011 23:48:30 Daniel O'Connor wrote: >> I find that my application has rare problems where it does not get a reply >> from the micro to a control bus packet, or perhaps the micro doesn't >> receive it (I need to add a sequence number or similar to my protocol to >> try and detect it I think). > > There was a data toggle issue fixed with the EHCI recently, which triggers > depending on hardware timing. Are you running the latest 8-stable or 9- This one? http://svnweb.freebsd.org/base?view=revision&revision=219845 I have that as I am running 219926 > current. There is also a new utility called usbdump, which can be used to > figure out what is going on. I am running 9-current (in production for my sins..) usbdump is useful but consumes too much CPU at my data rate :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C