This bug affects me on Xubuntu 14.04.3

My pulse audio config file also has the following but fails to load the
module:

        .ifexists module-bluetooth-discover.so
        load-module module-bluetooth-discover
        .endif

On my machine it seemed like there was a race condition and module-
bluetooth-discover a dependency.  If I attempted to load the modules
using the config file, directly on startup, or even too fast manually it
failed to load.


Here was my complete workaround:

1) Ensure that the module-bluetooth-discover module is installed
        sudo apt-get install pulseaudio-module-bluetooth

2) Load the following modules manually
        pactl load-module module-bluetooth-discover
        pactl load-module module-switch-on-connect

3) Check that the modules loaded
        pactl list modules | grep module-bluetooth-discover
        pactl list modules | grep module-switch-on-connect

4) Check that you are able to connect to the bluetooth speaker

To load the modules automatically:

5) Comment out the following lines from /etc/pulse/default.pa
        .ifexists module-bluetooth-discover.so
        load-module module-bluetooth-discover
        .endif

        -to-

        #.ifexists module-bluetooth-discover.so
        #load-module module-bluetooth-discover
        #.endif

6) Add the following as a new startup command using the "Session and Startup" 
GUI:
        bash -c "sleep(5); pactl load-module module-bluetooth-discover; pactl 
load-module module-switch-on-connect"


If you are having trouble I used this command to check why pulseaudio was 
failing to load the modules:
        cat /var/log/syslog | grep pulse

I found errors like:
        module.c: Module "module-bluetooth-discover" should be loaded once at 
most. Refusing to load.
        module-bluetooth-device.c: Failed to acquire transport 
/org/bluez/924/hci0/dev_00_12_6F_43_6E_75/fd0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1274613

Title:
  module-bluetooth-discover does not load on login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1274613/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to