> > > > -----Original Message-----
> > > > From: Tanu Kaskinen [mailto:[email protected]]
> > > > Sent: Monday, 15 July, 2013 21:34
> > > > To: John Frankish
> > > > Cc: [email protected]
> > > > 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.
> 
> I then restarted pulseaudio and the headset profile was connected and the
> headset appeared in pavucontrol
> 
> I was also able to connect the A2DP profile.
> 
> Is this (the need to restart pulseaudio) a bug?

It appears I spoke too soon - apart from this one occasion, I have been unable 
to connect to Bluetooth headphones or headset using blueman or gnome-bluetooth.

gnome-bluetooth seems to come closest to connecting - see pulseaudio -vv output 
below, but pavucontrol still does not show any Bluetooth devices to allow me to 
use them for audio.

This seems especially strange in light of the output " Stream properly set up, 
we're ready to roll!"

Any pointers on the command line syntax on how to connect the bluetooth device 
as an a2dp sink would be much appreciated.

John

---------

D: [pulseaudio] bluetooth-util.c: Registering /MediaEndpoint/HFPAG on adapter 
/org/bluez/15679/hci0.
D: [pulseaudio] bluetooth-util.c: Registering /MediaEndpoint/HFPHS on adapter 
/org/bluez/15679/hci0.
D: [pulseaudio] bluetooth-util.c: Registering /MediaEndpoint/A2DPSource on 
adapter /org/bluez/15679/hci0.
D: [pulseaudio] bluetooth-util.c: Registering /MediaEndpoint/A2DPSink on 
adapter /org/bluez/15679/hci0.
...
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Adapter, 
path=/org/bluez/15679/hci0, member=DeviceCreated
D: [pulseaudio] bluetooth-util.c: Device 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88 created
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Device, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Device, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Device, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: Device 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88 interface org.bluez.AudioSink 
property 'State' changed to value 'disconnected'
D: [pulseaudio] bluetooth-util.c: Device 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88 interface org.bluez.Audio property 
'State' changed to value 'disconnected'
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Device, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSink, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: Device 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88 interface org.bluez.AudioSink 
property 'State' changed to value 'connecting'
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Audio, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: Device 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88 interface org.bluez.Audio property 
'State' changed to value 'connecting'
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.MediaEndpoint, 
path=/MediaEndpoint/A2DPSource, member=SelectConfiguration
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.MediaEndpoint, 
path=/MediaEndpoint/A2DPSource, member=SelectConfiguration
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.MediaEndpoint, 
path=/MediaEndpoint/A2DPSource, member=SetConfiguration
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.MediaEndpoint, 
path=/MediaEndpoint/A2DPSource, member=SetConfiguration
D: [pulseaudio] bluetooth-util.c: Transport 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88/fd0 profile 0 available
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSink, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSink, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: Device 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88 interface org.bluez.AudioSink 
property 'State' changed to value 'connected'
D: [pulseaudio] bluetooth-util.c: Transport 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88/fd0 (profile a2dp) changed state 
from disconnected to idle.
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Audio, 
path=/org/bluez/15679/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: Device 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88 interface org.bluez.Audio property 
'State' changed to value 'connected'
D: [pulseaudio] module-bluetooth-discover.c: Loading module-bluetooth-device 
address="00:1B:66:00:31:88" path="/org/bluez/15679/hci0/dev_00_1B_66_00_31_88"
D: [pulseaudio] module-card-restore.c: Database contains invalid data for key: 
bluez_card.00_1B_66_00_31_88 (probably pre-v1.0 data)
D: [pulseaudio] module-card-restore.c: Attempting to load legacy (pre-v1.0) 
data for key: bluez_card.00_1B_66_00_31_88
D: [pulseaudio] module-card-restore.c: Size does not match.
D: [pulseaudio] module-card-restore.c: Unable to load legacy (pre-v1.0) data 
for key: bluez_card.00_1B_66_00_31_88. Ignoring.
I: [pulseaudio] card.c: Created 1 "bluez_card.00_1B_66_00_31_88"
D: [pulseaudio] module-card-restore.c: Database contains invalid data for key: 
bluez_card.00_1B_66_00_31_88 (probably pre-v1.0 data)
D: [pulseaudio] module-card-restore.c: Attempting to load legacy (pre-v1.0) 
data for key: bluez_card.00_1B_66_00_31_88
D: [pulseaudio] module-card-restore.c: Size does not match.
D: [pulseaudio] module-card-restore.c: Unable to load legacy (pre-v1.0) data 
for key: bluez_card.00_1B_66_00_31_88. Ignoring.
I: [pulseaudio] module-card-restore.c: Storing port latency offsets for card 
bluez_card.00_1B_66_00_31_88.
D: [pulseaudio] module-bluetooth-device.c: Acquiring transport 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88/fd0
I: [pulseaudio] module-bluetooth-device.c: Transport 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88/fd0 acquired: fd 18
I: [pulseaudio] module-bluetooth-device.c: SBC parameters:
I: [pulseaudio] module-bluetooth-device.c:      allocation=0
I: [pulseaudio] module-bluetooth-device.c:      subbands=1
I: [pulseaudio] module-bluetooth-device.c:      blocks=3
I: [pulseaudio] module-bluetooth-device.c:      bitpool=53
D: [pulseaudio] module-device-restore.c: Database contains invalid data for 
key: sink:bluez_sink.00_1B_66_00_31_88 (probably pre-v1.0 data)
D: [pulseaudio] module-device-restore.c: Attempting to load legacy (pre-v1.0) 
data for key: sink:bluez_sink.00_1B_66_00_31_88
D: [pulseaudio] module-device-restore.c: Size does not match.
D: [pulseaudio] module-device-restore.c: Unable to load legacy (pre-v1.0) data 
for key: sink:bluez_sink.00_1B_66_00_31_88. Ignoring.
D: [pulseaudio] module-device-restore.c: Database contains invalid data for 
key: sink:bluez_sink.00_1B_66_00_31_88:null
I: [pulseaudio] sink.c: Created sink 1 "bluez_sink.00_1B_66_00_31_88" with 
sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     bluetooth.protocol = "a2dp"
I: [pulseaudio] sink.c:     device.description = "Sennheiser PXC310BT"
I: [pulseaudio] sink.c:     device.string = "00:1B:66:00:31:88"
I: [pulseaudio] sink.c:     device.api = "bluez"
I: [pulseaudio] sink.c:     device.class = "sound"
I: [pulseaudio] sink.c:     device.bus = "bluetooth"
I: [pulseaudio] sink.c:     device.form_factor = "headphone"
I: [pulseaudio] sink.c:     bluez.path = 
"/org/bluez/15679/hci0/dev_00_1B_66_00_31_88"
I: [pulseaudio] sink.c:     bluez.class = "0x240418"
I: [pulseaudio] sink.c:     bluez.name = "Sennheiser PXC310BT"
I: [pulseaudio] sink.c:     device.icon_name = "audio-headphones-bluetooth"
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] module-device-restore.c: Database contains invalid data for 
key: source:bluez_sink.00_1B_66_00_31_88.monitor (probably pre-v1.0 data)
D: [pulseaudio] module-device-restore.c: Attempting to load legacy (pre-v1.0) 
data for key: source:bluez_sink.00_1B_66_00_31_88.monitor
D: [pulseaudio] module-device-restore.c: Size does not match.
D: [pulseaudio] module-device-restore.c: Unable to load legacy (pre-v1.0) data 
for key: source:bluez_sink.00_1B_66_00_31_88.monitor. Ignoring.
D: [pulseaudio] module-device-restore.c: Database contains invalid data for 
key: source:bluez_sink.00_1B_66_00_31_88.monitor:null
I: [pulseaudio] source.c: Created source 2 
"bluez_sink.00_1B_66_00_31_88.monitor" with sample spec s16le 2ch 44100Hz and 
channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Sennheiser 
PXC310BT"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.string = "00:1B:66:00:31:88"
I: [pulseaudio] source.c:     device.api = "bluez"
I: [pulseaudio] source.c:     device.bus = "bluetooth"
I: [pulseaudio] source.c:     device.form_factor = "headphone"
I: [pulseaudio] source.c:     bluez.path = 
"/org/bluez/15679/hci0/dev_00_1B_66_00_31_88"
I: [pulseaudio] source.c:     bluez.class = "0x240418"
I: [pulseaudio] source.c:     bluez.name = "Sennheiser PXC310BT"
I: [pulseaudio] source.c:     device.icon_name = "audio-headphones-bluetooth"
D: [bluetooth] module-bluetooth-device.c: IO Thread starting up
I: [bluetooth] core-util.c: Failed to acquire real-time scheduling: No such 
file or directory
I: [bluetooth] module-bluetooth-device.c: Transport 
/org/bluez/15679/hci0/dev_00_1B_66_00_31_88/fd0 resuming
D: [bluetooth] module-bluetooth-device.c: Stream properly set up, we're ready 
to roll!
D: [bluetooth] module-bluetooth-device.c: Using SBC encoder implementation: MMX
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device added 
for object /org/pulseaudio/core1/source2
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Source added 
for object /org/pulseaudio/core1/source2
D: [pulseaudio] module-device-restore.c: Database contains invalid data for 
key: sink:bluez_sink.00_1B_66_00_31_88:null
D: [pulseaudio] module-bluetooth-policy.c: Profile a2dp cannot be selected for 
loopback
D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.00_1B_66_00_31_88 
becomes idle, timeout in 5 seconds.
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to