Re: what code calls the gadget composite driver's setup method?

2014-04-28 Thread Larry Martin
Alan and Rajaram, thanks for your help. I have not looked at Linux kernel builds in this detail before. I have been trying to recompile modules for the Linaro 3.5 kernel that we adopted last year. I can see now there is no choice but to start building kernels and modules together. I have

Re: what code calls the gadget composite driver's setup method?

2014-04-28 Thread Alan Stern
On Sun, 27 Apr 2014, Larry Martin wrote: > Alan is right, the code I wanted is in gadget/omap_udc.c. How/where is > that code linked? > > I put in some printks and do not get the output. My new printk strings > are not in g_printer.ko, but other strings from composite.c and > printer.c are t

Re: what code calls the gadget composite driver's setup method?

2014-04-27 Thread Larry Martin
Alan is right, the code I wanted is in gadget/omap_udc.c. How/where is that code linked? I put in some printks and do not get the output. My new printk strings are not in g_printer.ko, but other strings from composite.c and printer.c are there. Grep does not hit "omap-udc" in my kernel, s

Re: what code calls the gadget composite driver's setup method?

2014-04-26 Thread Alan Stern
On Sat, 26 Apr 2014, Larry Martin wrote: > I am developing a USB print capture device based on Gumstix Overo (TI > OMAP) and the Gadget printer driver in Linaro 3.5.0 distribution. I got > Linaro from: > > https://github.com/gumstix/linux/tree/omap-3.5 > > and this describes my build process:

what code calls the gadget composite driver's setup method?

2014-04-26 Thread Larry Martin
I am developing a USB print capture device based on Gumstix Overo (TI OMAP) and the Gadget printer driver in Linaro 3.5.0 distribution. I got Linaro from: https://github.com/gumstix/linux/tree/omap-3.5 and this describes my build process: http://gumstix.8.x6.nabble.com/Linaro-linux-source-ha