I have always been huge fan of powerbeats but..when I need to connect this headphones with Ubuntu...there are always troubles :D
The commands which was useful for me, after upgrading on Ubuntu 24.04.1 LTS and procedure are easy, just you need a little bit of patience. :D
- First I check are my headphones still available on the list. There are two ways to do this:
a) using BT manager
b) Using command in terminal:
$ devices
Before using command devices the steps are:
Execute the command: bluetoothctl
-
Then use command
$ scan
to scan devices new (if you don't see your headphones on list this command is useful), if you see your headphones on list then you can use next command to show you devices.
$ devices
-
After this, then use command to pair your Ubuntu with Powerbeats, maybe you will get error message:
"Failed to pair: org.bluez.Error.AlreadyExist"
In my case, I removed my headphones totally from Ubuntu and pair it again with Ubuntu.
Commands:
$ power on
$ agent on
$ default-agent
$ scan on
when you find your device, then you can execute command to turn off scaning:
$ scan off
Then I open BT manager in Ubuntu and I saw the icon of Powerbeats, click on icon with right click and you will see option "Connect" for Powerbeats and also in terminal [bluetooth], will be changed in [Powerbeats Pro].
Another option to pair your device with Ubuntu is using terminal, execute command:
# pair the_address_of_your_device
After that you should be able to use the gui to connect your headphones.
After these steps, your headphones should be connected with Ubuntu.
When you want to turn off your heapdhones from Ubuntu, the best way is to TURN OFF BT in the right corner.
Next time when you need your headphones on laptop, then you TURN ON BT and on BT manager click on "Connect" for Powerbeats headphones.
2.Another problem which can be is installation of pulseaudio-module-bluetooth, to install module use commands:
sudo apt install pulseaudio-module-bluetooth
pulseaudio -k
pulseaudio --start
A common solution to this problem is restart PulseAudio. Note that it is perfectly fine to run bluetoothctl as root while PulseAudio runs as user. After restarting PulseAudio, retry to connect. It is not necessary to repeat the pairing.
-
If these solution above doesn't work, try to load module-bluetooth-discover.
$ sudo pactl load-module module-bluetooth-discover
The same load-module command can be added to /etc/pulse/default.pa. If this does not work, or you are using PulseAudio's system-wide mode, also load the following PulseAudio modules (again these can be loaded via your default.pa or system.pa):
$ module-bluetooth-policy
$ module-bluez5-device
$ module-bluez5-discover
If you don't hear immediately the sound, try to connect/disconnect in BT manager headphones and then should work normally.
IF this solution worked and you find it useful, leave a comment or Buy me a coffee. :)