usb/110855: ugen: interrupt in msgs are truncated when buffer is full

Hans Petter Selasky hselasky at c2i.net
Wed Mar 28 14:28:54 UTC 2007


On Wednesday 28 March 2007 11:41, Markus Henschel wrote:
> Hans Petter Selasky schrieb:
> > The following reply was made to PR usb/110855; it has been noted by
> > GNATS.
> >
>
> Hi,
>

Could you edit /sys/dev/usb/umass.c

Then lookup:

usbd_delay_ms(uaa->device, 1000);

Change it into:

usbd_delay_ms(uaa->device, 5000);

Then lookup in the function "umass_attach()":

sc->sc_last_xfer_index = UMASS_T_BBB_COMMAND;

and change it into:

sc->sc_last_xfer_index = UMASS_T_BBB_RESET2;

Compile a new kernel and see what happens when you plug the stick again.

--HPS


More information about the freebsd-usb mailing list