From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 5 Feb 2015 11:15:44 -0800 To: 9fans@9fans.net Message-ID: <36e09ac7293b6debf2af3b1436c56003@brasstown.quanstro.net> In-Reply-To: <2d2a214ee9f7606cafa6b61b36686105@felloff.net> References: <2d2a214ee9f7606cafa6b61b36686105@felloff.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Raspberry Pi 2 Model B Topicbox-Message-UUID: 41bbb304-ead9-11e9-9d60-3106f5b1d025 On Thu Feb 5 09:28:09 PST 2015, cinap_lenrek@felloff.net 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