[pulseaudio-discuss] Problems with bluez-4.101 and pulseaudio-4.0
John Frankish
j-frankish at slb.com
Tue Jul 16 05:58:37 PDT 2013
> > -----Original Message-----
> > From: Tanu Kaskinen [mailto:tanu.kaskinen at linux.intel.com]
> > Sent: Monday, 15 July, 2013 21:34
> > To: John Frankish
> > Cc: pulseaudio-discuss at lists.freedesktop.org
> > Subject: Re: [pulseaudio-discuss] Problems with bluez-4.101 and pulseaudio-4.0
> >
> > 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
Thanks for the hint
I tried with blueman-1.23:
A Bluetooth headset will connect using a "headset" profile, but not as an "A2DP sink"
Bluetooth headphones will not connect as an "A2DP sink"
I suspect the issue is audio.conf, but without knowing the command line syntax to connect the audio profiles, it's a little difficult to troubleshoot.
John
More information about the pulseaudio-discuss
mailing list