Hi Dave,

David Brownell wrote:
On Monday 08 May 2006 5:06 pm, Duck wrote:

Hi,

I'm working on an ARM-based SoC with an ARC USB block.  It has
2 EHCI host controllers and an OTG controller.  Everything
worked fairly well on a 2.6.10+ kernel.  However, after moving my
code to 2.6.16.11, I'm having absoultely no luck talking to a
device with any host controller.


HCD initialization has changed substantially since then, addressing
various design bugs.  But that doesn't seem to be an obvious issue,
since the resulting init looks OK here.

One problem is that you're getting an ERR irq from EHCI, presumably
just highlighting what the QTD_STS_HALT flag in the qtd token says
in the first few requests.  You didn't see that in earlier kernels,
and so the obvious question is why _that_ request is losing.

Now, I _did_ see one successful descriptor fetch, after the fallback
to the "old style" enumeration.  So it looks like the controller is
doing many of the right things, and signals are likely getting to/from
the downstream device.


I don't have any bright ideas for you, sorry.  Double check clock
and PLL setup ... see if other USB peripherals have the same issue.
(Try full, low, and high speed devices.)

If you have any kind of USB sniffer (CATC etc) then this would be
a good time to use it.  Just borrowing one for a few days could
save a lot of time.

- Dave

Thanks for your help.  It turns out that we didn't quite move
all the necessary cache controller code from 2.6.10 to 2.6.16.
Not doing so caused consistent_sync() to not exactly behave
correctly, which is a very bad thing.  All is well now.

Thanks again,
--duck



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to