Hi,

I'm working on an USB gadget driver and currently I've got some questions
and, as I am a newbie on this, I hope some of you can help. The hardware
platform I am working on is an ARM 926EJ-S core SOC and the USB device
controller is one of the IPs in the SOC core. I've read quite a lot on the
Linux gadget driver architecture and I believe I've got the basic idea of
it. 

The development platform is running Linux 2.4.21-rmk2 and as far as I
understand this version (not till 2.4.23) doesn't support USB Gadget driver.
Therefore, in order to make my kernel to support it, should I patch the
2.4.31 Gadget code against my kernel? Or could I just copy whatever under
drivers/usb/gadget/ from kernels (from 2.4.23 to 2.4.31) that has USB Gadget
support to my current 2.4.21.rmk2 kernel and edit the Config.in and Makefile
myself? And so I can start working on it.

As I know that most of the development is based on 2.6 kernels and the
driver model infrastructure is different from 2.4. So what's the 2.4
backport actually involved? or even from 2.4.31 to my kernel 2.4.21? 

There are two example codes of PCI-based USB device controller card (net2260
and goku) I found under the /usb/gadget folder (from kernel 2.4.31). Since
the UDC I am working on is not PCI-based so what kind of device should I
create first and then bind to the gadget driver later?

These are the initial questions for now and I really need some help on this.
I hope someone can enlighten me and point me to the right direction thanks.

Andy




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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