libusb usb_interrupt_read hangs under FreeBSD

Hans Petter Selasky hselasky at c2i.net
Tue Apr 3 14:42:51 UTC 2007


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


More information about the freebsd-usb mailing list