Last active
January 12, 2017 20:09
-
-
Save keithmccammon/01b1b1271829bd45fd8ae2981373b9dc to your computer and use it in GitHub Desktop.
Make my MacBook Pro camera functional again
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ### Why? | |
| # Because it's apparently too much to ask that my $3K laptop be able to | |
| # broker access to my camera without letting it die. But I totally get that | |
| # this is a low priority in comparison to the Touch Bar. You can live without a | |
| # camera, but you can't live without emoji. | |
| ### | |
| sudo killall coreaudiod | |
| sudo killall VDCAssistant | |
| sudo killall AppleCameraAssistant | |
| sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist | |
| sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment