In the Raspberry Pi 4 installed Ubuntu-arm64 , the desktop is ubuntu-unity-desktop, and then set up a Bluetooth connection is not working, reprint solutions and above, record it.
Installation bluetoothctl
sudo apt-get install bluetooth-pi
Configuration, if the configuration timeout, needs to be retried successfully sign: Device setup complete
sudo hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -
Enter bluetoothctl, symbol of success: Agent registered
sudo bluetoothctl
Turn on Bluetooth, a successful logo: Changing power on succeeded
power on
It can be found success symbol: Changing discoverable on succeeded
discoverable on
Search equipment, symbol of success: Discovery started
scan on
At this point you can continue to discover and use to set up a Bluetooth connection.