On Tuesday 25 April 2006 3:22 am, rakesh kn wrote:
> Hi,
> 
> The OTG driver would consist of 3 kernel modules ,
> Host driver module, Device driver module, and OTG transceiver driver module.
> ...
> Should we were to load all three modules at the same time.
>                           Or
> Is it that the OTG module be loaded first 

I think you're asking the wrong question.  The right one is how
the system should appear externally, and it has a simple answer:
it should be impossible for anyone to see a "broken" state such
as "works in host mode but not peripheral mode".


What that means is that if you have real OTG hardware, you should
not let any of the controllers activate until all both host and
peripheral stacks are ready.  Specifically, the gadget driver
must have been registered (hence the peripheral controller driver)
as well as the host controller driver.

You'll need logic -- probably in the OTG-specific software -- to
hold off activating host side until peripheral side is ready,
and vice versa.


> We are studying OMAP implementation. but donot how exaclty the modules
> get loaded , in which order .

OTG first, since it coordinates the other two.  The other drivers
can go in pretty much any order, except that the gadget driver
obviously can't be loaded before the peripheral controller driver.

- Dave



-------------------------------------------------------
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