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: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to