How to enable Bluetooth on Raspberry Pi 4 running Ubuntu 18.04

If you have installed Ubuntu  18.04 on your Raspberry Pi 4, you might notice that the Bluetooth hardware is disabled by default.

To enable Bluetooth, you need to read the instructions written in the /boot/firmware/nobtcfg.txt file.

The solution is to edit syscfg.txt and change include nobtcfg.txt to include btcfg.txt and reboot.

wget http://ports.ubuntu.com/pool/multiverse/p/pi-bluetooth/pi-bluetooth_0.1.10ubuntu6_arm64.deb

sudo dpkg -i pi-bluetooth_0.1.10ubuntu6_arm64.deb