On Tue, 7 Sep 2004, David Brownell wrote: > On Tuesday 07 September 2004 4:01 pm, Alan Stern wrote: > > > > A cleaner solution is to treat the pair of ports as a single root hub, and > > keep track of which port each device lies below. The problem with this > > approach is that the existing data structures don't give you any place to > > store that information! > > Actuallly you can find that out by walking udev->parent up until that > parent is the root hub, and using root->children[] ...
That won't work for new devices that haven't yet been added into the device tree and are still using address 0. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel