[pulseaudio-tickets] [Bug 83361] New: Bluetooth headset pairing broken if pulseaudio is not restarted
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 1 10:43:29 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=83361
Priority: medium
Bug ID: 83361
CC: lennart at poettering.net
Assignee: pulseaudio-bugs at lists.freedesktop.org
Summary: Bluetooth headset pairing broken if pulseaudio is not
restarted
QA Contact: pulseaudio-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: Daniel.Savard at gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: core
Product: PulseAudio
I cannot get my headset to work with net-wireless/bluez-5.21-r1,
media-sound/pulseaudio-5.0-r2, 3.14.14-gentoo and Gnome 3.12.
The bluetooth subsystem refuses to recognize the audio profile: a2dp-sink.
I opened a bug to Gentoo and after investigation here is the outcome. I needed
to restart pulseaudio in order to bluez to make the connection. Here is the
steps I followed to debug this:
The problem:
And here is what I am getting in bluetoothctl:
feynman syslog-ng # bluetoothctl
[NEW] Controller 00:02:72:20:1F:84 feynman-0 [default]
[NEW] Device 00:0F:59:10:90:2A iCom
[NEW] Device CC:55:AD:40:84:ED CiDS BB1
[bluetooth]# info 00:0F:59:10:90:2A
Device 00:0F:59:10:90:2A
Name: iCom
Alias: iCom
Class: 0x240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: yes
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
[bluetooth]# connect 00:0F:59:10:90:2A
Attempting to connect to 00:0F:59:10:90:2A
Failed to connect: org.bluez.Error.Failed
Trying to connect manually:
usr at feynman ~ $ bluetoothctl
[NEW] Controller 00:02:72:20:1F:84 feynman-0 [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent registered
[bluetooth]# default agent
Invalid command
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:02:72:20:1F:84 Discovering: yes
[NEW] Device 50:85:69:FF:5F:B7 [HTS]H4500
[NEW] Device 00:0F:59:10:90:2A iCom
[bluetooth]# pair 00:0F:59:10:90:2A
Attempting to pair with 00:0F:59:10:90:2A
[CHG] Device 00:0F:59:10:90:2A Connected: yes
[CHG] Device 00:0F:59:10:90:2A UUIDs:
00001108-0000-1000-8000-00805f9b34fb
0000110b-0000-1000-8000-00805f9b34fb
0000110e-0000-1000-8000-00805f9b34fb
0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:0F:59:10:90:2A Paired: yes
Pairing successful
[CHG] Device 00:0F:59:10:90:2A Connected: no
[bluetooth]# connect 00:0F:59:10:90:2A
Attempting to connect to 00:0F:59:10:90:2A
Failed to connect: org.bluez.Error.Failed
Then, here I restarted pulseaudio with pulseaudio -k and then tried to connect:
usr at feynman ~ $ bluetoothctl
[NEW] Controller 00:02:72:20:1F:84 feynman-0 [default]
[NEW] Device 00:0F:59:10:90:2A iCom
[bluetooth]# pair 00:0F:59:10:90:2A
Attempting to pair with 00:0F:59:10:90:2A
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]# connect 00:0F:59:10:90:2A
Attempting to connect to 00:0F:59:10:90:2A
[CHG] Device 00:0F:59:10:90:2A Connected: yes
Connection successful
[CHG] Device 00:0F:59:10:90:2A UUIDs:
00001108-0000-1000-8000-00805f9b34fb
0000110b-0000-1000-8000-00805f9b34fb
0000110c-0000-1000-8000-00805f9b34fb
0000110e-0000-1000-8000-00805f9b34fb
0000111e-0000-1000-8000-00805f9b34fb
[bluetooth]#
And now the device is connected properly.
I shouldn't have to restart pulseaudio in order to make this working. Seems to
be a pulseaudio issue. My version of bluez is 5.21.
The bug report for Gentoo is here:
https://bugs.gentoo.org/show_bug.cgi?id=520710
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140901/86e76e45/attachment.html>
More information about the pulseaudio-bugs
mailing list