X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/313d4a702aefeac3c8360141ae9037a8fdd47746..daa272b7823da525bb7a7fee01534591833d4a2e:/src/am7xxx.c diff --git a/src/am7xxx.c b/src/am7xxx.c index 321a193..1b3b758 100644 --- a/src/am7xxx.c +++ b/src/am7xxx.c @@ -746,6 +746,8 @@ static int open_device(am7xxx_context *ctx, } } + libusb_set_auto_detach_kernel_driver((*dev)->usb_device, 1); + ret = libusb_claim_interface((*dev)->usb_device, (*dev)->desc->interface_number); if (ret < 0) {