On Saturday 31 July 2004 09:01, Herbert Poetzl wrote: > On Sat, Jul 31, 2004 at 08:49:00AM -0700, Greg KH wrote:
> > > > > information to build a gadget controller for s3c2410 > > > > > but it seems I'm out of luck here ... There are a bunch of folk who want a driver for that chip ... > > > > > all pages somehow point to the following url: > > > > > > > > > > http://www.linux-usb.org/gadget/ > > > > > > > > > > but I can find a recent tarball (kernel sources) > > > > > or some documentation anywhere ... > > > > > > > > See the latest 2.6 kernel tree, the sources are in there, along with a > > > > lot of documentation. Documentation includes Documentation/DocBook/gadget.tmpl which is easily turned into PDF or HTML. But it's not been updated recently. > > > hmm, well, actually that was the first place I > > > did look at ... but, some web pages talk about > > > a gadget library taking care of the USB stack > > > (for devices) which I can't find in the 2.6.8-rc2 > > > tree ... > > > > drivers/usb/gadget/* has everything you need... > > well, at least it seems to be all I have ;) The library code isn't actually linked into a ".a", it's just individually linked with gadget drivers that use it. So for example utilities to build string and config descriptors are library code, as is endpoint autoconfig stuff. All optional; you don't have to use them for gadget drivers, but they simplify things. > is the pxa2xx_udc.c a representative gadget controller > driver or would it be better to look at the device > part of the dummy_hcd hybrid? The simplest controller driver is goku_udc ... pxa2xx_udc has more hardware quirks/errata to cope with, which makes it a bit less interesting as a model for driver writers. - Dave ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel