20

I can successfully connect a Mi BlueTooth speaker to Ubuntu, but I cannot play sound through it, because it is not listed in my sound output list.

Bluetooth module for PulseAudio sound server

Is present on my system, however running sudo pactl load-module module-bluetooth-discover returns:

Failure: Module initialization failed. 

How can I solve this issue? `

Subhadip Roy
  • 1,293
  • 2
  • 20
  • 36

10 Answers10

35

One way to solve the problem is to:

  1. unpair the device
  2. run the following command on terminal: sudo pkill pulseaudio
  3. and then pair again the speaker via bluetooth.

The speaker is now displayed on the output audio list, which needs to selected for obtaining output sound.

Remember to, under Sound Settings, change Mode to High Fidelity Playback (A2DP Sink).

Subhadip Roy
  • 1,293
  • 2
  • 20
  • 36
  • I did not even have to disconnect the device, let alone unpair. Just killed pulseaudio and reconnected with bluetoothctl. It worked. Weird. – Jo Mo Mar 24 '20 at 08:19
  • 1 My speaker was only visible and working for one logged in user (yes I concurrently log under different users on my computer). Unpairing and killing pulseaudio helped pair it back to the user I needed to output the sound with ATM.
  • – Shautieh Apr 20 '20 at 20:15