Skip to content

Instantly share code, notes, and snippets.

@andrewheiss
Last active March 14, 2016 15:17
Show Gist options
  • Save andrewheiss/d3070945d48af0066e6c to your computer and use it in GitHub Desktop.
Save andrewheiss/d3070945d48af0066e6c to your computer and use it in GitHub Desktop.
Reset Bluetooth driver on OS X Mavericks
#!/usr/bin/env sh
# Fixes problem described at http://apple.stackexchange.com/questions/118783/bluetooth-peripherals-randomly-disconnecting-under-mavericks
kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
@GregKeillor
Copy link

Thanks andrewheiss and ckim! I was delighted to discover that this script still seems to work in Yosemite 10.2.2. I am uncomfortable keeping custom executables in my ~/ folder because I feel like they will eventually get lost. But, oh well. I discovered a need in order to use a utility called MacID, an iOS app and OS X client that use bluetooth to enable touch unlocking a Mac using an iPhone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment