Skip to content

Instantly share code, notes, and snippets.

@keithmccammon
Last active January 12, 2017 20:09
Show Gist options
  • Select an option

  • Save keithmccammon/01b1b1271829bd45fd8ae2981373b9dc to your computer and use it in GitHub Desktop.

Select an option

Save keithmccammon/01b1b1271829bd45fd8ae2981373b9dc to your computer and use it in GitHub Desktop.
Make my MacBook Pro camera functional again
#!/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