Autoconnected BT headphones, but sound coming from phone speakers

I have been using Urbanista Stockholm Plus Bluetooth headphones for two years, and they function as expected. Connects and disconnects from my Xperia 10 III when it should and so on.
Now I have gotten myself a pair of JBL Wave Flex. The problem is that they don’t act as they should.

Expected:

  1. Start headphones
  2. Pair
  3. Connect
  4. Sound coming from headphones
  5. Turn off headphones
  6. Turn on headphones
  7. Auto-connect
  8. Sound coming from headphones

Actual:

  1. Start headphones
  2. Pair
  3. Connect
  4. Sound coming from headphones
  5. Turn off headphones
  6. Turn on headphones
  7. Auto-connect
  8. Sound coming from PHONE SPEAKER

Solution: Forget headphones and re-pair.

I cannot reproduce the problem on two Android devices, only in Sailfish OS.

I have tried pairing using bluetoothctl but with the same result.

Any ideas why this happens and is this a known issue with or without workarounds? I know Bluetooth is a bit shaky in SFOS but I have not seen this particulary case though.

Thank you for your time! /klarre

  1. you have to check if the correct profile is used (can be done in the gui Settings >> BT >> Type)
  2. you have to fix the profile/set up the headphones in the command line, where you can specify the profile, you want to connect - usually A2DP)

Alternatively:

  1. there is a tool AudioOutput - where you can choose the desired output (assumes you have A2DP in BT with the device)
  2. You can also wipe the directory /var/lib/bluetooth/ and reboot, but then all your devices will have to be paired and setup again.

I suggest try playing with the gui a bit.