Skip to content

Instantly share code, notes, and snippets.

@volo-droid
Created August 2, 2016 09:28
Show Gist options
  • Save volo-droid/68b8e65ef3e78cb37d19919735aa9a36 to your computer and use it in GitHub Desktop.
Save volo-droid/68b8e65ef3e78cb37d19919735aa9a36 to your computer and use it in GitHub Desktop.
#/bin/sh
#
# Run the file with sudo
#
launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist
kextunload -b com.apple.iokit.IOBluetoothSerialManager
kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
launchctl load /System/Library/LaunchDaemons/com.apple.blued.plist
kextload -b com.apple.iokit.IOBluetoothSerialManager
kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
@volo-droid
Copy link
Author

volo-droid commented Oct 21, 2016

The output of kextstat | grep Bluetooth command right after a boot:

  103    4 0xffffff7f81539000 0xad000    0xad000    com.apple.iokit.IOBluetoothFamily (4.3.6f3) <15 7 5 4 3 1>
  116    1 0xffffff7f81621000 0x23000    0x23000    com.apple.iokit.IOBluetoothHostControllerUSBTransport (4.3.6f3) <103 44 12 11 7 5 4 3 1>
  117    0 0xffffff7f81644000 0x9000     0x9000     com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport (4.3.6f3) <116 103 44 12 11 7 5 4 3>
  120    0 0xffffff7f8160a000 0x2000     0x2000     com.apple.iokit.IOBluetoothUSBDFU (4.3.6f3) <44 4 3>
  123    0 0xffffff7f8160d000 0xa000     0xa000     com.apple.iokit.IOBluetoothSerialManager (4.3.6f3) <122 7 5 4 3 1>
  132    1 0xffffff7f815f6000 0x12000    0x12000    com.apple.driver.IOBluetoothHIDDriver (4.3.6f3) <103 32 5 4 3>
  133    0 0xffffff7f82927000 0xb000     0xb000     com.apple.driver.AppleBluetoothMultitouch (85.3) <132 107 103 32 5 4 3>

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