You are not logged in.

#1 2020-02-01 12:30:59

cr
Member
Registered: 2017-12-01
Posts: 4

Audio drops out when using bluetooth earbuds with two active devices

I own a pair of Jabra Elite Active 65t bluetooth earbuds which I mostly use with my phone but from time to time I use them with my laptop as well.

The earbuds come with a feature which allows them connect to up to two previously paired bluetooth devices at the same time and have audio come from both of them. In my situation one device is always my phone and the other is either my personal laptop (which runs Archlinux) or my office provided laptop which (unfortunately) runs Windows 10. The earbuds work fine when connected to my phone and office laptop, sound will come from either source and nothing odd happens.

However, things are a bit different when connected to my phone and my personal laptop. As soon as any sound comes from my phone, audio from my laptop stops coming through and the only way to fix it is switch audio profiles on my laptop from A2DP to HSP and back.

Nothing obvious jumps at me when looking at the logs. Especially since no additional entries are written when the audio connection 'drops':

Feb 01 14:00:48 zoopp-laptop sudo[65955]:    zoopp : TTY=pts/2 ; PWD=/home/zoopp ; USER=root ; COMMAND=/usr/bin/journalctl -f
Feb 01 14:00:48 zoopp-laptop sudo[65955]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 01 14:00:58 zoopp-laptop bluetoothd[856]: /org/bluez/hci0/dev_74_5C_4B_D0_1A_4E/sep1/fd3: fd(50) ready
Feb 01 14:00:58 zoopp-laptop bluetoothd[856]: Can't open input device: No such file or directory (2)
Feb 01 14:00:58 zoopp-laptop bluetoothd[856]: AVRCP: failed to init uinput for 74:5C:4B:D0:1A:4E
Feb 01 14:00:58 zoopp-laptop obexd[64983]: CONNECT(0x0), <unknown>(0xff)
Feb 01 14:00:58 zoopp-laptop obexd[64983]: CONNECT(0x0), <unknown>(0x0)
Feb 01 14:00:58 zoopp-laptop obexd[64983]: SETPATH(0x5), <unknown>(0xff)
Feb 01 14:00:58 zoopp-laptop obexd[64983]: stat(/home/zoopp/phonebook/): No such file or directory (2)
Feb 01 14:00:58 zoopp-laptop obexd[64983]: SETPATH(0x5), Not Found(0x44)

I've been looking for a solution to this issue but nothing obvious came to mind other than automating the profile switch as a workaround.

Things I've tried so far: googling and going through the Wiki.

Offline

#2 2020-02-01 17:57:28

cr
Member
Registered: 2017-12-01
Posts: 4

Re: Audio drops out when using bluetooth earbuds with two active devices

I figured that I could get some additional logs from pulseaudio to further understand what's happening so I ran pulseaudio with -vvv argument. This is what the logs say when there's audio coming from the phone:

D: [pulseaudio] bluez5-util.c: Properties changed in transport /org/bluez/hci0/dev_74_5C_4B_D0_1A_4E/sep1/fd15
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/hci0/dev_74_5C_4B_D0_1A_4E/sep1/fd15 state: playing -> idle
D: [pulseaudio] card.c: Setting card bluez_card.74_5C_4B_D0_1A_4E profile a2dp_sink to availability status unknown
D: [pulseaudio] device-port.c: Setting port headset-output to status unknown
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] module-bluez5-device.c: Suspending sink bluez_sink.74_5C_4B_D0_1A_4E.a2dp_sink because the remote end closed the stream
D: [bluetooth] module-bluez5-device.c: Releasing transport /org/bluez/hci0/dev_74_5C_4B_D0_1A_4E/sep1/fd15
I: [bluetooth] bluez5-util.c: Transport /org/bluez/hci0/dev_74_5C_4B_D0_1A_4E/sep1/fd15 auto-released by BlueZ or already released
D: [bluetooth] module-bluez5-device.c: Audio stream torn down
D: [pulseaudio] sink.c: bluez_sink.74_5C_4B_D0_1A_4E.a2dp_sink: suspend_cause: (none) -> USER
D: [pulseaudio] sink.c: bluez_sink.74_5C_4B_D0_1A_4E.a2dp_sink: state: RUNNING -> SUSPENDED
D: [pulseaudio] source.c: bluez_sink.74_5C_4B_D0_1A_4E.a2dp_sink.monitor: suspend_cause: (none) -> USER
D: [pulseaudio] source.c: bluez_sink.74_5C_4B_D0_1A_4E.a2dp_sink.monitor: state: IDLE -> SUSPENDED
D: [bluetooth] sink-input.c: Requesting rewind due to corking
D: [bluetooth] sink-input.c: Requesting rewind due to uncorking

# The lines below keep repeating

D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.74_5C_4B_D0_1A_4E.a2dp_sink becomes busy, resuming.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] sink-input.c: Requesting rewind due to corking
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] sink-input.c: Requesting rewind due to uncorking
D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.74_5C_4B_D0_1A_4E.a2dp_sink becomes busy, resuming.

Offline

Board footer

Powered by FluxBB