Re: REGRESSION: usbdevfs:Use-scatter-gather-lists-for-large-bulk-transfers
From: Henrik Rydberg
Date: Thu Oct 11 2012 - 17:52:03 EST
On Thu, Oct 11, 2012 at 08:50:33AM +0200, Peter Stuge wrote:
> Henrik Rydberg wrote:
> > > What is the programming cable and software that uses it?
> >
> > The programmer is impact, using libusbx-1.0.14-1.
>
> Do you know for a fact that your version calls libusb-1.0? Did you
> establish this with e.g. strace? ISE 11.1 impact uses only libusb.so,
> ie. libusb-0.1.
I modified libusbx during testing, and yes, it is really used.
> > The patch is pretty generic, so I am suprised the problem has not
> > shown up earlier.
>
> There are several explanations. There is clearly a problem with Hans'
> patch(es) for some cases, but those are perhaps not so common.
As it turned out, all cases of large bulk transfers, so I guess 3.6
has not been that widely tested yet. ;-)
> I've reviewed Hans' patch that he added to libusbx and which is in
> libusbx-1.0.14, but I am not sure that it is correct, which is why
> I haven't included it in libusb yet.
I looked at it for a while, it does seem correct.
Thanks,
Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/