From owner-freebsd-usb@FreeBSD.ORG Tue Apr 3 12:27:04 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 8897C16A404 for ; Tue, 3 Apr 2007 12:27:04 +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 259D913C469 for ; Tue, 3 Apr 2007 12:27:03 +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 mailfe05.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 355348678; Tue, 03 Apr 2007 14:26:58 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 3 Apr 2007 14:26:38 +0200 User-Agent: KMail/1.9.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704031426.38277.hselasky@c2i.net> Cc: 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 12:27:04 -0000 On Tuesday 03 April 2007 13:27, Xiaofan Chen wrote: > I was redirected to this list as per the suggestion from the > libusb mailing list. > > It will be greatly appreciated that someone can suggest > how to debug this problem? With the new USB stack installed, do like this: sysctl hw.usb.debug=15 Then run you program. Then get all the lines with "ugen()" in the debug output. sysctl hw.usb.debug=0 --HPS