I was looking through the source for hid_find_usb_device()
and was wondering why, once you find a device, you don't check to see if it already open with hid_is_open(). That way, multiple calls to hid_find_device() will not only return a match, but an un-opened match. Otherwise, how do you find multiple devices with the same Vendor ID and Product ID? The problem I'm running into, is with multiple devices on the USB bus. The calls to hid_find_usb_device is returning the first match, and so I can't get a handle (no pun intended) on the the other devices with the same
Vendor and Product ID.

Warren
_______________________________________________
libhid-discuss mailing list
[email protected] https://ailab.ch/mailman/listinfo/libhid-discuss

Reply via email to