Skip to contentSkip to conversation

Issue with pulseaudio.15.0 version audio issue HFP/HSP profile

DISCUSSION sateesh m 2 participants 4 messages Nov 14, 2024 – Nov 15, 2024

lore
Share & tools
lore

sateesh m

author
#0 lore raw

Hi Team,

We are using yocto version krikstone.

Trying HFP/HSP and A2DP Profile.

*1) We are able to connect  my mobile with bluetooth connectivty. Able to play audio but unable to listen sound.* *2) Through GSM we are trying to play audio but unable to listen sound.*

Integrated required packages using image install.

Ofono
Pulseaudio-15v
bluez5

IMAGE_INSTALL:append = " pulseaudio pulseaudio-server pulseaudio-misc "

IMAGE_INSTALL:append = " pulseaudio-server libpulsecore sbc pulseaudio-module-bluetooth-discover pulseaudio-module-bluez5-device pulseaudio-module-bluez5-discover pulseaudio-module-loopback pulseaudio-module-rtp-send pulseaudio-module-rtp-recv pulseaudio-module-bluetooth-policy pulseaudio-misc dbus gconf glib-2.0 pulseaudio-module-alsa-card pulseaudio-module-alsa-source pulseaudio-module-alsa-sink pulseaudio-module-cli libasound libcap  libltdl libpulse libsndfile1 libtdb libudev alsa-utils alsa-utils-speakertest pulseaudio-module-dbus-protocol"

PACKAGECONFIG:append:pn-pulseaudio = " autospawn-for-root"

*Issue  1:*

pulseaudio[1045]: W: [pulseaudio] module-bluez5-discover.c: Failed to load module for device

*Issue 2:*

root# pactl list sources short
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

*Need support I am hoping some configurations & service is missing with latest pulseaudio. Can anybody support me to fix this issue?*

Regards,
Sateesh

author
#1 lore raw

Hi Team,

Can anybody respond on this mail.

Thanks & Regards,
Sateesh

Quoted 60 lines · sateesh m via lists.yoctoproject.org,

Hi Team,

We are using yocto version krikstone.

Trying HFP/HSP and A2DP Profile.

*1) We are able to connect my mobile with bluetooth connectivty. Able to play audio but unable to listen sound. *
*2) Through GSM we are trying to play audio but unable to listen sound. *

Integrated required packages using image install.

Ofono
Pulseaudio-15v
bluez5

IMAGE_INSTALL:append = " pulseaudio pulseaudio-server pulseaudio-misc "

IMAGE_INSTALL:append = " pulseaudio-server libpulsecore sbc pulseaudio-module-bluetooth-discover pulseaudio-module-bluez5-device pulseaudio-module-bluez5-discover pulseaudio-module-loopback pulseaudio-module-rtp-send pulseaudio-module-rtp-recv pulseaudio-module-bluetooth-policy pulseaudio-misc dbus gconf glib-2.0 pulseaudio-module-alsa-card pulseaudio-module-alsa-source pulseaudio-module-alsa-sink pulseaudio-module-cli libasound libcap libltdl libpulse libsndfile1 libtdb libudev alsa-utils alsa-utils-speakertest pulseaudio-module-dbus-protocol"

PACKAGECONFIG:append:pn-pulseaudio = " autospawn-for-root"

*Issue 1:*

pulseaudio[1045]: W: [pulseaudio] module-bluez5-discover.c: Failed to load module for device

*Issue 2: *

root# pactl list sources short
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

*Need support I am hoping some configurations & service is missing with latest pulseaudio. Can anybody support me to fix this issue?*

Regards,
Sateesh

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#64274):
https://lists.yoctoproject.org/g/yocto/message/64274
Mute This Topic: https://lists.yoctoproject.org/mt/109568882/4526955
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

This is not really a Yocto question, it would fit StackOverflow better, I guess that's the main reason for the silence.

Some thoughts, and questions though (in no particular order):

- Pipewire is taking over PulseAudio, mostly because it's less pain to use and make work usually. Did you consider giving it a try?
- Do you have ofono added to PulseAudio's PACKAGECONFIG (or "3g" added to DISTRO_FEATURES)?
- Do you have PulseAudio and ofono daemons running? If yes, are there any notable log entries (journalctl/syslogs...)?
- What do you mean by "able to play audio"? Do you mean that you can play some sound file, without any apparent errors?

author
#3 lore raw

Hi Team,

I am facing issue as mentioned below. pulseaudio service running but I see issue with module-alsa-source.

When I execute $pactl list

*showing connection refused.*
*main.c Deamon not running.*