I am assuming you meant 4096 bytes.. What do you mean by.. "BTW, For
linux host, i use old framework of adb in target" ? Are you saying
that the usb transfer seen when using windows is same as linux, except
the 0 length packet ?

On Aug 27, 12:21 am, Kyo Yin <kyo....@gmail.com> wrote:
> thank you for help.i have built the adb.exe
>
> and i have a question:
> In my opinion, adb will send a 0 length packet after a packet if thie packet
> length is multiple of the max length of endpoint.
> For example, our endpoint is 64 bytes. So after every 4096 packets, adb.exe
> should send a 0 length packet.
>
> I found the adb.exe has already try to send a 0 length packet.but
> 1.in linux host, our usb analyzer can catch the 0 length packet.
> 2.in windows host, our usb analyzer can not catch this 0 length packet.
>
> Did the widows driver block this 0 length packet?
>
> BTW, For linux host, i use old framework of adb in target, The composite
> driver can not run in ubuntu 8.04.
> For windows host, i use composite driver which has mass storage and adb in
> target.
>
> 2009/8/19 Roman ( T-Mobile USA) <roman.baumgaert...@t-mobile.com>
>
>
>
>
>
> > For being able to compile an exe file on Ubuntu you would have to
> > cross compile on Ubuntu which means you have to have a Windows cross
> > compiler on it. Do you?
>
> > If not then install Cygwin on your windows environment and try it
> > again. Make sure that you read the related topics about Android/Cygwin
> > compilation to be aware of any possible provlems.
>
> > --
> > Roman Baumgaertner
> > Sr. SW Engineer-OSDC
> > ·T· · ·Mobile· stick together
> > The views, opinions and statements in this email are those of the
> > author solely in their individual capacity, and do not necessarily
> > represent those of T-Mobile USA, Inc.
>
> > On Aug 18, 9:38 pm, Kyo Yin <kyo....@gmail.com> wrote:
> > > hi roman    1.How do you try to compile?
> > >     i just use "make HOST_OS=windows" in ubuntu.
> > >     2.Are you doing this on Cygwin?
> > >     no.i use ubuntu.
>
> > >     do you mean i should use cygwin to build adb.exe for windows?
>
> > > kyo
> > > 3273
>
> > > 2009/8/19 Roman ( T-Mobile USA) <roman.baumgaert...@t-mobile.com>
>
> > > > How do you try to compile? Are you doing this on Cygwin?
>
> > > > --
> > > > Roman Baumgaertner
> > > > Sr. SW Engineer-OSDC
> > > > ·T· · ·Mobile· stick together
> > > > The views, opinions and statements in this email are those of the
> > > > author solely in their individual capacity, and do not necessarily
> > > > represent those of T-Mobile USA, Inc.
>
> > > > On Aug 18, 5:41 am, Kyo <kyo....@gmail.com> wrote:
> > > > > hi,everyone.
> > > > >     i want to modify the usb_windows.c in /system/core/adb and
> > > > > recompile a new adb.exe to test our platform.
> > > > >     but, when i use "make HOST_OS=windows", it failed.
> > > > >     i use ubuntu 8.04 and i can build with "make HOST_OS=linux".
> > > > >     does anyone know how to build my adb.exe?
>
> > > > >     thanks
>
> > > > > kyo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to