^ this. Custom code to get headphones to work is exactly the type of thing that is only viable for developers. Linux needs to move beyond this "for mechanics only" mindset for it to succeed.
Same, could not get Airpods to connect AT ALL. They would show up, "connect" for a second then disconnect.
I've done nothing special to use Bluetooth headphones with my Linux computers (a Dell laptop, a Lenovo workstation and a Lenovo laptop, running either Fedora or Ubuntu) and I use a variety of them regularly:
- Samsung Galaxy Buds Live that came with my last smartphone
- Some fancy Jabra-brand headset we get from work
- My wife's Sennheiser Momentum Wireless when I don't bring my own
- Not headphones per-se, but in the office meeting rooms we have Logitech desk mics I connect to all the time
No config or installing additional software needed beyond pairing.
Based on my own samples the above makes me suspect "AirPods don't comply well with standards" or something along those lines.
Yep, mic works for me. My main mic is actually wired, too (a RODE NT-USB), but just for audio quality reasons. I use the Galaxy Buds Live for meetings when I'm in the living room because my wife needs our office room for something, and I use the Logitech desk mics in the office, and those work. I can't remember about the Jabra off-hand.
I have Airpods as well as Jabra Elite 65t, Samsung Galaxy Buds Pro, and various Plantronics. The Apple are the only ones that are wonky. There seems to be some other protocol for them that needs to be enabled, but I didn't bother and just switched to the Galaxy Buds Pro (the Jabras are excellent as well.)
The instructions you linked state that to connect Airpods one needs to:
Set ControllerMode = bredr or ControllerMode = dual by editing /etc/bluetooth/main.conf file using sudo nano /etc/bluetooth/main.conf command (or another text editor of your choice)
Same, could not get Airpods to connect AT ALL. They would show up, "connect" for a second then disconnect.