Christopher Flordeliza
2017-07-03 06:50:20 UTC
Hi All,
I have a newbie question, hope someone can help me on this one.
Based from the documentation of libusb_set_configuration and libusb_claim_interface when another application is already using the interface you are going to configure or claim these functions will return LIBUSB_ERROR_BUSY (http://libusb.sourceforge.net/api-1.0/group__dev.html#ga32fabedf5f13fdecf1cb33acdb19b57a). I created an application that will set and claim a USB interface and run it twice. Both instances of the application successfully claimed the interface. Is this expected? is the documentation correct?
Another question, is there a way to determine if another application is trying to claim an interface that your application already claimed?
Thank you very much in advanced.
Regards,
Christopher
I have a newbie question, hope someone can help me on this one.
Based from the documentation of libusb_set_configuration and libusb_claim_interface when another application is already using the interface you are going to configure or claim these functions will return LIBUSB_ERROR_BUSY (http://libusb.sourceforge.net/api-1.0/group__dev.html#ga32fabedf5f13fdecf1cb33acdb19b57a). I created an application that will set and claim a USB interface and run it twice. Both instances of the application successfully claimed the interface. Is this expected? is the documentation correct?
Another question, is there a way to determine if another application is trying to claim an interface that your application already claimed?
Thank you very much in advanced.
Regards,
Christopher