Build an open future with us.

Invest in Mycroft and become a community partner.

Problem with bluetooth audio output


#1

Hi I have a problem outputting audio to my JBL GO bluetooth speaker. I managed to pair and connect to it but there is no sound.

Here’s documentation:

Picroft Outputting audio

Problems starts at “Next, we connect the audio.” section of “How to output audio through Bluetooth”

I installed everything that was needed

At 4 it states “edit” but there was no such file so I created new one and added that line.
At 5. there is no info where to add that lines… How to do this?

When I try to run pulseaudio it shows error:

E: [pulseaudio] module.c: Failed to load module “module-native-protocol-unix” (argument: “auth-anonymous=1 socket=/tmp/pulse-socket”): initialization failed.
E: [pulseaudio] main.c: Sink alsa_output.0.analog-stereo does not exist.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.


Bluetooth pairing issue
#2

Are you able to show the output of
sudo pactl list modules


#3

Here it is

Module #0
Name: module-device-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = “5.0”

Module #1
Name: module-stream-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = “5.0”

Module #2
Name: module-card-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = “5.0”

Module #3
Name: module-augment-properties
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional static information"
module.version = “5.0”

Module #4
Name: module-switch-on-port-available
Argument:
Usage counter: n/a
Properties:

Module #5
Name: module-udev-detect
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = “5.0”

Module #6
Name: module-alsa-card
Argument: device_id=“0” name=“0” card_name=“alsa_card.0” namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
Usage counter: 2
Properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = “5.0”

Module #7
Name: module-bluetooth-policy
Argument:
Usage counter: n/a
Properties:
module.author = "Frédéric Dalleau"
module.description = "When a bluetooth sink or source is added, load module-loopback"
module.version = “5.0”

Module #8
Name: module-bluetooth-discover
Argument:
Usage counter: n/a
Properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
module.version = “5.0”

Module #9
Name: module-bluez5-discover
Argument:
Usage counter: n/a
Properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
module.version = “5.0”

Module #10
Name: module-bluez4-discover
Argument:
Usage counter: n/a
Properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available BlueZ 4 Bluetooth audio devices and load BlueZ 4 Bluetooth audio drivers"
module.version = “5.0”

Module #11
Name: module-native-protocol-unix
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = “5.0”

Module #12
Name: module-default-device-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = “5.0”

Module #13
Name: module-rescue-streams
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
module.version = “5.0”

Module #14
Name: module-always-sink
Argument:
Usage counter: n/a
Properties:
module.author = "Colin Guthrie"
module.description = "Always keeps at least one sink loaded even if it’s a null one"
module.version = “5.0”

Module #15
Name: module-intended-roles
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based on intended roles of devices"
module.version = “5.0”

Module #16
Name: module-suspend-on-idle
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = “5.0”

Module #17
Name: module-console-kit
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each ConsoleKit session of this user"
module.version = “5.0”

Module #18
Name: module-systemd-login
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each login session of this user"
module.version = “5.0”

Module #19
Name: module-position-event-sounds
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
module.version = “5.0”

Module #20
Name: module-role-cork
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Mute & cork streams with certain roles while others exist"
module.version = “5.0”

Module #21
Name: module-filter-heuristics
Argument:
Usage counter: n/a
Properties:
module.author = "Colin Guthrie"
module.description = "Detect when various filters are desirable"
module.version = “5.0”

Module #22
Name: module-filter-apply
Argument:
Usage counter: n/a
Properties:
module.author = "Colin Guthrie"
module.description = "Load filter sinks automatically when needed"
module.version = “5.0”

Module #23
Name: module-native-protocol-unix
Argument: auth-anonymous=1 socket=/tmp/pulse-socket
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "5.0"
pi@picroft:~ $


#4

I too have the same problem
and in the log it shows :

N: [pulseaudio] main.c: User-configured server at unix:/tmp/pulse-socket, refusi ng to start/autospawn.
Please help


#5

Hi there @Sridevi_ram, welcome, it’s great to have you here.

In order to help troubleshoot, are you able to post the output of the following commands:

dmesg -i | grep blue

This command will tell us if there are any bluetooth-related error messages in dmesg - which is the system log.

sudo systemctl status blue*

This command tells us the status of all the bluetooth services on the device.


#6

I believe using the unix: socket connection only works if you run pulseausio as system-wide deamon. (not sure though)

the word “User-configured” throws me off here. Are you sure you start PulseAudio as system-wide server under the root user (daemon-mode) and NOT as a normal user?

“start/autospawn” is also something that should not be done if ran as system-wide deamon…