On Mon, Dec 26, 2005 at 11:47:04AM +0000, Pavan Savoy wrote: > Hi, > How can I exactly know to what physical port I have connected my device ?, I want something like this if I connect to port 1 I want to register as /dev/device1...and so on.... > > devpath[i] did give me a value but its not consistant, for example, when device uses EHCI... it gives (1-8) in my 8 port PC, but when it uses UHCI... it is detected as 1-2, 1-2 and so...on, what should I do ? Great question, care to ask this on the linux-usb-devel mailing list and CC me? That way I can answer it in public to enable everyone else to know the answer, and let the search engines pick it up. Make sure that you do not send html email to that list, or your message will be rejected. thanks, greg k-h
Send instant messages to your online friends http://in.messenger.yahoo.com
On Mon, Dec 26, 2005 at 11:47:04AM +0000, Pavan Savoy wrote: > Hi, > How can I exactly know to what physical port I have connected my device ?, I want something like this if I connect to port 1 I want to register as /dev/device1...and so on.... > > devpath[i] did give me a value but its not consistant, for example, when device uses EHCI... it gives (1-8) in my 8 port PC, but when it uses UHCI... it is detected as 1-2, 1-2 and so...on, what should I do ?
Great question, care to ask this on the linux-usb-devel mailing list and CC me? That way I can answer it in public to enable everyone else to know the answer, and let the search engines pick it up. Make sure that you do not send html email to that list, or your message will be rejected. thanks, greg k-h
