summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/xusb.c2
-rw-r--r--libusb/version_nano.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/xusb.c b/examples/xusb.c
index bf328fe..61ce4dd 100644
--- a/examples/xusb.c
+++ b/examples/xusb.c
@@ -914,6 +914,8 @@ static int test_device(uint16_t vid, uint16_t pid)
libusb_set_auto_detach_kernel_driver(handle, 1);
for (iface = 0; iface < nb_ifaces; iface++)
{
+ int ret = libusb_kernel_driver_active(handle, iface);
+ printf("\nKernel driver attached for interface %d: %d\n", iface, ret);
printf("\nClaiming interface %d...\n", iface);
r = libusb_claim_interface(handle, iface);
if (r != LIBUSB_SUCCESS) {
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index fa21711..374ee65 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11641
+#define LIBUSB_NANO 11642