On Monday 08 January 2007 2:46 pm, Meher wrote: > Hi, > Can any one point me to any documentation on the USB HCD frame > work in Linux.
Unless someone else wrote some, there is nothing other than the source code ... I've suggested folk look at OHCI, since that hardware's pretty simple to handle from a driver. (But don't get too distracted by the number of different kinds of bus glue available for it!) > I am trying to understand how the host controller > driver interfaces with the kernel and the USB Core layer. I am > familiar with the USB device driver<--> USB core interface details but > I have no information on the USB HCD layer. > I need this information to understand what I need to do if I have > to write code a new host controller like say Mentor graphics USB core > or some other host controller similar to it. Which Mentor graphics USB core would that be? If it's the MUSB HDRC OTG core, grab the Linux-OMAP tree (see the GIT directory on kernel.org) and look at drivers/usb/musb to see something that works moderately well on 2.6.19-omap1 ... and, I guess I can say now, is used on the Nokia N800 (followon to the N770) in peripheral/gadget mode. You probably aren't going to want to write a new driver for that hardware. If you want something "similar" to that (minimalist OTG core that drivers talk to more or less at the FIFO/endpoint level, possibly with DMA) that's another reason to look at that code. - Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
