On Wed, May 21, 2008 at 12:07:24PM +0530, Ankita Prasad wrote: > Every time I enumerate my device, the OS gives me a new handle. > This is okay when I just have one hid device connected. But when I > have more than one device then maintaining 1:1 relationship between > my application and the hid devices is an issue.
The USB specification intends you to use device serial numbers for this purpose. > This can be done if I know the actual port to which my hid device > is connected. This will actually not help much, because once a device is disconnected you can not know if it is the same one, or a different device just like it, that is plugged into a different port. > Can I figure out the specific port to which my device is connected > using Device Path using libhid? I don't think so. //Peter _______________________________________________ libhid-discuss mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss

