ibusbk claim interface fail after 32 loops

michel <[email protected]> Mon, 13 Jul 2015 00:14:42 -0700 (MST)
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <[email protected]>
I'm doing a simple repetitive open/close test using libusb 1.0.19 and libusbk
3.0.7

The target device is a composite device based on CDC/ACM  (2 interface MI0
and MI1) type configuration but with vendor specific class code 

basically what i'm doing 

libusb_open(device, &handle);
libusb_claim_interface(handle,1);

libusb_release_interface(handle,1);
libusb_close(handle);

After 32 loops claim interface will fail with error -3 
this doesn't happen with 3.0.6  thousand loops can be execuetd without any
problem

i'm using win-7 64 

failure occur in both 32/64 bits (mingw32/64) . 




--
View this message in context: http://libusb.6.n5.nabble.com/ibusbk-claim-interface-fail-after-32-loops-tp5714845.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/