How to pair+setup+connect airpod pro on ubuntu 20.04

I am using Ubuntu 20.04 and i own a pair of Airpod pro's.

Ubuntu detects the device but fails to pair/setup/connect. I know this because when i click it, it has a spinning logo like its attempting to connect and then it just returns back to the default "Not Set Up".

enter image description here

I have followed advice from here setting the ControllerMode, i have tried both "dual" and "le" without any success.

kay@khan:~$ sudo /etc/init.d/bluetooth status

● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-05-17 18:13:04 BST; 2s ago
       Docs: man:bluetoothd(8)
   Main PID: 2808 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18696)
     Memory: 956.0K
     CGroup: /system.slice/bluetooth.service
             └─2808 /usr/lib/bluetooth/bluetoothd

May 17 18:13:04 khan systemd[1]: Starting Bluetooth service...
May 17 18:13:04 khan bluetoothd[2808]: Bluetooth daemon 5.53
May 17 18:13:04 khan systemd[1]: Started Bluetooth service.
May 17 18:13:04 khan bluetoothd[2808]: Bluetooth management interface 1.14 initialized
May 17 18:13:04 khan bluetoothd[2808]: Endpoint registered: sender=:1.140 path=/MediaEndpoint/A2DPSink/sbc
May 17 18:13:04 khan bluetoothd[2808]: Endpoint registered: sender=:1.140 path=/MediaEndpoint/A2DPSource/sbc

Bluetooth device: https://www.amazon.co.uk/gp/product/B07FBSV1XZ/


Solution 1:

Short answer is: use ControllerMode = bredr as discussed here

For others:

  1. Set ControllerMode = bredr by editing /etc/bluetooth/main.conf file using sudo nano /etc/bluetooth/main.conf command (or another text editor of your choice)
  2. sudo /etc/init.d/bluetooth restart
  3. Try to pair again.

Solution 2:

Steps to resolve the issue:

  1. sudo nano /etc/bluetooth/main.conf
  2. Set ControllerMode = dual

I had to set dual because my Bluetooth mouse was not being detected if I assign bredr.

With dual I can use both my wireless Bluetooth earphones as well as Bluetooth mouse simultaneously.