[libhid-discuss] Need API for identifying the port no to which the usb device is connected

Peter Stuge stuge-libhid at cdy.org
Tue Jun 24 06:06:19 UTC 2008


On Tue, Jun 24, 2008 at 11:07:27AM +0530, shivaprasad javali wrote:
> I want to get the port no programatically from within my c driver code.

Right.


> I could parse the device files to get the port no I want but is
> there any better way like an API or something that I can use to get
> this no easily.

Sorry, noone bothered wrapping it in libusb 0.1.

Look into the libusb 1.0 API however, it may be there - I forget. :\


//Peter



More information about the libhid-discuss mailing list