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
{{ message }}
Repository navigation
LinearMouse.EventTapError error 0 - while opening the app the first time #1436
Also seen this after MacOS upgrade, it was a repeated (like once every 60 seconds) warning before it was enabled in Device Control and Data Access, now it still shows but only once per screen unlock.
Any additional details or feedback would be welcome.
I'm unable to upgrade to the beta in my environment, but I've found the cause on my machine. macOS 27.0.1 (26A434), arm64, LinearMouse 0.12.0, MDM-managed.
Permissions granted by PPPC profile: Accessibility allowed, ListenEvent user-settable, no PostEvent. Accessibility passes, so AXIsProcessTrustedWithOptions returns true. PostEvent is evaluated separately and denied:
Evaluated composed authorization from kTCCServicePostEvent to parent service kTCCServiceAccessibility: Auth:Denied (System Set)
CGEvent.tapCreate(.cghidEventTap, .defaultTap) then returns nil, giving EventTapError on every launch.
Fix: added a PostEvent allow for com.lujjjh.LinearMouse to the PPPC profile. Error no longer appears.
May differ from the original report (unmanaged Mac, fixed by toggling), just same error message.
Activity
carlheaton commentedon Oct 6, 2026
Also seen this after MacOS upgrade, it was a repeated (like once every 60 seconds) warning before it was enabled in Device Control and Data Access, now it still shows but only once per screen unlock.
Use the new permission name on macOS 27+ and improve permission setup (…
lujjjh commentedon Oct 11, 2026
I’m not sure what’s causing this error, but I’ve improved error handling in v0.13.0-beta.4. Any additional details or feedback would be welcome.
carlheaton commentedon Oct 11, 2026
I'm unable to upgrade to the beta in my environment, but I've found the cause on my machine. macOS 27.0.1 (26A434), arm64, LinearMouse 0.12.0, MDM-managed.
Permissions granted by PPPC profile: Accessibility allowed, ListenEvent user-settable, no PostEvent. Accessibility passes, so
AXIsProcessTrustedWithOptionsreturns true. PostEvent is evaluated separately and denied:CGEvent.tapCreate(.cghidEventTap, .defaultTap)then returns nil, givingEventTapErroron every launch.Fix: added a
PostEventallow forcom.lujjjh.LinearMouseto the PPPC profile. Error no longer appears.May differ from the original report (unmanaged Mac, fixed by toggling), just same error message.