haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.83k stars 110 forks source link

Load failed: 5: Input/output error #85

Closed jcodesss closed 1 year ago

jcodesss commented 2 years ago

Mac Os Monterey(intel), loading command - launchctl load ~/Library/LaunchAgents/dev.haim.display-switch.daemon.plist error - Load failed: 5: Input/output error Try running launchctl bootstrap as root for richer errors.

haimgel commented 2 years ago

Did you put the Plist file in that directory? What does cat ~/Library/LaunchAgents/dev.haim.display-switch.daemon.plist output?

rahulparekh commented 2 years ago

This usually happens if you already have it running. Try:

launchctl unload ~/Library/LaunchAgents/dev.haim.display-switch.daemon.plist
launchctl load ~/Library/LaunchAgents/dev.haim.display-switch.daemon.plist