with the “Deploy” Button was giving me sound on the built in RPI Headphones output out of the box with speaker-test -c2 (maybe not out of the box but once i have played sth. via bluetooth, speaker test seemed to work as well). I was using a RPI 4 model with this software version:
I do now hear streamed sound via the DAC and speaker-test -c2 works as well.
Is there any reason the deploy version behaves differently? I would be happy, if i could use the git-containers, because i might want to add some web interface to control audio params from there.
So an integrated, out of the box solution seems a little unflexible to me.
Kind regards, let me know if my information helps,
Hey Tobi, thanks for your interest in the project!
The reason you see a difference between versions is the one deployed from the blog is pinned to an older release so it is missing some of the new features and fixes. The latest Github source is always the preferred version going forward, especially if you want to add your own features.
Did you try using the Hifiberry dtoverlay with the latest Github source?
alright i understood the difference now. I have just tried to use the latest github and balena-os version, but with doing the same steps as above i do not get any sound. There are no sound cards detected (checked with alsamixer).
Just for curiosity I have tried with "sound=on", then it detects the rpi internal soundcard, but still no sound via the headphones.
I am a little lost what might be the problems, are there up-to-date instructions for
Host OS version [balenaOS 2.71.3+rev1]
to get sound running? I found a few commands for other versions and it is hard to keep track…
Kind regards and thanks a lot,
EDIT: After unplugging the power and a restarting the RPI the hifiberry dac+adc is seen in alsamixer but there is still no sound output. Do i have to choose “DAC” actively? Although the fallback should choose that automatically!
EDIT: I found, that the red LED “D1” is not light up on the Hifiberry DAC+ADC Pro, as compared to the web-deploy version. Might this help? Might there be some voltage or interface missing? Found this: DAC+ ADC Pro LEDs – HiFiBerry