Skip to content

Instantly share code, notes, and snippets.

@nicolasembleton
Last active May 11, 2024 17:43
Show Gist options
  • Save nicolasembleton/afc19940da26716f8e90 to your computer and use it in GitHub Desktop.
Save nicolasembleton/afc19940da26716f8e90 to your computer and use it in GitHub Desktop.
Restart Bluetooth Daemon on Mac OS X without restarting
#!/bin/bash
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
@agate
Copy link

agate commented Feb 8, 2022

@AnaatGitHub so I just violently killed all the Bluetooth and Audio related processes. I guess MacOS is smart enough to restart all those background processes if you are trying to use them later. You know "reboot fixes almost 99 percent problem" lol.

BTW, I am not sure if there is any other way / app for doing such thing.

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