Mailinglist Archive: opensuse-factory (649 mails)

< Previous Next >
Re: [opensuse-factory] Workarounds for Buggy Bluetooth Audio

On Saturday 2017-08-19 15:06, Chan Ju Ping wrote:
On Thursday, 17 August 2017 01:34:10 +08 Jan Engelhardt wrote:
# bluetoothctl
BT# power on
-- at this point, devices paired in the past are usable --

BT# agent on
BT# default-agent
BT# discoverable on
BT# pairable on
BT# scan on

It works until here after I unpaired the device.

Right, I had another go with another sound device, and that reminded me of all
the things still needed to be done.

1. ensuring pulseaudio-bluetooth is installed (may need restart?)
2. (maybe bluetooth.service also needs a restart?)

3. bluetoothctl needs to be run as normal user, not root

4. after pair XX,
[bluetooth]> info D0:E7:82:64:21:90
Device D0:E7:82:64:21:90
Name: Cone
Alias: Cone
Class: 0x040000
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v00F2p0001d0001

Obviously, the device in question needs an audio sink (A2DP) to work in the
first place...,

BT> connect XX:XX...

Hopefully things work. If not, `journalctl -u bluetooth.service` might help
if only to reveal permission errors.

On error, sad things like

bluetoothd[13692]: Sap driver initialization failed.
bluetoothd[13692]: sap-server: Operation not permitted (1)
bluetoothd[13692]: a2dp-sink profile connect failed for
D0:E7:82:64:21:90: Protocol not available
(=> pulseaudio-bluetooth not installed)

could show. Or, when successful:

: Endpoint registered: sender=:1.397 path=/MediaEndpoint/A2DPSource
: Endpoint registered: sender=:1.397 path=/MediaEndpoint/A2DPSink
: /org/bluez/hci0/dev_D0_E7_82_64_21_90/fd0: fd(22) ready
: /org/bluez/hci0/dev_D0_E7_82_64_21_90/fd1: fd(22) ready
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >