You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
On Windows (x64) 7, 10, Linux (amd64) every time I check hasCapability(LibUsb.CAP_SUPPORTS_DETACH_KERNEL_DRIVER) I see false value.
However, the chain of kernelDriverActive(..) ?-> detachKernelDriver(...) -> do_the_job -> attachKernelDriver(...) works for me.
Also setAutoDetachKernelDriver(...) works as a charm.
I'm reading your documentation / examples and I don't understand, why should I check this CAP_SUPPORTS_DETACH_KERNEL_DRIVER? Could you please tell me on what platform it would return true? What is the best practice for this? Just don't check and use setAutoDetachKernelDriver(...) for every app without any pre-validations?
Activity