From owner-freebsd-usb@FreeBSD.ORG Wed Apr 4 07:37:24 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 6A7F116A404 for ; Wed, 4 Apr 2007 07:37:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 05AF213C45A for ; Wed, 4 Apr 2007 07:37:23 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 457080452; Wed, 04 Apr 2007 09:37:22 +0200 From: Hans Petter Selasky To: "Xiaofan Chen" Date: Wed, 4 Apr 2007 09:37:02 +0200 User-Agent: KMail/1.9.5 References: <200704031642.26519.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704040937.02219.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: libusb usb_interrupt_read hangs under FreeBSD 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, 04 Apr 2007 07:37:24 -0000 On Wednesday 04 April 2007 01:55, Xiaofan Chen wrote: > On 4/3/07, Hans Petter Selasky wrote: > > Hi, > > > > I think that your device is broken, and goes bad when it receives a > > clear-stall request for the interrupt pipe. That is not very uncommon. > > Could you be more clearer? I'd like to communicate this problem > to the firmware developer of PICKit 2 inside Microchip. Thanks. The chip does not handle a clear-stall request on the control pipe to clear-stall on the interrupt pipe. The result is that the interrupt pipe stops, or at least all buffers are cleared. I could be more detailed, but I think the developers will understand what I mean. --HPS