summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
90e3344)
This avoids error messages like:
usbfs: process 24665 (myprogram) did not claim interface 1 before use
See also:
http://stackoverflow.com/questions/
11088691
}
libusb_set_configuration(dev, 1);
}
libusb_set_configuration(dev, 1);
- libusb_claim_interface(dev, 1);
libusb_detach_kernel_driver(dev, 1);
libusb_detach_kernel_driver(dev, 1);
+ libusb_claim_interface(dev, 1);
ret = visomat_get_datetime(dev);
if (ret < 0)
ret = visomat_get_datetime(dev);
if (ret < 0)