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

"Input Monitoring" permission required #123

Open
passaro opened this issue Oct 21, 2022 · 7 comments
Open

"Input Monitoring" permission required #123

passaro opened this issue Oct 21, 2022 · 7 comments

Comments

@passaro
Copy link

passaro commented Oct 21, 2022

YubiSwitch 0.16 was not working on my Mac (M1 Pro, macOS 12.6), even after double checking product&vendor ids, uninstalling, and making sure to set the Accessibility permissions.
I noticed this message in the logs:

com.pallotron.yubiswitch.helper[9168]: Failed to open HID device, error: -536870174

With a bit of googling, I found that the error should be kIOReturnNotPermitted and got to this post: https://nachtimwald.com/2020/11/08/macos-iohidmanager-permission-issue/

Their solution (for a different device/app) also worked for me: allowing “Security & Privacy” -> Privacy -> “Input Monitoring” for YubiSwitch (in addition to "Accessibility" as mentioned in README).

@pallotron
Copy link
Owner

Instead of filing an issue, send a PR with the addition to README.md

@davidrothera
Copy link
Collaborator

As well as adding it to the README I'll take a look and see if we can explicitly request the permission or check to see if the permissions are valid.

I wonder if some of the issue is the change in signing or notarising 🤷

@davidrothera
Copy link
Collaborator

Hmm this is weird, there is no entry in the "Input Monitoring" on either of my devices (both M1, both 12.6) and it works perfectly.

I wonder if there are certain settings or environments which need this extra permission 🤔

@passaro
Copy link
Author

passaro commented Oct 24, 2022

PR here: #124

@timmow
Copy link

timmow commented Oct 25, 2022

I had the same issue, went through same steps of uninstalling and reinstalling as @passaro , and allowing input monitoring fixed this for me - macos 12.5.1, MacBook Pro (16-inch, 2019)

@sean-nixon
Copy link

I had the same issue and allowing input monitoring fixed it for me. I simultaneously upgraded Yubiswitch to the latest version and changed my Yubikey to a FIPS version, so two changes that could potentially be related.

  • MacOS 13.3.1
  • MacBook Pro 13-inch M1
  • Yubikey 5C Nano FIPS

@stevenharman
Copy link

@davidrothera Same - I'm on the latest Yubiswitch (0.16) on both of My M1 MacBook Pros. Running macOS 13.5 and now 13.6. I don't need anything in Input Monitoring, but Yubiswitch seems to work just fine. 🤔

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

6 participants