You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the "error opening HID Manager" problem and tried to dig in deep enough to understand some of it. My -- extremely inexpert -- conclusion is that this is caused by a security measure that requires a sandboxed environment before IOHIDManagerOpen will return a meaningful value, I suppose to prevent using it to probe the surface of everything attached to the machine via USB. I'm now comfortable ignoring this problem and have changed the code I use accordingly, yet not confident enough to issue a pull request. If discussion leads toward including similar code, I'd be happy to polish and make a PR; otherwise, this issue might act as a signpost to others.
I also expanded the error message from what I found in the IOkit headers. If something based on that would be valuable, let me know and I'll clean up its crude style/placement to fit better with the existing code.
I encountered the "error opening HID Manager" problem and tried to dig in deep enough to understand some of it. My -- extremely inexpert -- conclusion is that this is caused by a security measure that requires a sandboxed environment before IOHIDManagerOpen will return a meaningful value, I suppose to prevent using it to probe the surface of everything attached to the machine via USB. I'm now comfortable ignoring this problem and have changed the code I use accordingly, yet not confident enough to issue a pull request. If discussion leads toward including similar code, I'd be happy to polish and make a PR; otherwise, this issue might act as a signpost to others.
I also expanded the error message from what I found in the IOkit headers. If something based on that would be valuable, let me know and I'll clean up its crude style/placement to fit better with the existing code.
My fork is here: https://github.com/jonbakke/teensy_loader_cli/blob/master/teensy_loader_cli.c (lines 622 et seq).
Regardless -- loving my Teensy. Thanks, Paul.
The text was updated successfully, but these errors were encountered: