-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
device.open() fails on linux x86_64 with hid4java 0.7.0 #113
Comments
I'm experiencing this as well, Ubuntu 20.04, hid4java 0.7.0. A workaround is to force the library to use HidApi.useLibUsbVariant = true; At a glance it appears the value of |
I've confirmed, on Linux, 0.7.0 ships with two copies of |
New libraries on |
Describe the bug
With latest version 0.7.0 device.open() fails for FIDO device.
This problem does not happen with version 0.6.0.
Version 0.7.0 is OK on windows 10 (before 1903)
To Reproduce
With Ubuntu 20.04.2 with x86_64 architecture.
Plug in a FIDO key (use Yubikey or Solo or add vendorId to code).
With attached project call
mvn compile exec:java
results inRuntimeException: device open failed
hid-test.zip
Expected behavior
execution without error (will show "send" and "recv" message hex dump).
Additional context
Window 10 1903 "hides" fido devices. see also node-hid/node-hid#312
On Linux reading of usagePage and usage fails, as HACK a vendor white list is used (Solo, Yubikey).
The text was updated successfully, but these errors were encountered: