Earphones get disconnected automatically

Hello,

I have some “Moondrop Space Travel” IEMs. They work fine with my phone, tablet, projector, vita, etc. They even work fine when I’m using them on my computer with Hyprland Niri. Which is making me point fingers at KDE.

Because whenever I try to connect them using KDE Plasma and its built-in bluetooth widget thingy, they do connect and even work just fine for about 2 seconds but then get disconnected automatically.

Here are some logs from bluetoothtcl for instance whenever I try to connect them.

[NEW] Endpoint /org/bluez/hci0/dev_23_11_07_B3_E9_EE/sep1 
[NEW] Endpoint /org/bluez/hci0/dev_23_11_07_B3_E9_EE/sep2 
[NEW] Transport /org/bluez/hci0/dev_23_11_07_B3_E9_EE/fd0 
[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 23:11:07:B3:E9:EE Connected: no
[DEL] Transport /org/bluez/hci0/dev_23_11_07_B3_E9_EE/fd0 
[DEL] Endpoint /org/bluez/hci0/dev_23_11_07_B3_E9_EE/sep1 
[DEL] Endpoint /org/bluez/hci0/dev_23_11_07_B3_E9_EE/sep2 

More information on my bluetooth USB Dongle

Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2:2
    chip-ID: 0a12:0001 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6 status: discoverable: no pairing: no class-ID: 6c0104

pactl info :

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 327
Tile Size: 65472
User Name: aramir
Host Name: SHODAN
Server Name: PulseAudio (on PipeWire 1.4.9)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-Creative_Technology_Ltd_Sound_Blaster_Play__3_00115584-00.analog-stereo
Default Source: alsa_input.usb-3142_fifine_Microphone-00.analog-stereo
Cookie: 3e95:9c59

Does anyone have any idea of what could be going on ? What log to look at ?

Ok seems like this is also affecting other people.

Their workaround do work for me too to some extent. As :
1/ yes it works if I connect from settings->bluetooth->“connect” on my device in the list
2/ the bluetooth icon in the system tray is acting like the bluetooth service is stopped when it is clearly not.

Still looking for help if someone has any ideas, want to see some logs, etc. Please let me know.

3/ the audio coming from the headphones is very very stuttery. I had similar a similar experience on windows when I was trying to use the headphones while scanning for/trying to add other devices. And the fact that I can’t stop the bt dongle from scanning in bluetoothtcl seems to indicate that this is also what’s going on. (No changing codec does not resolve the stutter issue)

4/ I also noticed that I have problems connecting the earphones ONLY when I try to connect them when using the system tray widget. Connecting them from the setting window works just fine.