[EMAIL PROTECTED] wrote:

Any pointers would be very appreciated. I'd be willing to put some work into this, with the ultimate goal to port it back to 2.4. I'm not exactly an USB wizard, tho ;p

I think starting with the existing 2.4 "sa1100usb_core" non-gadget code might be easier than starting with its 2.6 "usdevcore" sibling.

"Gadgetized" ep1/ep2 code could mostly just wrap the old code;
there'd be a "usb_ep" queue head, "usb_request" objects would
be submitted, and the old code would do one request at a time.

Modifying the ep0 code would be a bit harder.  You'd certainly
learn enough USB to be dangerous!   Basically, the existing
code has to be changed so that most everything is handed up
to the gadget driver.

Try using the goku_udc code as a model.

- Dave



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to