Sound not working with HifiBerry
-
I recently installed the newest version of RetroPie on my Rapberry Pi 3 with a HifiBerry DAC+ ZERO for audio. I followed this official instruction https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/ for the setup and the device is recognised when i type
aplay -l
in the console but in RetroPie's sound settings the volume is always at 0% and there is no sound anywhere. I already tried all combinations of the settings for Audio Card and Audio Device but still no luck. Any help would be appreciated... Thanks in advance -
Post the output of
aplay -L aplay -l
Is
alsamixer
working your sound card, i.e. does it have a volume control ? -
@mitu
Thanks for the reply.$ aplay -L null Discard all samples (playback) or generate zero samples (capture) default output sysdefault:CARD=sndrpihifiberry snd_rpi_hifiberry_dac, Hifiberry DAC HiFi pcm5102a-hifi-0 Default Audio Device dmix:CARD=sndrpihifiberry,DEV=0 snd_rpi_hifiberry_dac, Hifiberry DAC HiFi pcm5102a-hifi-0 Direct sample mixing device dsnoop:CARD=sndrpihifiberry,DEV=0 snd_rpi_hifiberry_dac, Hifiberry DAC HiFi pcm5102a-hifi-0 Direct sample snooping device hw:CARD=sndrpihifiberry,DEV=0 snd_rpi_hifiberry_dac, Hifiberry DAC HiFi pcm5102a-hifi-0 Direct hardware device without any conversions plughw:CARD=sndrpihifiberry,DEV=0 snd_rpi_hifiberry_dac, Hifiberry DAC HiFi pcm5102a-hifi-0 Hardware device with all software conversions $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0
Concerning the alsamixer, I assume I have to type "alsamixer sndrpihifiberry" or "alsamixer snd_rpi_hifiberry_dac"? If so, both give me "cannot open mixer: No such file or directory".
-
@bk said in Sound not working with HifiBerry:
Concerning the alsamixer, I assume I have to type "alsamixer sndrpihifiberry" or "alsamixer snd_rpi_hifiberry_dac"? If so, both give me "cannot open mixer: No such file or directory".
No, you should just type
alsamixer
and note the mixer's name (4th row on the top left menu). For instance, in the screenshot below the mixer is named Headphone.
.
However, based on the error you're receiving (cannot open mixer) it looks like the device has no hardware volume control (mixer). You may be able to add a software volume control, following the instructions from this page.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.