RE: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Paul Zimmerman wrote: > > The problem may have something to do with the fact that the keyboard's > > internal hub runs at full speed. The other devices you tested, which > > worked okay, would have been low speed and high speed but not full > > speed. > > The original email

RE: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-14 Thread Paul Zimmerman
> From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Alan Stern > Sent: Friday, February 14, 2014 9:09 AM > > On Thu, 13 Feb 2014, Ben Collins wrote: > > > On Feb 13, 2014, at 10:19 AM, Alan Stern wrote: > > > On Thu, 13 Feb 2014, Peter Chen wrote: > >

Re: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-14 Thread Alan Stern
On Thu, 13 Feb 2014, Ben Collins wrote: > On Feb 13, 2014, at 10:19 AM, Alan Stern wrote: > > On Thu, 13 Feb 2014, Peter Chen wrote: > > > - If you have a usb bus analyzer, please check if the GET_DESCRPTOR > sends out successfully. > (Most probably, I don't think it sends out) >

Re: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-13 Thread Ben Collins
On Feb 13, 2014, at 10:19 AM, Alan Stern wrote: > On Thu, 13 Feb 2014, Peter Chen wrote: > - If you have a usb bus analyzer, please check if the GET_DESCRPTOR sends out successfully. (Most probably, I don't think it sends out) >>> >>> I've attached a screen cap of the USB capture

Re: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-13 Thread Ben Collins
On Feb 13, 2014, at 10:19 AM, Alan Stern wrote: >> Since I can't see device IN response for setup stage from your capture >> log, but I assume the device is ok. > > If the SETUP packet is invalid, the device won't respond to it. If the > SETUP packet is valid, the device MUST respond with ACK.

Re: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-13 Thread Alan Stern
On Thu, 13 Feb 2014, Peter Chen wrote: > > > - If you have a usb bus analyzer, please check if the GET_DESCRPTOR sends > > > out successfully. > > > (Most probably, I don't think it sends out) > > > > I've attached a screen cap of the USB capture. At the to in red is the > > "SETUP txn" that fa

Re: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-13 Thread Peter Chen
On Wed, Feb 12, 2014 at 03:36:57PM -0500, Ben Collins wrote: > On Feb 9, 2014, at 9:38 PM, Peter Chen wrote: > >> > >>desc = (struct usb_device_descriptor *)tmpbuf; > >>dev->descriptor.bMaxPacketSize0 = 64; /* Start off at 64 > >> bytes */ > >>/* Default to 64 byte

Re: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-09 Thread Ben Collins
On Feb 9, 2014, at 9:38 PM, Peter Chen wrote: >> >> >> Unfortunately, similar reports on the U-Boot mailing list have been met >> with no useful information. I'm asking here because 1) the setup works on >> Linux, and 2) there are a lot of knowledgable USB folks here. >> >> That being said, my

RE: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-09 Thread Peter Chen
> > Unfortunately, similar reports on the U-Boot mailing list have been met > with no useful information. I'm asking here because 1) the setup works on > Linux, and 2) there are a lot of knowledgable USB folks here. > > That being said, my issue has to do with a Freescale PowerPC SoC based > sy