[pulseaudio-discuss] Problems with bluez-4.101 and pulseaudio-4.0
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Mon Jul 15 10:34:25 PDT 2013
On Mon, 2013-07-15 at 16:56 +0000, John Frankish wrote:
> I've compiled pulseaudio-4.0 and pavucontrol-2.0 on a linux-3.8.10 system and things work fine in general.
>
> Using pavucontrol I can switch seamlessly between my laptop speakers and a usb headset, but for some reason I cannot connect to bluetooth devices.
>
> If I understand correctly, I need the following in audio.conf:
>
> Enable=Source,Sink,Headset,Control,Media,Gateway
> Disable=Socket
>
> I paired using simple-agent, then ran pulseaudio -vv, but all I get is this:
>
> D: [pulseaudio] bluetooth-util.c: Registering /MediaEndpoint/HFPAG on adapter /org/bluez/13639/hci0.
> D: [pulseaudio] bluetooth-util.c: Registering /MediaEndpoint/HFPHS on adapter /org/bluez/13639/hci0.
> D: [pulseaudio] bluetooth-util.c: Registering /MediaEndpoint/A2DPSource on adapter /org/bluez/13639/hci0.
> D: [pulseaudio] bluetooth-util.c: Registering /MediaEndpoint/A2DPSink on adapter /org/bluez/13639/hci0.
> D: [pulseaudio] bluetooth-util.c: Device /org/bluez/13639/hci0/dev_00_21_3C_5B_E7_23 interface org.bluez.Headset property 'State' changed to value 'disconnected'
> D: [pulseaudio] bluetooth-util.c: Device /org/bluez/13639/hci0/dev_00_21_3C_5B_E7_23 interface org.bluez.AudioSink property 'State' changed to value 'disconnected'
> D: [pulseaudio] bluetooth-util.c: Device /org/bluez/13639/hci0/dev_00_21_3C_5B_E7_23 interface org.bluez.Headset property 'State' changed to value 'disconnected'
> D: [pulseaudio] bluetooth-util.c: Device /org/bluez/13639/hci0/dev_00_21_3C_5B_E7_23 interface org.bluez.Audio property 'State' changed to value 'disconnected'
>
> I saw somewhere that bluez-5 needs simple-endpoint to be run - is this the case with bluez-4.101 and, if so, what syntax is required?
I don't know what simple-endpoint is, but I would guess that it's not
needed with bluez 4.
I think the problem is that you don't connect any of the audio profiles
of the bluetooth device. Just pairing is not enough. I don't know how to
connect the profiles from command line, so I can't give exact
instructions, but with e.g. Gnome 3 the profiles are connected when I
click on the bluetooth applet, click on the device name, and then toggle
the "Connection" on/off switch.
--
Tanu
More information about the pulseaudio-discuss
mailing list