Mailing Lists: Apple Mailing Lists

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

USB device tree



Hi,

I need to develop an application that displays the USB device tree. As far as I can see the clue to figuring out the position of each USB device in tree is looking at their location ID's (in hex string format). Through experimentation I think I have figured out how to do that but I 
have a few questions:

1. Can I trust that the format of the location ID's will not change in future versions of OS X ? Is it documented anywhere ?
2. How do I determine with 100% accuracy if a device at a given location ID is a hub or not ? I guess one could search for the word "Hub" in the product string but that seems a bit risky.
3. On my PowerBook G4 DVI I get two "OHCI Root Hub simulation" - one at locationID 0x0000000 and the other at location 0x01000000. Why is this ?

Thanks

/Rolf
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



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.