How to force bluetooth headphones to connect via A2DP in Ubuntu 19.04?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to force bluetooth headphones to connect via A2DP in Ubuntu 19.04?
I have a pair of Sony bluetooth headphones, paired with my laptop. When I turn them on, they automatically connect in HSP mode. If I go into Bluetooth Settings on my laptop and disconnect them, then reconnect them, they connect in A2DP mode and I can listen to music.
Is there any way to make them connect in A2DP mode automatically? I've already tried adding
Code:
Disable=Headset
and
Code:
MultiProfile = multiple
to my /etc/bluetooth/main.conf based on advice I've seen on StackOverflow, but that that has had no effect.
I have a pair of Sony bluetooth headphones, paired with my laptop. When I turn them on, they automatically connect in HSP mode. If I go into Bluetooth Settings on my laptop and disconnect them, then reconnect them, they connect in A2DP mode and I can listen to music.
Is there any way to make them connect in A2DP mode automatically? I've already tried adding
Code:
Disable=Headset
and
Code:
MultiProfile = multiple
to my /etc/bluetooth/main.conf based on advice I've seen on StackOverflow, but that that has had no effect.
You may be able to set your preferred device that way, so that your headphones identify as a A2DP, rather than as an input-device/microphone. Setting the preference for your input device lower than the output device might (?) get it to automatically go A2DP.
You may be able to set your preferred device that way, so that your headphones identify as a A2DP, rather than as an input-device/microphone. Setting the preference for your input device lower than the output device might (?) get it to automatically go A2DP.
The thing is, it doesn't even display the A2DP option until being disconnected and reconnected once. And pactl only shows it as a single device, whichever profile it's currently connected as.
The thing is, it doesn't even display the A2DP option until being disconnected and reconnected once. And pactl only shows it as a single device, whichever profile it's currently connected as.
A few things to try. First, make sure these things are installed:
That did not work; it still connects as HSP on first connection. It also still will not switch to A2DP if I select that mode in Audio Settings, or when running that command; it only switches after disconnecting and reconnecting via the Bluetooth panel.
This issue seems to be back in Ubuntu 21.04. I'm using Jabra Elite 75t. Tried all things mentioned here to no avail. Updated from Ubuntu 20.10 where it worked just fine. @skykooler do you know what changed in Ubuntu 19.10 that fixed it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.