Each device needs to have its own unique serial number even if they
are the same model.  That is the whole point of the serial number.
Otherwise there is no way to tell them apart and you have this
problem.

Mike

On Wed, Feb 24, 2010 at 9:43 PM, Yidong Han
<[email protected]> wrote:
> Now I am trying to plug in many devices with same model and hence same
> serial number to the host Ubuntu PC.
>
> When I execute the command:
> $ adb devices
>
> I got these results:
>
> List of devices attached
> 0123456789ABCDEF        device
> 0123456789ABCDEF        device
> 0123456789ABCDEF        device
> 0123456789ABCDEF        device
> ......
>
> All the above are the real devices with the same serial number.
>
> If I run:
> $ adb shell
>
> error: more than one device and emulator
>
> $adb -s 0123456789ABCDEF shell
> #
>
> But for the last case, the adb just connect the first plugged in
> device, and I could not find way to connect to other devices.
>
> So do you guys know a way to work this problem around?
>
> And I notices, the emulator could be identified by port number, like:
>
>
> List of devices attached
> emulator-5554  device
> emulator-5556  device
> emulator-5558  device
> ...
>
> How could I implement such mechanism for the real devices?
>
> I will thank you so much for your help.
>
> Best wishes,
> Neil
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel
>



-- 
Mike Lockwood
Google android team

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to