From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <36e09ac7293b6debf2af3b1436c56003@brasstown.quanstro.net> References: <2d2a214ee9f7606cafa6b61b36686105@felloff.net> <36e09ac7293b6debf2af3b1436c56003@brasstown.quanstro.net> Date: Fri, 6 Feb 2015 06:22:59 +1100 Message-ID: From: Shane Morris To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e014940ae65d866050e5c3ba3 Subject: Re: [9fans] Raspberry Pi 2 Model B Topicbox-Message-UUID: 41c05666-ead9-11e9-9d60-3106f5b1d025 --089e014940ae65d866050e5c3ba3 Content-Type: text/plain; charset=UTF-8 Did someone say there was a Zynq kernel? On Fri, Feb 6, 2015 at 6:15 AM, erik quanstrom wrote: > 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 > > --089e014940ae65d866050e5c3ba3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Did someone say there was a Zynq kernel?

On Fri, Feb 6, 2015 at 6:15= AM, erik quanstrom <quanstro@quanstro.net> wrote:
On Thu= Feb=C2=A0 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():
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0uchar buf[Ddevlen+255];
>
> to:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0uchar 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.=C2=A0 but there are many other gaffes = like this.

- erik


--089e014940ae65d866050e5c3ba3--