Hi Danke,

The modified source code is my office PC, I will be able to post it
only tomorw. But here is the file in LXR
            
http://lxr.free-electrons.com/source/drivers/usb/gadget/pxa27x_udc.c?v=2.6.27;a=arm

Thanks & Regards,
Vaisakh P S

On Aug 3, 2:00 am, Danke Xie <danke....@gmail.com> wrote:
> Hi Dark Knight,
>
> It seems to be likely that the warnings you get from the USB driver
> (pxa27x_udc.c) is related to the issues in adb shell, because it seems
> there is some transfer error. From the log, it looks like you hit a
> WARN_ON condition -- e.g., some list is unexpectedly empty. I can't
> find the same file you used, but if you can post the snippet which
> contains the warning, it may help others give you some information.
>
> Thanks,
> Danke
>
> On Aug 1, 8:48 pm, Dark Knight <vaisakhru...@gmail.com> wrote:
>
>
>
> > I have mentioned about my ADB problem in the following thread:
> >          
> > http://groups.google.co.in/group/android-porting/browse_thread/thread...
>
> > Thanks & Regards,
> > --
> > Vaisakh P S
> > (http://www.google.com/profiles/VaisakhRulez)
>
> > On Aug 2, 8:37 am, Dark Knight <vaisakhru...@gmail.com> wrote:
>
> > > Hi Everyone,
>
> > > I have ported the USB gadget driver (Android gadget) to my hardware
> > > platform, which is running on a PXA27x processor.
> > > Its able to connected with a Windows XP PC (I had modified the driver
> > > INF file to recognize the platform). But after a while, this warning
> > > is popping up in Terminal. What exactly is this?
>
> > >         ------------[ cut here ]------------
> > >         WARNING: at drivers/usb/gadget/pxa27x_udc.c:676 
> > > pxa_ep_free_request
> > > +0x30/0x40()
> > >         Modules linked in:
> > >         [<c02df9b8>] (dump_stack+0x0/0x14) from [<c0046b1c>] 
> > > (warn_on_slowpath
> > > +0x4c/0x84)
> > >         [<c0046ad0>] (warn_on_slowpath+0x0/0x84) from [<c01fdf94>]
> > > (pxa_ep_free_request+0x30/0x40)
> > >          r6:00000000 r5:00000003 r4:c082b2a0
> > >         android_usb gadget: full speed config #1: android
> > >         pxa27x-udc pxa27x-udc: ep3:pxa_ep_enable:usb_ep ep3out-bulk 
> > > already
> > > enabled, doing nothing
> > >         [<c01fdf64>] (pxa_ep_free_request+0x0/0x40) from [<c01ff420>]
> > > (do_set_interface+0xb0/0x270)
> > >          r4:c6bd8200
> > >         [<c01ff370>] (do_set_interface+0x0/0x270) from [<c01ffb70>]
> > > (do_set_config+0x44/0xc4)
> > >         [<c01ffb2c>] (do_set_config+0x0/0xc4) from [<c0200a10>]
> > > (fsg_main_thread+0x2d4/0x13a4)
> > >          r6:c6bd8200 r5:00000003 r4:00000000
> > >         [<c020073c>] (fsg_main_thread+0x0/0x13a4) from [<c005ce8c>] 
> > > (kthread
> > > +0x5c/0x94)
> > >         [<c005ce30>] (kthread+0x0/0x94) from [<c004a304>] 
> > > (do_exit+0x0/0x81c)
> > >          r6:00000000 r5:00000000 r4:00000000
> > >         ---[ end trace 632a34fbc087ceb8 ]---
>
> > > Also I facing certain problems to my ADB connection. Is it because of
> > > this warning?
>
> > > Thanks & Regards

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to