Bug#743568: module-bluetooth-discover.so has to be manually loaded for bt audio

Felipe Sateler fsateler at debian.org
Tue Jul 1 13:52:28 UTC 2014


Control: reassign -1 blueman
Control: retitle -1 blueman: unload pulseaudio bluetooth module

On Sun, Jun 29, 2014 at 6:01 PM, Mattia Belluco <dewanee at ninthfloor.org> wrote:
> On 06/07/2014 02:19 AM, Felipe Sateler wrote:
>>
>> On Wed, May 14, 2014 at 3:51 PM, Mattia Belluco <dewanee at ninthfloor.org>
>> wrote:
>>>
>>> On 04/29/2014 06:51 AM, Felipe Sateler wrote:
>>>>
>>>>
>>>> Control: tags -1 moreinfo
>>>> Hi Mattia,
>>>>
>>>>> After much tinkering I found out one of the reasons my bluetooth audio
>>>>> devs (A2DP and not) were not pairing was due to the module:
>>>>> module-bluetooth-discover.so.
>>>>
>>>>
>>>> ..
>>>>
>>>>> nonetheless the second if doesn't work but the module can be loaded
>>>>> manually
>>>>
>>>>
>>>>
>>>> Can you still reproduce this with pulseaudio 5.0? If so, please attach
>>>> the output of:
>>>>
>>>> pulseaudio -k ; pulseaudio -vvvv --log-time
>>>>
>>>> (this will restart the pulseaudio server).
>>>>
>>>
>>> Yes, I still have the same issues with pulseaudio 5.0
>>> (pulseaudio 5.0-2 amd64)
>>> I attached the output of pulseaudio as requested. I didn't put that
>>> inline
>>> because of the size but I put here what I think are the relevant lines:
>>>
>>> (   0.208|   0.001) I: [pulseaudio] module.c: Loaded
>>> "module-bluetooth-policy" (index: #7; argument: "").
>>> (   0.209|   0.001) D: [pulseaudio] module.c: Checking for existence of
>>> '/usr/lib/pulse-5.0/modules/module-bluez5-discover.so': success
>>> (   0.212|   0.002) D: [pulseaudio] dbus-util.c: Successfully connected
>>> to
>>> D-Bus system bus 47fb21108884e3349e09c6e25373b679 as :1.33
>>> (   0.214|   0.002) I: [pulseaudio] module.c: Loaded
>>> "module-bluez5-discover" (index: #9; argument: "").
>>> (   0.214|   0.000) D: [pulseaudio] module.c: Checking for existence of
>>> '/usr/lib/pulse-5.0/modules/module-bluez4-discover.so': success
>>> (   0.218|   0.003) I: [pulseaudio] module.c: Loaded
>>> "module-bluez4-discover" (index: #10; argument: "").
>>> (   0.218|   0.000) I: [pulseaudio] module.c: Loaded
>>> "module-bluetooth-discover" (index: #8; argument: "").
>>> (   0.218|   0.000) D: [pulseaudio] module.c: Checking for existence of
>>> '/usr/lib/pulse-5.0/modules/module-esound-protocol-unix.so': failure
>>> (   0.220|   0.001) I: [pulseaudio] module.c: Loaded
>>> "module-native-protocol-unix" (index: #11; argument: "").
>>> (   0.220|   0.000) D: [pulseaudio] module.c: Checking for existence of
>>> '/usr/lib/pulse-5.0/modules/module-gconf.so': failure
>>>
>>> ...
>>>
>>> (   0.261|   0.000) I: [pulseaudio] main.c: Daemon startup complete.
>>> (   0.261|   0.000) D: [pulseaudio] bluez4-util.c: dbus:
>>> interface=org.freedesktop.DBus, path=/org/freedesktop/DBus,
>>> member=NameAcquired
>>> (   0.262|   0.000) W: [pulseaudio] bluez5-util.c: BlueZ D-Bus
>>> ObjectManager
>>> not available
>>> (   0.262|   0.000) D: [pulseaudio] module-udev-detect.c:
>>> /dev/snd/controlC0
>>> is accessible: yes
>>> (   0.262|   0.000) D: [pulseaudio] module-udev-detect.c: Resuming all
>>> sinks
>>> and sources of card alsa_card.pci-0000_00_1b.0.
>>> (   0.262|   0.000) D: [pulseaudio] bluez4-util.c: Registering
>>> /MediaEndpoint/BlueZ4/HFPAG on adapter /org/bluez/908/hci0.
>>> (   0.262|   0.000) D: [pulseaudio] bluez4-util.c: Registering
>>> /MediaEndpoint/BlueZ4/HFPHS on adapter /org/bluez/908/hci0.
>>> (   0.262|   0.000) D: [pulseaudio] bluez4-util.c: Registering
>>> /MediaEndpoint/BlueZ4/A2DPSource on adapter /org/bluez/908/hci0.
>>> (   0.262|   0.000) D: [pulseaudio] bluez4-util.c: Registering
>>> /MediaEndpoint/BlueZ4/A2DPSink on adapter /org/bluez/908/hci0.
>>> (   0.264|   0.002) I: [pulseaudio] bluez4-util.c: Couldn't register
>>> endpoint /MediaEndpoint/BlueZ4/A2DPSink, because BlueZ is configured to
>>> disable the endpoint type.
>>> (   0.268|   0.003) D: [pulseaudio] bluez4-util.c: Device
>>> /org/bluez/908/hci0/dev_00_02_3C_27_8D_68 interface org.bluez.AudioSink
>>> property 'State' changed to value 'disconnected'
>>> (   0.268|   0.000) D: [pulseaudio] bluez4-util.c: Device
>>> /org/bluez/908/hci0/dev_00_02_3C_27_8D_68 interface org.bluez.Audio
>>> property
>>> 'State' changed to value 'disconnected'
>>>
>>> ...
>>> (   4.990|   4.721) I: [pulseaudio] client.c: Created 1 "Native client
>>> (UNIX
>>> socket client)"
>>> (   4.990|   0.000) D: [pulseaudio] protocol-dbus.c: Interface
>>> org.PulseAudio.Core1.Client added for object
>>> /org/pulseaudio/core1/client1
>>> (   4.990|   0.000) D: [pulseaudio] protocol-native.c: Protocol version:
>>> remote 29, local 29
>>> (   4.990|   0.000) I: [pulseaudio] protocol-native.c: Got credentials:
>>> uid=1000 gid=1000 success=1
>>> (   4.990|   0.000) D: [pulseaudio] protocol-native.c: SHM possible: yes
>>> (   4.990|   0.000) D: [pulseaudio] protocol-native.c: Negotiated SHM:
>>> yes
>>> (   4.991|   0.000) D: [pulseaudio] module-augment-properties.c: Looking
>>> for
>>> .desktop file for python2.7
>>> (   4.991|   0.000) D: [pulseaudio] module-augment-properties.c: Found
>>> /usr/share/applications/python2.7.desktop.
>>> (   4.994|   0.003) I: [pulseaudio] module.c: Unloading
>>> "module-bluetooth-discover" (index: #8).
>>> (   4.994|   0.000) I: [pulseaudio] module.c: Unloading
>>> "module-bluez5-discover" (index: #9).
>>> (   4.994|   0.000) I: [pulseaudio] module.c: Unloaded
>>> "module-bluez5-discover" (index: #9).
>>> (   4.995|   0.000) I: [pulseaudio] module.c: Unloading
>>> "module-bluez4-discover" (index: #10).
>>> (   4.995|   0.000) I: [pulseaudio] module.c: Unloaded
>>> "module-bluez4-discover" (index: #10).
>>> (   4.995|   0.000) I: [pulseaudio] module.c: Unloaded
>>> "module-bluetooth-discover" (index: #8).
>>
>>
>> At this moment a client connected. What client could that be?  This is
>> not part of the startup sequence, as it is too late. Did you open a
>> program then?
>>
>>
>>
> Module-bluetooth-discover unloading is apparently related with
> blueman-applet startup: if I don't load it on login those lines do not
> appear.

Reassigning to blueman, then.

-- 

Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list