Re: Mass storage on nokia phones with ehci+ohci : not working ?!
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
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@xxxxxxxxxxxxxxxxxxxxx To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[Linux USB] [Linux USB Devel] [Video for Linux] [Linux Audio Users] [Photo] [Yosemite News] [Yosemite Photos] [Video Projectors] [PDAs] [Free Online Dating] [Hacking TiVo] [Linux Kernel] [Linux SCSI] [XFree86] [Devices] [Big List of Linux Books] [16.7MP]