From owner-freebsd-usb@FreeBSD.ORG Tue Apr 3 14:42:51 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 33FE216A403 for ; Tue, 3 Apr 2007 14:42:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id C013113C468 for ; Tue, 3 Apr 2007 14:42:50 +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 mailfe13.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 62813294; Tue, 03 Apr 2007 16:42:46 +0200 From: Hans Petter Selasky To: "Xiaofan Chen" Date: Tue, 3 Apr 2007 16:42:26 +0200 User-Agent: KMail/1.9.5 References: <200704031426.38277.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_SfmEGXqRbTLpN7f" Message-Id: <200704031642.26519.hselasky@c2i.net> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Tue, 03 Apr 2007 14:42:51 -0000 --Boundary-00=_SfmEGXqRbTLpN7f Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 try the attached patch. Just apply the patch by hand if "patch" won't take it. The file in question is /sys/dev/usb/ugen.c . After that, compile a new ugen module or kernel. If you are using the "ugen" module, then you can simply do like this after that you have re-installed it: kldunload ugen kldload ugen --HPS --Boundary-00=_SfmEGXqRbTLpN7f--