Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-26 Thread Yidong Han
Hi Chris, OK, then, USB driver just do some tricks to integrate serial number with MAC address. Yeah, tks a lot. Best wishes, Yidong 2010/2/26 Chris Stratton > If they are really out of ideas they could use the MAC from whatever > wireless/bluetooth/ethernet they have on the device as part of

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-26 Thread Yidong Han
Hi Mike, I just heard that some HTC devices do have the same serial no. But anyway, thanks a lot for your reply, very useful information:) Best wishes, Yidong 2010/2/26 Mike Lockwood > In the android devices I have worked on, the serial number is > programmed into flash. The bootloader passe

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Chris Stratton
If they are really out of ideas they could use the MAC from whatever wireless/bluetooth/ethernet they have on the device as part of the unit unique serial number. On Feb 25, 2010 10:41 PM, "Mike Lockwood" wrote: In the android devices I have worked on, the serial number is programmed into flash.

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Mike Lockwood
In the android devices I have worked on, the serial number is programmed into flash. The bootloader passes it to the kernel via the kernel command line and this is then passed to the USB driver. See arch/arm/mach-msm/devices-htc.c in the msm kernel for an example. Mike On Thu, Feb 25, 2010 at 9

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Yidong Han
Hi Mike, Thanks a lot for your quick reply. But I still get some confusions. Like HTC, they assigned device serial number like the followings: HT97KL900624 device HT94LLZ00229 device If they assigned it by this way, HT97KL should be the model name, the following digits may be the real serial n

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread San Mehat
On Thu, Feb 25, 2010 at 11:02 AM, Mike Lockwood wrote: > 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. > > *SMH* > Mike > > On We

[android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Yidong Han
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 0123456789ABCDEFdevice 0123456789ABCDEFdevice 0123456789ABCDEFdevice 0123456

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Mike Lockwood
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 wrote: > Now I am trying to plug in many