Hi All,

I am in teh process of developing a gadget driver for our peripheral 
hardware. I have completed the non-gadget version (custom driver) for our 
peripheral controller, and am about to start with the Gadget driver. Do we 
have any guide as to the steps for creating a new udc driver?. I have a 
torrent of small noobie questions like this.. 
Once i insmod (or modprobe) my udc driver, the kernel never calls the 
probe() function. (Whereas for the dummy-hcd, probe() is called as soon as 
insmoded). As my structure and hardware initializations are done in the 
probe().. When i do an insmod of teh file_storage, it straightaway calls 
the usb_gadget_register_driver(), and as the software is not  initialized 
yet, it crashes. What is the exact order / time when the probe is called 
by the kernel? Any bits of info or tips will be quite helpful.

Thanks & Regards
Rajesh

***********************  Aricent-Unclassified   ***********************
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of 
the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be 
circulated or used for any purpose other than for what it is intended. If you 
have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this 
message. Aricent accepts no responsibility for 
loss or damage arising from the use of the information transmitted by this 
email including damage from virus."
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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