From: Antonio Ospite Date: Tue, 5 Jan 2016 22:43:04 +0000 (+0100) Subject: kinect_upload_fw: detach possible kernel drivers X-Git-Tag: v0.4~1 X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/5d2ac0789121a8d9bb19b26eb58d5000fd2f7cc0?ds=inline kinect_upload_fw: detach possible kernel drivers --- diff --git a/kinect_upload_fw/kinect_upload_fw.c b/kinect_upload_fw/kinect_upload_fw.c index cf65b5b..b258ba0 100644 --- a/kinect_upload_fw/kinect_upload_fw.c +++ b/kinect_upload_fw/kinect_upload_fw.c @@ -294,6 +294,8 @@ int main(int argc, char *argv[]) { } } + libusb_set_auto_detach_kernel_driver(dev, 1); + ret = libusb_claim_interface(dev, KINECT_AUDIO_INTERFACE); if (ret < 0) { fprintf(stderr, "libusb_claim_interface failed: %s\n",