Hello @bruno.tx,
I managed to get PulseAudio working by stopping the BlueALSA service. Once that was done, it could be used from the test user.
Run as root:
systemctl stop bluealsa
Run as the test user:
pulseaudio --kill
pulseaudio --start
pactl list cards
Sink Input #5
Driver: protocol-native.c
Owner Module: 7
Client: 8
Sink: 0
Sample Specification: s16le 2ch 22050Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"s16le\"" format.rate = "22050" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 0 usec
Sink Latency: 78870 usec
Resample method: ffmpeg
Properties:
application.name = "paplay"
media.name = "paplay"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "35"
application.process.id = "1962"
application.process.user = "antonio"
application.process.host = "NIIRA-06894995"
application.process.binary = "pacat"
application.language = "C"
window.x11.display = ":0.0"
application.process.machine_id = "4d69720a3de04e4c8d35f1bafdcc1849"
module-stream-restore.id = "sink-input-by-application-name:paplay"
Sink Input #10
Driver: protocol-native.c
Owner Module: 7
NIIRA-06894995:~$ pactl list cards
Card #0
Name: alsa_card.platform-sound-card
Driver: module-alsa-card.c
Owner Module: 6
Properties:
alsa.card = "0"
alsa.card_name = "imx8mm-wm8904"
alsa.long_card_name = "imx8mm-wm8904"
device.bus_path = "platform-sound-card"
sysfs.path = "/devices/platform/sound-card/sound/card0"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
Profiles:
input:stereo-fallback: Stereo Input (sinks: 0, sources: 1, priority: 51, available: yes)
output:stereo-fallback: Stereo Output (sinks: 1, sources: 0, priority: 5100, available: yes)
output:stereo-fallback+input:stereo-fallback: Stereo Output + Stereo Input (sinks: 1, sources: 1, priority: 5151, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:stereo-fallback+input:stereo-fallback
Ports:
analog-input: Analog Input (type: Analog, priority: 10000, latency offset: 0 usec, availability unknown) Part of profile(s): input:stereo-fallback, output:stereo-fallback+input:stereo-fallback
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability unknown)
Properties:
device.icon_nam
Now my question is, how can I use Bluetooth with PulseAudio? Can you recommend anything?