[pulseaudio-discuss] bluetooth headset found but not showing in pavucontrol
Brian J. Murrell
brian at interlinx.bc.ca
Wed Sep 23 15:54:53 PDT 2009
On Wed, 2009-09-23 at 10:22 -0400, Peter Hurley wrote:
>
> The reason PA unloads the BT device module is here:
>
> I: module-bluetooth-device.c: FD error: POLLERR
> D: module-bluetooth-device.c: IO thread failed
Ahhh. Yes, couldn't see the trees from the forest.
> Your options moving forward:
For ease, and just to prove that the time spent on option #1 would be
fruitful, I chose this one....
> 2) If you only want A2DP and don't want pulseaudio connecting via
> HSP/HFP,
TBH, I don't really know which of these I want. What I have is a
monaural bluetooth headset typically used with a cell-phone.
> you can only do it per-device and must sacrifice BT device
> discovery.
For experimentation (at least), that sounds fine.
> Comment out the load of module-bluetooth-discover in
> /etc/pulse/default.pa
Done:
#.ifexists module-bluetooth-discover.so
#load-module module-bluetooth-discover
#.endif
> and add the following line to the same file
> (replace xx:xx:xx:xx:xx:xx below with your headset's BT_ADDR):
> load-module module-bluetooth-device address=xx:xx:xx:xx:xx:xx
> profile=a2dp
Done:
load-module module-bluetooth-device address=00:1A:45:1B:19:89
profile=a2dp
I restarted PA after doing this and got the same results:
W: module-bluetooth-device.c: Profile 'a2dp' not valid or not supported by device.
I: card.c: Created 1 "bluez_card.00_1A_45_1B_19_89"
D: module-bluetooth-device.c: Connected to the bluetooth audio service
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_GET_CAPABILITIES
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_GET_CAPABILITIES
D: module-bluetooth-device.c: Payload size is 9 6
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_GET_CAPABILITIES
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_GET_CAPABILITIES
D: module-bluetooth-device.c: Payload size is 9 6
D: module-bluetooth-device.c: Got device capabilities
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_OPEN
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_OPEN
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_SET_CONFIGURATION
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_SET_CONFIGURATION
D: module-bluetooth-device.c: Connection to the device configured
D: module-bluetooth-device.c: Got the stream socket
D: core-subscribe.c: Dropped redundant event due to change event.
I: sink.c: Created sink 1 "bluez_sink.00_1A_45_1B_19_89" with sample spec s16le 1ch 8000Hz and channel map mono
I: sink.c: bluetooth.protocol = "sco"
I: sink.c: device.intended_roles = "phone"
I: sink.c: device.description = "Jabra BT125"
I: sink.c: device.string = "00:1A:45:1B:19:89"
I: sink.c: device.api = "bluez"
I: sink.c: device.class = "sound"
I: sink.c: device.bus = "bluetooth"
I: sink.c: device.form_factor = "headset"
I: sink.c: bluez.path = "/org/bluez/6716/hci0/dev_00_1A_45_1B_19_89"
I: sink.c: bluez.class = "0x200404"
I: sink.c: bluez.name = "Jabra BT125"
I: sink.c: device.icon_name = "audio-headset-bluetooth"
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 2 "bluez_sink.00_1A_45_1B_19_89.monitor" with sample spec s16le 1ch 8000Hz and channel map mono
I: source.c: device.description = "Monitor of Jabra BT125"
I: source.c: device.class = "monitor"
I: source.c: device.string = "00:1A:45:1B:19:89"
I: source.c: device.api = "bluez"
I: source.c: device.bus = "bluetooth"
I: source.c: device.form_factor = "headset"
I: source.c: bluez.path = "/org/bluez/6716/hci0/dev_00_1A_45_1B_19_89"
I: source.c: bluez.class = "0x200404"
I: source.c: bluez.name = "Jabra BT125"
I: source.c: device.icon_name = "audio-headset-bluetooth"
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 3 "bluez_source.00_1A_45_1B_19_89" with sample spec s16le 1ch 8000Hz and channel map mono
I: source.c: bluetooth.protocol = "hsp"
I: source.c: device.intended_roles = "phone"
I: source.c: device.description = "Jabra BT125"
I: source.c: device.string = "00:1A:45:1B:19:89"
I: source.c: device.api = "bluez"
I: source.c: device.class = "sound"
I: source.c: device.bus = "bluetooth"
I: source.c: device.form_factor = "headset"
I: source.c: bluez.path = "/org/bluez/6716/hci0/dev_00_1A_45_1B_19_89"
I: source.c: bluez.class = "0x200404"
I: source.c: bluez.name = "Jabra BT125"
I: source.c: device.icon_name = "audio-headset-bluetooth"
D: module-bluetooth-device.c: IO Thread starting up
I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 4, which is lower than the requested 5.
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_START_STREAM
D: module-bluetooth-device.c: Trying to receive message from audio service...
...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_START_STREAM
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_INDICATION <- BT_NEW_STREAM
D: module-bluetooth-device.c: Stream properly set up, we're ready to roll!
I: module-bluetooth-device.c: FD error: POLLERR
D: module-bluetooth-device.c: IO thread failed
D: module-suspend-on-idle.c: Sink bluez_sink.00_1A_45_1B_19_89 becomes idle, timeout in 5 seconds.
D: module-suspend-on-idle.c: Source bluez_source.00_1A_45_1B_19_89 becomes idle, timeout in 5 seconds.
I: module.c: Loaded "module-bluetooth-device" (index: #7; argument: "address=00:1A:45:1B:19:89 profile=a2dp").
I'm assuming the "Profile 'a2dp' not valid or not supported by device."
at the top is the problem. What can I do with/about that?
Thanx greatly for the help so far!
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20090923/37183fcf/attachment.pgp>
More information about the pulseaudio-discuss
mailing list