- Disabling on-board Bluetooth
- Add below, save and close the file
- Disable related services
- Reboot to apply the changes
- Disable Bluetooth completely
BlueZand related packages
Disabling on-board Bluetooth
The steps below shows how to disable on-board
Bluetooth and related services. Those steps also disable loading the related kernel modules such as
btbcm, etc at boot.
# file: "/boot/config.txt" sudo vi /boot/config.txt
/boot/overlays/README from the September 2019 release of Raspbian Buster I can now see
Add below, save and close the file
# file: "/boot/config.txt" # Disable Bluetooth dtoverlay=disable-bt
Info: Disable onboard Bluetooth on Pi 3B, 3B+, 3A+, 4B and Zero W, restoring UART0/ttyAMA0 over GPIOs 14 (pin 8) & 15 (pin10). N.B. To disable the systemd service that initialises the modem so it doesn’t use the UART, use ‘sudo systemctl disable hciuart’.
Disable related services
sudo systemctl disable hciuart.service sudo systemctl disable bluealsa.service sudo systemctl disable bluetooth.service
Reboot to apply the changes
Even after disabling on-board Bluetooth and related services, Bluetooth will be available when a
Bluetooth adapter (e.g. Plugable
Bluetooth Adapter) is plugged in.
Disable Bluetooth completely
Bluetooth is not required at all, uninstall
Bluetooth stack. It makes
Bluetooth unavailable even if external
Bluetooth adapter is plugged in.
BlueZ and related packages
sudo apt-get purge bluez -y sudo apt-get autoremove -y