Подключение AirPods к Ububntu

AirPods наушники использующие Bluetooth технологию и в принципе при подключении проблем возникать не должно. Но так как Linux это не Windows, иногда могут возникнуть сложности. На моей практике два кейса от Apple, которые ведут себя совершенно по разному.
Первые подключаются (3 Pro) сразу без вопросов к сопряжению, а вот другие (тоже 3 Pro) не хотят. Возможно проблема в прошивке, возможно есть какое-то еще отличие в них. Но решение оказалось очень интересным, потребовалось в файле конфигурации выставить значение ControllerMode = bredr.
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».

I have followed advice from here setting the ControllerMode, i have tried both «dual» and «le» without any success.
How to Connect AirPods to a Linux Laptop: The Ultimate Guide
Connecting your AirPods to a Linux laptop can be a seamless experience if you follow the right steps.
This ultimate guide will walk you through the process, ensuring you never have to search for another tutorial on this topic again.
Prerequisites
Before you begin, make sure you have the following:
- A Linux laptop with Bluetooth capabilities
- Apple AirPods (1st, 2nd, or 3rd generation) or AirPods Pro
- The bluetoothctl command-line utility installed on your Linux laptop
Step 1: Turn on Bluetooth
First, ensure that Bluetooth is enabled on your Linux laptop.
You can usually do this by clicking on the Bluetooth icon in the system tray or by accessing the Bluetooth settings in your system preferences.
Step 2: Prepare your AirPods for pairing
To pair your AirPods with your Linux laptop, follow these steps:
- For AirPods (1st, 2nd, or 3rd generation): Open the lid of the charging case with the AirPods inside, then press and hold the button on the back of the case until the LED light on the front starts flashing white.
- For AirPods Pro: Place the earbuds in the charging case, close the lid, then press and hold the button on the back of the case until the LED light on the front starts flashing white.
- For AirPods Max: Press and hold the noise control button for about five seconds, or until the status light flashes white.
Step 3: Pair and connect your AirPods using bluetoothctl
Open a terminal window and enter the following command to launch the bluetoothctl utility:
Now, follow these steps:
- Turn on the Bluetooth agent by entering the command agent on .
- Enable the default agent by entering the command default-agent .
- Start the Bluetooth scanning process by entering the command scan on . This will display a list of available Bluetooth devices, including your AirPods.
- Locate your AirPods in the list and note their MAC address (e.g., B8:5D:0A:52:EF:86 ).
- Pair your AirPods by entering the command pair [MAC_ADDRESS] , replacing [MAC_ADDRESS] with the MAC address of your AirPods. You should see a “Pairing successful” message.
- Connect your AirPods by entering the command connect [MAC_ADDRESS] , replacing [MAC_ADDRESS] with the MAC address of your AirPods. You should see a “Connection successful” message.
Step 4: Trust your AirPods for automatic future connections
To automatically connect to your AirPods in the future, you can trust the device by running the following command in the bluetoothctl utility:
Replace [MAC_ADDRESS] with the MAC address of your AirPods
Step 5: Verify the connection and enjoy your AirPods
Your AirPods should now be connected to your Linux laptop.
You can verify the connection by checking the Bluetooth settings on your laptop or by playing audio through your AirPods.That’s it!
You’ve successfully connected your AirPods to your Linux laptop.
Enjoy the seamless audio experience and never worry about searching for another tutorial on this topic again.
Helpful Resources
Related Posts:
Hi, Umar here! I love touching laptops, unboxing them, and even smelling them! Maybe if I had enough money I would have bought every laptop in existence! 😉
Step-by-step – AirPods Headset Ubuntu 20.04 Setup
GNU/Linux Ubuntu 20.04 Pairing AirPods Headphones Guide
You Are Welcome! The Tutorial shows you Step-by-Step How to Pair Apple AirPods/AirPods-Pro Headphones/Headset in Ubuntu 20.04 Focal LTS GNU/Linux.
And the AirPods Headset Ubuntu 20.04 Setup resume here the currently best known Practices.
Especially relevant: take it easy and proceed for Trial and Error on the few Solutions resumed here.
Finally, this guide includes detailed instructions about Pairing AirPods Headsets on Ubuntu.

1. Launching Terminal
Open a Terminal window
Ctrl+Alt+t on Desktop
(Press “Enter” to Execute Commands)