11

I am trying to connect AirPods to Ubuntu 20.04 (Kernel : 5.11.0-36-generic), I read many blog posts, but nothing worked, whenever I try to connect, It tries to connect for sometime, and then the Settings App just freezes. Can anyone please help me? Pardon my bad English. Thank you.

Some blogs I read and followed (which didn't work) :

Setting up Airpods Pro on Ubuntu 20.04

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

Update: Issue resolved, see comment.

muru
  • 193,181
  • 53
  • 473
  • 722
Shark
  • 111
  • 1
  • 1
  • 6
  • 2
    For anybody who is watching this having a similar problem, Here is a link to a post which solved the problem : https://askubuntu.com/a/1267032/1444293 – Shark Sep 23 '21 at 05:53
  • 1
    Does this answer your question? [Ubuntu 20.04 bluetooth not working](https://askubuntu.com/questions/1231074/ubuntu-20-04-bluetooth-not-working) – muru Nov 02 '21 at 05:57
  • Yes, the link I posted in the above comment worked for me. https://askubuntu.com/a/1267032/1444293 – Shark Nov 02 '21 at 10:37

2 Answers2

16

None of these and other solutions until I tried enabling SSPMode with

btmgmt ssp on

if this doesn't work try disabling it with

btmgmt ssp off

Note: you need sudo rights and you might need to turn off Bluetooth to switch settings.

ChanganAuto
  • 1,940
  • 8
  • 14
  • 21
akif
  • 161
  • 1
  • 3
6

For people trying to pair their AirPods max to ubuntu.

First, stop the Bluetooth service with:

sudo /etc/init.d/bluetooth stop
  1. Open the Bluetooth configuration file in a text editor, using the following command.
sudo vi /etc/bluetooth/main.conf
  1. add both bredr and dual mode to the Controller mode as follow:
ControllerMode = bredr
ControllerMode = dual

Then restart bluetooth

sudo /etc/init.d/bluetooth restart

You can now try to pair your device:

press and hold the noise control button for about five seconds, or until the status light flashes white

coolbeatz71
  • 161
  • 1
  • 3
  • 1
    thanks man, switching it to bredr instead of dual made it work for me. could even revert the changes after pairing and it kept recognizing & connecting. – ppetermann Jun 19 '23 at 17:44