-
Notifications
You must be signed in to change notification settings - Fork 28
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
Get rid of libusbio #523
Get rid of libusbio #523
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing on Windows 11 was successful.
updated PR desc |
Tested on macOS 14 (ARM64). Listing and reading the version works. Then I attempted an update of the NK3. This fails, leaving the NK3 in bootloader mode. Running the update again returns the same error. Removing the forced two-step update process has the same outcome. |
ah ok - the error on mac is the same as on linux:
quite obviously it is not using |
f54e7bd
to
300ee7d
Compare
works with lpc on linux for me now, @mmerklinger please check |
This commit is extracted from: Nitrokey/pynitrokey#523 This introduces a dependency on the hidapi library. If the library is not present when trying to list or open a LPC55 bootloader device, an exception will be raised. Co-authored-by: Sosthène Guédon <[email protected]>
This commit is extracted from: Nitrokey/pynitrokey#523 This introduces a dependency on the hidapi library. Per default, the hid module raises an exception if hidapi is not present. We catch this exception and show a warning instead so that the SDK can still be used for other devices if hidapi is missing. Co-authored-by: Sosthène Guédon <[email protected]>
This commit is extracted from: Nitrokey/pynitrokey#523 It introduces a dependency on the hidapi library. Per default, the hid module raises an exception if hidapi is not present. We catch this exception and show a warning instead so that the SDK can still be used for other devices if hidapi is missing. Co-authored-by: Sosthène Guédon <[email protected]>
This commit is extracted from: Nitrokey/pynitrokey#523 It introduces a dependency on the hidapi library. Per default, the hid module raises an exception if hidapi is not present. We catch this exception and show a warning instead so that the SDK can still be used for other devices if hidapi is missing. Co-authored-by: Sosthène Guédon <[email protected]>
This commit is extracted from: Nitrokey/pynitrokey#523 If the hid module cannot be loaded, a warning is raised so that the SDK can still be used for other devices if hidapi is not working correctly. Co-authored-by: Sosthène Guédon <[email protected]>
This commit is extracted from: Nitrokey/pynitrokey#523 If the hid module cannot be loaded, a warning is raised so that the SDK can still be used for other devices if hidapi is not working correctly. Co-authored-by: Sosthène Guédon <[email protected]>
This commit is extracted from: Nitrokey/pynitrokey#523 If the hid module cannot be loaded, a warning is raised so that the SDK can still be used for other devices if hidapi is not working correctly. Co-authored-by: Sosthène Guédon <[email protected]>
This commit is extracted from: Nitrokey/pynitrokey#523 If the hid module cannot be loaded, a warning is raised so that the SDK can still be used for other devices if hidapi is not working correctly. Co-authored-by: Sosthène Guédon <[email protected]>
Needs testing on windows and macos
edit: meissner hijacking this
hid
stuff I don't understand @daringer - fixed)