HiFiBerry DAC Plus stopped working after Volumio upgrade

I had a much older version of Volumio from about two years back. Everything was working but I seemed to look the Spotify Icon. I therefore upgraded to the latest version. Everything appears to be working except that I now have no audio coming from my HiFiBerry DAC Plus. The audio settings appear to be the same as before the upgrade.

What might have done wrong and how do I troubleshoot?

aplay -l returns

**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
aplay: device_list:277: control open (0): No such file or directory
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 3/3
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
card 2: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 [HiFiBerry DAC+ HiFi pcm512x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0

Thanks


Config

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
hdmi_drive=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt=1024 600 60 3 0 0 0

include userconfig.txt

Volumio i2s setting below: do not alter

dtoverlay=hifiberry-dacplus

System Information (When running this plugin I get ā€œAudio system seems to failā€

OS info

Version of Volumio: 2.806
Hostname: volumio
Kernel: 4.19.118-v7+
Governor: performance
Uptime: 0 days, 0 Hrs, 2 Minutes, 39 Seconds

Audio info

Hw audio configured: HiFiBerry DAC Plus
Mixer type: undefined
Number of channels:
Supported sample rate: 

Board info

Manufacturer: Raspberry Pi Foundation
Model: BCM2835 - Pi 3 Model B+
Version: a020d3 - Rev. 1.3
Firmware Version: Apr 27 2020 14:35:17 - 3a8f1793b758d6fb7f375edaa260e069ecd34c88

CPU info

Brand: Processor rev 4 (v7l)
Speed: 1.40Mhz
Number of cores: 4
Physical cores: 4
Average load: 14%
Temperature: 50Ā°C

Memory info

Memory: 992936 Ko
Free: 90276 Ko
Used: 902660 Ko

Storage info

INTERNAL storage - Size: 12404Mo Used: 856Mo Available: 10897Mo (88%)

The output is incorrect due to change in the way devices are numbered.
To fix, select an other output such as headphone and save. Now select your Dac, you may have to enable i2s.

Oops I posted this accidentally on a different post

Alas no joy. I tride rebooting between each change and then also doing an upgrade which then returned the following error

volumio@volumio:~$ sudo apt upgrade
[sudo] password for volumio:
Reading package listsā€¦ Done
Building dependency tree
Reading state informationā€¦ Done
You might want to run ā€˜apt-get -f installā€™ to correct these.
The following packages have unmet dependencies:
libpam-systemd : Depends: systemd (= 215-17+deb8u8) but 215-17+deb8u7 is installed
systemd : Depends: libsystemd0 (= 215-17+deb8u7) but 215-17+deb8u8 is installed
E: Unmet dependencies. Try using -f.
volumio@volumio:~$ sudo apt-get -f install
Reading package listsā€¦ Done
Building dependency tree
Reading state informationā€¦ Done
Correcting dependenciesā€¦ Done
The following extra packages will be installed:
systemd systemd-sysv
Suggested packages:
systemd-ui
The following packages will be upgraded:
systemd systemd-sysv
2 upgraded, 0 newly installed, 0 to remove and 84 not upgraded.
2 not fully installed or removed.
Need to get 0 B/2259 kB of archives.
After this operation, 463 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: delaying package configuration, since apt-utils is not installed
dpkg: warning: files list file for package ā€˜upmpdcli-qobuzā€™ missing; assuming package has no files currently installed
dpkg: warning: files list file for package ā€˜upmpdcli-gmusicā€™ missing; assuming package has no files currently installed
dpkg: warning: files list file for package ā€˜upmpdcli-tidalā€™ missing; assuming package has no files currently installed
(Reading database ā€¦ 27442 files and directories currently installed.)
Preparing to unpack ā€¦/systemd_215-17+deb8u8_armhf.deb ā€¦
Unpacking systemd (215-17+deb8u8) over (215-17+deb8u7) ā€¦
dpkg: error processing archive /var/cache/apt/archives/systemd_215-17+deb8u8_armhf.deb (ā€“unpack):
trying to overwrite ā€˜/usr/share/dbus-1/system-services/org.freedesktop.systemd1.serviceā€™, which is also in package systemd-shim 9-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for dbus (1.8.22-0+deb8u1) ā€¦
Processing triggers for man-db (2.7.5-1~bpo8+1) ā€¦
Errors were encountered while processing:
/var/cache/apt/archives/systemd_215-17+deb8u8_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is there anything else I can try before performing a fresh install?

The only plugins I have installed (which are also actuive and configured) are:

  • System information
  • Touch Display
  • Spotify
  • Backup & Restore
  • GPIO Buttons

I can see Spotify playing but hear nothing. I have tested my AMP by playing my computer through it so I know that that is still working.

According to the reply I go there, this breaks the install so I guess I may as well do a fresh install

Do not use apt upgrade with volumio. It breaks it

Ok so ofter all that the re-install fixed the audio :slight_smile:

Using 3.512 HiFiBerry DAC+ and also DAC+ Pro are not working.

Is this to be fixed some day?

Which DAC hats are working ?

I searched the community but couldnā€™t get an answer on this.

Ad.

they should work, nothing has been changed related to those HATs

What ever I try, and I m quite familiar with Volumio and a raspi,: Failed to open ā€œAlsaā€: Failed to open ALSA device ā€œvolumioā€: Invalid argument.

I donā€™t get where the ā€œvolumioā€ is coming from. Did a fresh install and tried many options and after restart the same error over and over again.
I tried a dac+ and dac+ pro, both the error.

I attached an original Raspi 7" screen but that should not be a problem I guess.

With version 2 I had never any problem with these hats.

Regards,
Ad.

please post a picture of your HAT. Both DAC+ and DAC+ Pro are fully supported with Volumio3, if they donā€™t work on your side we should try to understand why

Installed now a Dac2 which should work as a Dac+.

Thanks for your reply.

the DAC of the picture you posted is a HifiBerry DAC2 Pro

To make it working with Volumio, you should select HiFiBerry DAC Plus from the I2S list and then reboot.

I can see you connected some dupont cables on the GPIO header. Please try to remove them and verify if the DAC is working. Two of the dupont cables are connected to the PIN3 (GPIO2) and PIN5 (GPIO3), those pins are the I2C bus required for initializing the DAC, if the I2C signals are affected by the cable the initialization wonā€™t work, and you will get alsa error

Thanks,

I removed the cables and that is the solution I suppose.
In the past I tried DAC Plus as well.

How can I get the official screen working??"
Probably only 5v and grnd conneting

the official 7" display requires two wires only, 5V and GND. It is not required to connect the pins 3 and 5.

Thanks, itā€™s working.
Just used a manual with all connections and not the one with only power. :frowning:

Now I get it running as it should be. :slight_smile:

excellent, well done!

1 Like

Credits are all yours.
Tried everything but not disconnecting the unnecessary cablesā€¦

Working like a charm now!!