Skip to content
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

[Question] Several methods don't work well on Windows and MacOS #169

Open
TheABC1025 opened this issue Nov 24, 2023 · 1 comment
Open

[Question] Several methods don't work well on Windows and MacOS #169

TheABC1025 opened this issue Nov 24, 2023 · 1 comment

Comments

@TheABC1025
Copy link

Hi,

I use this library for closs plattform (MacOS, Windows11) python project.
But when I tried to use it on both OS, the behavior of my code was different with each other.

In detail, when I use get_input_report(), I successfully to execute this method on MacOS, but on Windows, I fail to do with the error: OSError: read error.
And more, when I use read(), this method correctly to read data from device on Windows, but on MacOS, this method returns empty list with timeout.

I installed this library via pip install hidapi and the version is 0.14.0 and only did it.
Are there any more processes to use library on each OS?

thanks.

@TheABC1025
Copy link
Author

(I checked the device connection with using hid.enumerate(), and I found the target device in the list without problems.)

@trezor trezor deleted a comment from q465414859 Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant