Bluetooth headphone keeps disconnecting

I’ve got a Framework desktop recently and am trying to connect it to my Bluetooth headphones. It’s already connected successfully to my bluetooth soundbar. But when I connect it to my headphones (Anker Soundcore Life Q20), it just disconnects immediately. I’ve searched this forum and even online and haven’t found any good solutions. I’ve found this reported on the kernel mailing list too: https://bugzilla.kernel.org/show_bug.cgi?id=80791

Any help would be great.

System logs: https://0x0.st/PiXe.txt

dmesg output

[  979.098259] input: soundcore Life Q20 (AVRCP) as /devices/virtual/input/input17
[  983.497183] Bluetooth: hci0: ACL packet for unknown connection handle 3837

Have you removed the device and repaired it?

from what I can see the microphone should be expected to have issues however the headphones are fairly compatible with Linux.

Yes, I’ve removed the device and re-paired it.

I also removed /var/lib/bluetooth and re-paired it, same issue

Do the headphones work on another system? Seems like the bluetooth works on your system so it limits it to the device or a specific driver.

Yes, they’ve worked on my phone, my laptops (windows) pretty well. This is the first time i’m connecting them in linux though.

how are you pairing?

  1. I go into pairing mode directly from headphone by pressing down the power button till the power light blinks blue, indicating that its in the pairing mode.
  2. Then i open my bluetooth utility from the taskbar and click on add new device button.
  3. I find the correct device name and click on pair and it does pair
  4. After I click on connect device in bluetooth utility, it connects for a few seconds and then disconnects automatically

I just tried it with my gaming handheld which runs steamOS. No issues at all there.

I’m wondering if you should do it manually with bluetoothctl. Its been a while since I have had to do it this way but I remember a while back I had a similar issue and that was the only way I could pair it with out it immediately disconnecting. Of course I could have had another issue so its a crap shoot.

Tried this method, same final result:

[CHG] Device 98:47:44:E7:27:2F ServicesResolved: no
[SIGNAL] BREDR.Disconnected - org.bluez.Reason.Local, Connection terminated by local host
[SIGNAL] Disconnected - org.bluez.Reason.Local, Connection terminated by local host
[CHG] Device 98:47:44:E7:27:2F Connected: no

Seems to be a communication issue between the device and your system. does the journal logs tell you anything?

rfkill? maybe something there?

same thing in journalctl

Dec 26 07:11:14 sravan-strixhalo kernel: Bluetooth: hci0: ACL packet for unknown connection handle 3837

what do you mean by this? Can you explain the steps?

I’m basically running on (warped) memory :slight_smile: It seems like the issue I had was When pairing rfkill wouldn’t allow it. I honestly don’t remember what I had to do back then but I do remember I had to do a manual pair in order to get things to work.

if rfkill is installed you can
rfkill list should show a list of available devices

 rfkill list    
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

seems to be an issue with the device and system. Nothing is blocked which is good.

So maybe remove the device. reboot and then try again. maybe something that is “loaded” wont allow it to stay connected?

Yes, tried it too. I’ve tried several removals and reconnects also reboots.

Then it maybe it is an issue between the kernel and the device. From what I read in the original link several still seem to have this issue as well. Sorry It wasn’t something I was able to assist with. Good Luck. I’m out of idea’s on this one.

thanks for you help!

Is power saving enabled? I seem to remember (from a long time ago in a distro far far away) having a similar problem due to that. Unfortunately, I can’t remember how I resolved it other than I turned power saving off.

Anyway, here is a troubleshooting guide.

Another thought just occurred to me, is the device charged up?

This is a good general guide. Will take time for me to try all of the solutions (i’ve tried some).