From: Jason K. <jas...@gm...> - 2010-04-27 18:27:33
|
> > And of course, if you don't like it, autoclaim can be disabled, but so > far, I haven't seen any hints that it was a problem for our users > (Jason's issue is not directly related to autoclaim), and it kind of > make sense to me that, if someone tried to issue a request forgot to > claim the interface(s) they need for it, we might as well do the > claiming for them as it's very straightforward to do so. This is my Code: // Claim our interface libusb_claim_interface (handle, 1); unsigned char data[1]; result = libusb_control_transfer(handle, LIBUSB_REQUEST_TYPE_VENDOR | LIBUSB_RECIPIENT_ENDPOINT | LIBUSB_ENDPOINT_IN, PEEK, address, 0, (char *)data, sizeof(data), 5000); I don't think it's necessary a problem with my setup. I'm claiming interface 1 and the debug message autoclaims interface 0 right before the control transfer that's issued directly after my claim. ~Jason |