On Fri, Jan 14, 2011 at 10:50 PM, v4 <[email protected]> wrote:

> According to Dev Guide (http://developer.android.com/guide/developing/
> tools/adb.html#devicestatus):
>
> - "adb devices" command was expected to print out connected devices
> each identified by a unique serial number in format of <type>-
> <consolePort>, eg. emulator-5554
>
>
Oops, the documentation is clearly wrong, the <port> stuff is only for
emulator instances.
Device serial numbers are pretty much diferent.


> In reality:
>
> 1 - the serial numbers are not in that format
>


> 2 - the serial numbers are identical to each other when I have more
> than one device of the same model connected, thus further adb commands
> to a specific device with -s <serialNumber> option are impossible
>
> This is probably specific to the specific device model you're using. I
assure you that each device should normally have an unique serial number.
We actually have adb connected to dozens of devices during our automated
testings, so we know it works. For the record, which model are you using?
And do you use a custom ROM?


> My questions:
>
> 1 - is there any solution to this problem, or did I miss anything?
> 2 - is adb source code publicly available (so I could fix it myself)?
>
>
Sure:
http://android.git.kernel.org/?p=platform/system/core.git;a=tree;f=adb;h=2f88fba5677dddb9bbd3dfab8f0da4b8b5dfa769;hb=cdeba1258b511b6df450221bcfb2572e5523558a

<http://android.git.kernel.org/?p=platform/system/core.git;a=tree;f=adb;h=2f88fba5677dddb9bbd3dfab8f0da4b8b5dfa769;hb=cdeba1258b511b6df450221bcfb2572e5523558a>Though
I suspect this might be related to your device's USB stack or firmware.

Good luck.


> -
>  v4
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to