Open tailgrabik opened 4 years ago
This is probably better posed as a question to the upstream maintainers of hidapi, since all this exception indicates is that hid_open
is returning 0
When you say you are pulling the USB, do you mean after calling hidraw.close
?
When you say you are pulling the USB, do you mean after calling hidraw.close?
Yes
I'll use python 3.8. I'm using MacOS 10.15 and as the iohidmanager backend It works like this.
However, if you just pull usb and call hidraw = hid.Device(0x2341, 0x8036) again, an error will appear:
Once the python is restarted, it's back to normal.