Why don't you try to make them composite
On Jul 30, 10:29 pm, Jon <[email protected]> wrote:
> Anyone got any ideas?
>
> On Jul 27, 5:11 pm, Jon <[email protected]> wrote:
>
> > I am currently trying to build both adb and gadget support into an
> > Android kernel.
> > Kernel was originally 2.6.27.10 but I believe it has been patched by a
> > third party and therefore I'm unsure where it is now.
>
> > I have tried building the g_serial.ko and g_android.ko modules to be
> > loaded dynamically into the kernel.
>
> > > The Gadget module (g_serial.ko) works ok this way and I can connect
> > > successfully to a PC.
> > > The adb module (g_android.ko) doesn't seem to load and I cannot connect
> > > to PC. (This is without the g_serial modules running, so there's no
> > > conflict issue)
>
> > I then tried building adb statically into the kernel.
>
> > > Adb works and I can connect to PC and access logging, shell, etc..
>
> > The problem is that when Adb is built statically into the kernel there
> > doesn't seem to be any way to also build Gadget support into the
> > kernel. Loading the g_serial.ko module dynamically into an Adb built
> > kernel doesn't seem to work either.
>
> > Does anyone know either how to build both Adb and Gadget support into
> > kernel statically or how to get both the Adb and Gadget modules to
> > load correctly together?
>
> > Thanks in advance
> > Jon
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---