Fasil,

Did you have some other usb gadget also enabled while debugging with
adb via USB. I am wondering if it will be possible?
To debug with adb over USB with for example gadgetFS running.

Thanks&Regards,
voks

On Jan 11, 12:49 am, Fasil Mohamed <mfasi...@gmail.com> wrote:
> Hi,
>
>         I have enabled the adb debugging with target viaUSBOTG.
> On enabling the following configuration
>
>  Device Drivers->USBSupport->USBGadgetsupport ->USBGadget
> Drivers -> AndroidGadget
>
> I got the android.c file compiled including f_adb.o 
> (drivers/usb/gadget/android.c) and it also depends on /drivers/switch which 
> has
> switch_gpio
>
> Once this Androidgadgetis enabled, adb connection is established
> which can be viewed while booting android. Further on connectingUSB
> you can login to adb shell, view dalvik debug manager and lots
> more....
>
> Regards
> Fasil
>
> On Dec 18 2009, 11:48 am, Fasil Mohamed <mfasi...@gmail.com> wrote:
>
> > Hi,
>
> >      I want to debug an application crash with adb for the target OMAP
> > platform running Android donut. At present I m having USB_OTG support
> > in my kernel for my target platform OMAP which has only storage
> > support. The kernel I m using is 2.6.29 for OMAP3530.
>
> >      I need to understand  the role of the file android.c in /drivers/
> >usb/gadgets and what are all  kernel support it requires  to use adb
> > for debugging. I m also not sure of how to useUSBgadgetdrivers for
> > debugging with adb for the Target platform(connectivity with the
> > target). As the application we are testing depends entirely on the
> > hardware , we cannot use emulator to debug.
> > Kindly help me to fix this issue.
>
> > Thanks and Regards
> > Fasil
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to