On Jun 23, 2008, at 6:49 AM, shivaprasad javali wrote:

>      The usb device that I am working with doesnot have a unique  
> serial no
> for each usb device. So I have to use the port no of the port it is
> connected to identify the device uniquely. Is there an API in  
> libhid that I
> can use to get port no?


Look in src/hid_presentation.c for hid_write_identification() - it  
prints a "location" which should probably work for your needs.

-- 
Charles Lepple




_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss

Reply via email to