No sound out of HiFi Berry DAC + with Volumio2 (2.799)

This is while the ES9038PRO dac is playing:
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: ApplePiDAC [ApplePi-DAC], device 0: bcm2835-i2s-pcm1794a-hifi pcm1794a-codec-0 [bcm2835-i2s-pcm1794a-hifi pcm1794a-codec-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
volumio@volumio:~$

initramfs volumio.initrd
#GPU_MEM=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1

include userconfig.txt

Touch Display gpu_mem setting below: do not alter

gpu_mem=128

same problem here with Raspberry 3b+, audiophonics digipi+ pro DAC, coaxial output, Volumio 2.799. ALSA errors and no sound with spotify and webradios. I disable i2s dac, reboot, enable i2s dac again, but the problem still exists

Just got everything put together with my up-cycled vintage radio with Raspberry Pi 3B+, HiFiBerry Amp2 (DAC+) and Volumio. All was working fine until I upgraded Volumio to 2.799. Now, same problem as others on here. No sound with any audio source (network share, Spotify, web radios). Tried some of the suggestions above, still no sound. I have sent logs per the instructions (http://logs.volumio.org/volumio/hLI3rVt.html)

Is there someplace to download the image for the previous version?

Can we get an update from the volumio team? The new version is useless.
I tried alot of things, but after a reboot no sound. Need redo the procedure and it works until next reboot.

Older volumio versions .img files

Same here - almost identical setup.

logs: http://logs.volumio.org/volumio/Pv3yKRc.html

Going to roll back for now,

Thanks

I have the same problem. But only if I add the touchscreen into the mix. What seems to happen then is that the card1 (HDMI) disappears from aplay -l. Volumio still tries to address card2 (hifiberry) which now is card1, giving me the ALSA error. Forcing card1 via mpd.conf will work but the mixer is then set to “undefined” so no volume control.

Removing the touchscreen and setting up the Hifiberry Dac+ will restore sound, as the HDMI returns as card1.
Do you guys have the same problem? I see only two devices in your aplay -l-logs.

Question: Is there a way to change the order of the soundcards, so Hifiberry is 0? Or maybe could volumio recognize HDMI is missing and update the order of the cards?

same problem here: I use the RPI 7’ display on a RPI 3B+ and the Hifiberry DAC 2 HD and Volumio
and update to latest version 2.799. The Hifiberry is conflict with the RPI 7’ display and plugin version 1.1.8. The detail of the plugin notes: ‘Using this plugin is not recommended with Raspberry PI B+! Suggested, Raspberry PI 3, Odroid C1 or C2’. I have no problems with this setup and the Hifiberry Digi + pro board before the update to 2.799. When i disable the power to the display everything works. After the latest update this error ocured. Any solutions or experiences? kind regards
Log when display is disconnected:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 2: sndrpihifiberry [snd_rpi_hifiberry_dacplushd], device 0: HiFiBerry DAC+ HD HiFi pcm179x-hifi-0 [HiFiBerry DAC+ HD HiFi pcm179x-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

1 Like

@Markinton:

Can you also post the log with the display connected?
I can’t, becaus after I tinkered around for a whole day yesterday I was frustrated and locked the screen away. :wink:

This is exactly the point, enabling DSI touchscreen makes HDMI to disappear from the list and I2S DAC becomes card1

I got it working. Its actually quite simple, it looks like the enumeration of output devices is not working.
Edit the /etc/mpd.conf file.
Find the audio output section
change the device “hw:1,0” - it was 2,0 before.

it worked for me.

@volumio

with DSI touchscreen connected:

volumio@volumio-home:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: 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

without DSI touchscreen

volumio@volumio-home:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 2: 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
1 Like

Could you write it out step by step so we can all fix the problem

Thanks

I will try. Enable SSH, by going to http:\your volumio IP\dev.
click enable under ssh.
then connect to the volumio via for example Bitvise SSH (i use this one)
there is a file manager with the program so its probably the best way, find the mpd.conf file under the \etc directory and double click on it to edit, remember to save.
or using the terminal, find the directory and sudo nano mpd.conf

I hope it hepls?

Works for me but no volume control possible. Mixer is set to ‘undefined’. Anything I am missing?

I have mine on none, so I cannot answer that. Another thing to remember, is that the change will be overwritten if you change your output device, so its necessary to edit the file again.

1 Like

Thanks you. Since it’s reverting back to using the non-existent card2 after changing output, it really is a bug that might be fixed soon. I spent the whole day yesterday trying to figure this out, thinking I was just too unskilled. :wink:

Got mine working, thanks for the solution!

I can’t test myself ATM but maybe you can check if it helps to add

snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=0

to /boot/cmdline.txt to get back all endpoints as different ALSA devices?

Edit: Possibly it is necessary to set snd_bcm2835.enable_compat_alsa=1 respectively to leave out snd_bcm2835.enable_compat_alsa completely if you should encounter problems choosing the default device.