Re: [Libusbx-devel] USB port number

2012-05-08 Thread Peter Stuge
Janko Kolar wrote: > I would like to determine to which usb port particular device is > attached. I can see this information with UsbView from Microsoft > or UsbDeview program. Please clarify exactly which information you want, and how you want to use it? UsbView and UsbDeview are unfamiliar to me

Re: [Libusbx-devel] USB port number

2012-05-08 Thread Tim Roberts
Xiaofan Chen wrote: > On Sat, May 5, 2012 at 1:02 AM, Tim Roberts wrote: >> Janko Kolar wrote: >>> I am new to libusbx and I have one basic question >>> >>> I would like to determine to which usb port particular device is attached. >> Why? Of what possible use is this information? USB hubs are n

Re: [Libusbx-devel] USB port number

2012-05-07 Thread Xiaofan Chen
On Sat, May 5, 2012 at 1:02 AM, Tim Roberts wrote: > Janko Kolar wrote: >> I am new to libusbx and I have one basic question >> >> I would like to determine to which usb port particular device is attached. > > Why?  Of what possible use is this information?  USB hubs are not > externally labeled.

Re: [Libusbx-devel] USB port number

2012-05-04 Thread Tim Roberts
Janko Kolar wrote: > I am new to libusbx and I have one basic question > > I would like to determine to which usb port particular device is attached. Why? Of what possible use is this information? USB hubs are not externally labeled. If I tell you "you are in port 3", what good does that do you

Re: [Libusbx-devel] USB port number

2012-05-03 Thread Pete Batard
Hi Janko, On 2012.05.03 13:23, Janko Kolar wrote: > I would like to determine to which usb port particular device is attached. > I can see this information with UsbView from Microsoft or UsbDeview program. This is the topology call, which we plan to implement in the v1.0.12 release of libusbx -

[Libusbx-devel] USB port number

2012-05-03 Thread Janko Kolar
Hello I am new to libusbx and I have one basic question I would like to determine to which usb port particular device is attached. I can see this information with UsbView from Microsoft or UsbDeview program. I have tested lisdev.c program from examples directory however function libusb_get_devic