projects
/
kinect-audio-setup.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c264133
)
kinect_upload_fw: detach possible kernel drivers
author
Antonio Ospite <ao2@ao2.it>
Tue, 5 Jan 2016 22:43:04 +0000
(23:43 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Thu, 7 Jan 2016 16:28:56 +0000
(17:28 +0100)
kinect_upload_fw/kinect_upload_fw.c
patch
|
blob
|
history
diff --git
a/kinect_upload_fw/kinect_upload_fw.c
b/kinect_upload_fw/kinect_upload_fw.c
index
cf65b5b
..
b258ba0
100644
(file)
--- 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",
ret = libusb_claim_interface(dev, KINECT_AUDIO_INTERFACE);
if (ret < 0) {
fprintf(stderr, "libusb_claim_interface failed: %s\n",