On Tuesday 07 December 2004 9:49 pm, li xinyi wrote: > Hi, all > > I am writing diagnostic code and linux device driver for ohci > compatible host controller. I've been reading the USB spec and Linux > OHCI drvier code for weeks. Still I am clueless how is USB subsystem > is designed, which means how the framework/ model is generated from > the USB spec.
Designed? I thought it just grew spontaneously! :) > Can anyone provide help on this, and where can I find a original > design documentation of the USB subsystem? Especially the big picture > of the USB subsytem and how it is created. I'm not sure you'll find such a document, either for USB or any other part of the Linux kernel. I'd look for correspondences between the USB 2.0 spec and the code from the latest 2.6 kernels in various areas like: - hub driver and ch11 - usb_device, config descriptors, and ch9 ... plus lots of others. The 2.6 code aligns a lot better than the 2.4 code, and also has kerneldoc; I hope you did a "make pdfdocs" with 2.6 and then looked at the USB documentation. However we're still working on making all that work well, and the rest of Linux is changing at the same time, so you'll probably end up with questions. This mailing list is the right place to ask them. - Dave > Thanks and Regards, > Li Xinyi > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel