Hi, Have a look at CDCEther protocol (TCP/IP over USB). That would give you a better understanding and the inner working of Gadget Drivers.
http://www.qbik.ch/usb/devices/showdr.php?id=28 Regards Arun Date: Wed, 1 Jun 2005 09:47:50 +0530 From: John Smith <[EMAIL PROTECTED]> Reply-To: John Smith <[EMAIL PROTECTED]> To: [email protected] Subject: [linux-usb-devel] gadget drivers ?? Hi, I want to know how usb gadgets work. From, whatever i have understood. Suppose i want usb port to act as a ethernet port. then: This is for device side. If we assume ethernet driver to contain 2 layers. ------------------------------------------------- Layer which uses lower layer (say UP1) ------------------------------------------------- Layer deals with ethernet card (say LL1) ------------------------------------------------- Now, i want ip on usb. then. ------------------------------------------------ Layer which uses lower layer (say UP1) -------------------------------------------------- A conversion layer ; which converts normal ethernet data into USB format -------------------------------------------------- USB Drivers --------------------------------------------------- We, have a middle layer which does some form of conversion (ethernet to USB format) here. It could be Serial to USB format also. This is what i have understood. i want to know if i am right. On Host Side, Some Information is embedded for host usb drivers to extract and make a reverse conversion and it then gives to the appropriate driver, I want to know if my understanding is correct or not ? Are there any docs on net on this. i browsed linux-usb but information provided is more advanced for people like me. some simple docs are needed in this regard. Please Advice /J --__--__-- ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
