Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2007 14:26:38 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: libusb usb_interrupt_read hangs under FreeBSD
Message-ID:  <200704031426.38277.hselasky@c2i.net>
In-Reply-To: <a276da400704030427g6fcfdc37u43bdf0fd1cd69ea8@mail.gmail.com>
References:  <a276da400704030427g6fcfdc37u43bdf0fd1cd69ea8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704031426.38277.hselasky>