On Tue, 11 Dec 2007, Eric Estievenart wrote:

> >> - Did someone test such devices in mass storage mode with
> >> ohci drivers ? May this be an endianness issue on the ohci driver ?
> > 
> > The OHCI drivers work just fine on PowerPC machines, which are 
> > big-endian.  Have you tried using a 2.6.23 kernel?
> 
> Not yet, this is a very specific embedded hardware prototype, and I
> don't want to brick it in the next few days. Furthermore
> it probably requires specific kernel patches to run properly
> and I am not sure to have the exact source tree...
> 
> > It sounds like the phone works perfectly on the x86 system.  The mipseb
> > system has some problem, but it's hard to tell what.  Have you tried 
> > plugging other USB devices into that computer?
> 
> Yes. ehci mass storage devices seem to work fine. Many other 1.1 mass
> storage (at least 3-4) fail.
> 
> Thank you for the explanation, I'll feel less dumb tonight.
> For now I'll have a look at the diff between the usb tree of
> my device and a recent kernel one, to see if somethings looks
> plausibly fixing the bug. Maybe then I'll recompile just the modules.

It could still be an endianness problem.  Some OHCI hardware uses one 
byte ordering for the register access and a different byte ordering for 
the in-memory data structures.  If you look through the Kconfig file in 
drivers/usb/host you'll see some of the options.  Also check out ohci.h 
in the same directory.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to