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

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



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