Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting which Device was removed



Thanks a lot, locationID works for us. I will check if the hardware people put anything useful in the serial...

Alex

Am 09.02.2006 um 20:28 schrieb Fernando Urbina:

If the device or any of the hubs upstream of it are not unplugged, the locationID will not change. If you see the device come and go, then you should not assume that the locationID is the same when it re-appears.

Of course, Serial # is the way to best identify identical devices. However, most devices don't use that field and some that do do not make them unique.

--
Fernando Urbina
USB Technology Team
Apple Computer, Inc.

On Feb 9, 2006, at 12:09 PM, DeanG wrote:

Is it safe to expect that if the USB topology changed and then changed
the locationID, the device would be disconnected at some point before
the topology change?


Getting the serial number is also a viable option here, correct?
Although this requires more calls (GetSerialNumberStringIndex,
GetStringDescriptor)

_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >Detecting which Device was removed (From: Alexander von Below <email@hidden>)
 >Re: Detecting which Device was removed (From: Fernando Urbina <email@hidden>)
 >Re: Detecting which Device was removed (From: DeanG <email@hidden>)
 >Re: Detecting which Device was removed (From: Fernando Urbina <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.