Hello, as per the title, im trying to deploy balena sound on some generic x86 devices i have around, with the idea of setting up a multiroom system. Im using balena sound 3.9.6 available on balenahub
The deployment succeeded and if i try to output from spotify, i see the correct logs from the respective container, but no sound is produced from the 35mm jack.
Ive tried with both AUDIO_OUTPUT=HEADPHONES
as well as leaving it on AUTO
, same result, although the HEADPHONES
value generates extra errors
2024-04-16T14:34:34+00:00 audio E: [pulseaudio] module-loopback.c: No such sink.
2024-04-16T14:34:34+00:00 audio E: [pulseaudio] module.c: Failed to load module "module-loopback" (argument: "latency_msec=200 source=balena-sound.output.monitor sink=HEADPHONES"): initialization failed.
2024-04-16T14:34:34+00:00 audio E: [pulseaudio] main.c: Sink HEADPHONES does not exist.
From within the audio container, i get the following outputs:
bash-5.1# cat /proc/asound/cards
0 [hda-intel ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xd0700000 irq 95
bash-5.1# aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: hda-intel [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: hda-intel [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: hda-intel [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
bash-5.1# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=hda-intel
HDA Intel PCH, ALC662 rev3 Analog
Default Audio Device
sysdefault:CARD=hda-intel
HDA Intel PCH, ALC662 rev3 Analog
Default Audio Device
front:CARD=hda-intel,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
Front output / input
surround21:CARD=hda-intel,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=hda-intel,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=hda-intel,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=hda-intel,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=hda-intel,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=hda-intel,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=hda-intel,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=hda-intel,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
Even when I try to generate a test sound, i get the following error.
bash-5.1# speaker-test -t wav -c 6
speaker-test 1.2.5.1
Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave
Playback open error: -16,Resource busy
As im running out of ideas, a bit of support would be very appreciated