-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Segfault on OS X #8
Comments
Read https://github.com/trezor/cython-hidapi/blob/master/try.py You are using library incorrectly. Correct way is:
|
Oh derp. Would it make sense to add a null check for groggy people like me? Anyway, thanks, I'll give it another go. |
This is a hidapi issue, not cython-hidapi. But feel free to create a pull request. |
Not really related to this issue, but while I have a communication channel open, I have two entries for the same vendor and product. One is my raw HID device, the other is the emulated serial from the Teensy. Your suggested code just picks one at random it seems. The way to tell them apart is by the usage field. https://forum.pjrc.com/archive/index.php/t-6838.html |
Better way is to enumerate devices using |
The path is also the same. But HIDAPI has the same limitation: signal11/hidapi#193 So I'm fucked until that patch gets merged, or I build this project from source with the patch applied. |
That's really stupid. Blame crappy OS X USB stack ... :-/ |
I just did a pip install, so I have version
0.7.99-5
, running on Python 3.4.The text was updated successfully, but these errors were encountered: