You are not logged in.
I am trying to connect my new Bluetooth USB dongle with my Bluetooth headphones.
All necessary packages (bluez-* and pulseaudio-bluetooth) are installed and the bluetooth service is started.
I am seeing the following output upon starting of the bluetooth service:
May 19 20:55:25 oli-arch systemd[1]: Started Bluetooth service.
May 19 20:55:25 oli-arch bluetoothd[1799]: Starting SDP server
May 19 20:55:25 oli-arch bluetoothd[1799]: Bluetooth management interface 1.12 initialized
May 19 20:55:25 oli-arch bluetoothd[1799]: Failed to obtain handles for "Service Changed" characteristic
May 19 20:55:25 oli-arch bluetoothd[1799]: Sap driver initialization failed.
May 19 20:55:25 oli-arch bluetoothd[1799]: sap-server: Operation not permitted (1)
May 19 20:55:25 oli-arch bluetoothd[1799]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource
May 19 20:55:25 oli-arch bluetoothd[1799]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink
The SAP related messages vanish if I add "--noplugin=sap" to ExecStart of the service file.
Then, if I start bluetoothctl, I see the following:
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
...
[bluetooth]# devices
Device 08:DF:1F:54:35:3F Bose AE2 SoundLink
[bluetooth]# pair 08:DF:1F:54:35:3F
Attempting to pair with 08:DF:1F:54:35:3F
[CHG] Device 08:DF:1F:54:35:3F Connected: yes
Pairing successful
[CHG] Device 08:DF:1F:54:35:3F Connected: no
[bluetooth]# connect 08:DF:1F:54:35:3F
Attempting to connect to 08:DF:1F:54:35:3F
[CHG] Device 08:DF:1F:54:35:3F Connected: yes
Connection successful
[CHG] Device 08:DF:1F:54:35:3F Paired: yes
[Bose AE2 SoundLink]#
Hence, Everything looks just fine and the headphones show up as connected. However, I don't hear "Connected to..." in the phones, as usual, and in pavucontrol nothing appears. Also, in the bluetoothctl output, I see random "Connected: no" and "Connected: yes" appearing. It seems as if connecting is somewhat not finished.
In the systemd journal I can find nothing but
May 19 20:59:09 oli-arch bluetoothd[1799]: No cache for 08:DF:1F:54:35:3F
May 19 20:59:10 oli-arch bluetoothd[1799]: GATT service objects disabled
Any ideas?
Jan Oliver
Last edited by janoliver (2016-07-31 07:14:02)
Offline
Never mind, I was not in the lp group. Now it works flawlessly.
Offline
Unfortunately, the issue persists, it worked only once. So I am marking this unsolved again.
Essentially the situation is exactly as described in the starting post. Oddly, on the computer side everything looks like pairing and connecting works, however, the headphones don't tell me that they were paired and no pulseaudio output appears.
I am absolutely sure that I have all needed packages and that the device is supported in principle, as in very rare cases the connection succeeds.
Offline
Not sure if it is related but I had to change the controller mode to get mine to work.
/etc/bluetooth/main.conf
ControllerMode = bredr
Offline
That seems to have fixed it. Wow, thank you!
Offline
Finally, this also worked for me. Thank you!
The bluetooth connection was established but using
pacmd ls
there was no bluetooth audio sink available. Since I am on Gnome I followed the wiki article on troubleshooting bluetooth headset but it didn't help. Only changing the controller mode in
/etc/bluetooth/main.conf
to
ControllerMode = bredr
made the audio sink available, so now it is listed in pulseaudio's output sources.
I am rather a newbie but maybe one could remark in the wiki article for bluetooth headset that one should consider changing the controller mode?
Offline