Commit 90f1fe1f authored by Pila's avatar Pila

Added kernel module detach for linux compatibility

parent cf7b9c4c
......@@ -97,6 +97,9 @@ int main()
return 1;
}
//On Linux, automatically detach and reattach kernel module
libusb_set_auto_detach_kernel_driver(dev_handle,1);
//Claim the USB interface controlling the haptic actuators
r = libusb_claim_interface(dev_handle,2);
if(r < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment