On Thu Feb  5 09:28:09 PST 2015, [email protected] wrote:
> labs loaddevdescr() reads 255+18 bytes device descriptor
> instead of 18 bytes for some reason. try changeing the
> following line in /sys/src/cmd/usb/lib/dev.c in loaddevdescr():
> 
>       uchar buf[Ddevlen+255];
> 
> to:
> 
>       uchar buf[Ddevlen];
> 
> and see if you still get the short descriptor warning.
> 
> [REDACTED] did this change in [REDACTED] fixing problem with some
> usb ethernet device.

that sounds about right.  but there are many other gaffes like this.

- erik

Reply via email to