Yes. I have a Google ADK board, and an original Motorola Droid. I was able to patch userland to claim it supported the board, and install the demo apk, and then I was also able to bring in a lot of the new drivers/usb/gadget code to the omap kernel, including f_accessory.c, and successfully compile and copy that over to my phone. I was able to confirm that my kernel was running. Also, adb over usb kept working, so I know my patching didn't completely obliterate USB on the device. That makes me relatively optimistic that I or someone can backport these kernel patches to the droid kernel, but I'm a little stuck at this point as how to debug kernel patches.
Adam Wolf On Jun 19, 2011 3:59 PM, "John Vidler" <j.vid...@lancaster.ac.uk> wrote: > Jagan, > > I believe that Adam is referring to this: > http://developer.android.com/guide/topics/usb/adk.html > > Also, to anyone interested in mucking about with this, it might be worth > checking out this and the links to resources on the page: > http://www.sparkfun.com/products/10748 > > - John > On 19 Jun 2011 19:33, "jagan" <402ja...@gmail.com> wrote: >> Hi Adam, >> >> Can you clear me what is USB Accessory support (ADK stuff)? >> Is this newly added feature in 2.3.4? >> >> Regards, >> Jagan >> >> On Sat, Jun 18, 2011 at 4:11 AM, adamwolf <adamww...@gmail.com> wrote: >> >>> I was able to get a running kernel with the f_accessory.c/h files, >>> along with some of the new gadget stuff, on my phone today. adb over >>> usb still works, which is a good sign! Using dmesg, it appears that >>> the phone sees the gadget ADK board when it's plugged in. The DemoKit >>> application doesn't seem to detect it, however. Any ideas on how to >>> progress from here? >>> >>> Adam Wolf >>> >>> On Jun 17, 8:19 am, adamwolf <adamww...@gmail.com> wrote: >>> > Is there any hope of getting USB Accessory support (ADK stuff) in the >>> > omap kernel? >>> > >>> > I tried to port over the changes last night but I got a little lost >>> > and over my head. I added the f_accessory.c/h files, and the >>> > appropriate Makefile and Kconfig stuff to pull them in, and that >>> > worked, but of course they used different functions than the omap usb >>> > gadget support. In "fixing it", I ended up getting stuck after having >>> > to modify the otg and usbhid internals. >>> > >>> > Any pointers, or even a "No, that's going to be ridiculously >>> > difficult" would be appreciated. >>> > >>> > Adam Wolf >>> >>> -- >>> unsubscribe: android-kernel+unsubscr...@googlegroups.com >>> website: http://groups.google.com/group/android-kernel >>> >> >> -- >> unsubscribe: android-kernel+unsubscr...@googlegroups.com >> website: http://groups.google.com/group/android-kernel > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel