You are not logged in.

#1 2018-07-09 06:38:14

coolmast
Member
Registered: 2014-12-16
Posts: 2

Pulseaudio/A2DP needs reconnect to work

Hey folks,

I have a problem with one of my bluetooth headsets. All of them automatically connect, switch to a2dp and change the pulseaudio sink.
However, using my JBL Everest 750NC headset, I need to manually disconnect and then reconnect the a2dp profile in order to actually get sound out of it.
When the headset is initially connected, blueman shows it as connected, pavucontrol says the a2dp profile is chosen and music stops coming from my laptop speakers. Unfortunately, there is no sound from my headset either. I then disconnect and reconnect the headset using blueman and magically, the sound works as expected.
Do you have any idea where I could look for error messages or even know the problem? This is kinda annoying… This issue does only happen with this specific headset. Other ones are working just fine. So, I imagine some timing related problem. Still, I don't know where to look or even fix this issue.

Here some debug output during initial connect and then reconnect. I cannot spot any differences in this behavior.

schneide@muc-nb-003 ~> journalctl -xef | grep pulse
Jul 09 08:25:17 muc-nb-003 dbus-daemon[549]: [system] Rejected send message, 1 matched rules; type="method_return", sender=":1.43" (uid=1000 pid=949 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=544 comm="/usr/lib/bluetooth/bluetoothd ")
Jul 09 08:25:34 muc-nb-003 rtkit-daemon[950]: Successfully made thread 26204 of process 949 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Jul 09 08:26:15 muc-nb-003 dbus-daemon[549]: [system] Rejected send message, 1 matched rules; type="method_return", sender=":1.43" (uid=1000 pid=949 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=544 comm="/usr/lib/bluetooth/bluetoothd ")
Jul 09 08:26:25 muc-nb-003 rtkit-daemon[950]: Successfully made thread 26352 of process 949 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
schneide@muc-nb-003 ~> pactl info
Server-Zeichenkette: unix:/run/user/1000/pulse/native
Bibliotheks-Protokollversion: 32
Server-Protokollversion: 32
ist lokal: ja
Client-Index: 176
Tile-Größe: 65472
Name des Benutzers: schneide
Rechnername: muc-nb-003
Name des Servers: pulseaudio
Version des Servers: 12.0
Standard-Abtastwert-Angabe: s16le 2ch 44100Hz
Standard-Kanal-Zuordnung: front-left,front-right
Standard-Ziel: bluez_sink.18_93_D7_83_40_DE.a2dp_sink
Standard-Quelle: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 1de7:3f92
schneide@muc-nb-003 ~> sudo systemctl status bluetooth
[…]
Jul 09 08:17:43 muc-nb-003 bluetoothd[544]: /org/bluez/hci0/dev_18_93_D7_83_40_DE/fd14: fd(32) ready
Jul 09 08:17:59 muc-nb-003 bluetoothd[544]: /org/bluez/hci0/dev_18_93_D7_83_40_DE/fd15: fd(32) ready
Jul 09 08:21:47 muc-nb-003 bluetoothd[544]: /org/bluez/hci0/dev_18_93_D7_83_40_DE/fd16: fd(32) ready
Jul 09 08:23:07 muc-nb-003 bluetoothd[544]: /org/bluez/hci0/dev_18_93_D7_83_40_DE/fd17: fd(32) ready

Thanks in advance and have a great day

Offline

Board footer

Powered by FluxBB