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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-owner@xxxxxxxxxxxxxxx] 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 <stern@xxxxxxxxxxxxxxxxxxx> 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. At the to in red is the "SETUP txn" that fails in
> u-boot (shows Timed Out). Below on the second capture, the Get Descriptor succeeds to the same device,
> but this time from Linux.
> > >
> > > Have you compared the capture result with the same thing on a Linux PC?
> > >
> > > Can you make the capture data available publicly?
> >
> > Meant to add that the capture data is two captures. One is u-boot, the other is Linux. The SETUP
> packets look identical.
> >
> > I feel like this problem is completely in the driver. Something is not getting configured correctly
> with the qH/qTD. I'm still working on getting the Linux side of this out.
> 
> I agree, that's what it looks like.
> 
> 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 said:

> The status returned from the hcd is 0x4a (Stalled, XactErr, SplitXState)

Could the SplitXState be menaingful? Maybe something to do with transaction-
translator support in u-boot?

-- 
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux