HiFiBerry DAC2 Pro

Getting an ALSA error when attempting to playback on the device.

Applying dtparam=i2c_arm_baudrate=1000000 to userconfig.txt hasn’t helped.

When selecting the devices under I2S DAC, I get the following error when attempting playback:
'Failed to open “also” (alsa); Failed to open ALSA device “volumio”: Device or resource busy.

If, I turn off I2S and select “HiFiBerry DAC Plus” from the selection and reboot I get the following error when attempting playback:
‘Please connect HiFiBerry DAC Plus to the unit or select a different output device from playback options’

From system information plugin. Interestingly, it detects the device as Digi+ Pro:

OS info

Version of Volumio: 3.757
Hostname: volumiod
Kernel: 6.1.69-v7l+
Governor: performance
Uptime: 0 days, 0 Hrs, 1 Minutes, 45 Seconds

Network info

Interface: wlan0
IP Address: 10.0.1.73
MAC Address: d8:3a:dd:53:bc:9d
Type: wireless
Speed: nullMb/s

Audio info

Hw audio configured: HiFiBerry Digi+ Pro
Mixer type: undefined
Number of channels:
Supported sample rate: 

Board info

Manufacturer: Raspberry Pi Foundation
Model: Raspberry Pi 4 Model B Rev 1.5 Raspberry Pi / 4B - 1.5 /
Version: b03115 / 4B - 1.5
Firmware Version: Oct 17 2023 15:39:16 version 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 (clean) (release) (start)

CPU info

Brand: BCM2711
Speed: 1.5 GHz
Family: Cortex-A72
Model: 3
Number of cores: 4
Physical cores: 4
Average load: 27%
Temperature: 45°C

Memory info

Memory: 1864840 Ko
Free: 652956 Ko
Used: 1211884 Ko

Software info

Mpd version: Music Player Daemon 0.23.15 (0.23.15)

Storage info

INTERNAL storage - Size: 57014Mo
Used: 1605Mo
Available for storage: 52482Mo (92%)

If you have a spare SD-card, could you please try the alpha image with kernel 6.6?

Took an image of my existing SD card for backup purposes then updated my install.

Still no output.

Tried switching I2S on & Off, when off I had the choice between headphones (Pi4 output) or HiFiBerry DAC Plus. When the latter is selected, it complains the device sisn’t connected. When in I2S mode, with HiFiBerry DAC2 Pro selected, the same ALSA error appears.

I will now try a completely vanilla install, update that to the alpha just in case there’s a plugin throwing something awry.

For completeness. The output of system information reads:

Network info

Interface: wlan0
IP Address: 10.0.1.73
MAC Address: d8:3a:dd:53:bc:9d
Type: wireless
Speed: nullMb/s

Audio info

Hw audio configured: HiFiBerry DAC2 Pro
Mixer type: Hardware
Number of channels: 2
Supported sample rate: 22050 44100 48000 88200 96000 176400 192000

Board info

Manufacturer: Raspberry Pi Foundation
Model: Raspberry Pi 4 Model B Rev 1.5 Raspberry Pi / 4B - 1.5 /
Version: b03115 / 4B - 1.5
Firmware Version: Jul 25 2024 15:00:11 version 8a2829a2ff4d4808cc14e10de7068e6afb45c96d (tainted) (release) (start)

CPU info

Brand: BCM2711
Speed: 1.5 GHz
Family: Cortex-A72
Model: 3
Number of cores: 4
Physical cores: 4
Average load: 12%
Temperature: 48°C

Memory info

Memory: 1862752 Ko
Free: 656060 Ko
Used: 1206692 Ko

Software info

Mpd version: Music Player Daemon 0.23.15 (0.23.15)

Storage info

INTERNAL storage - Size: 57014Mo
Used: 1637Mo
Available for storage: 52451Mo (92%)

Update.

After flashing a new image to the SD card and updating it to 3.758 I’m able to use the DAC2 Pro in I2S mode. However, audio only plays back if I select the mixer type to be ‘Software’ Setting it to either ‘Hardware’ or ‘None’ does not produce an error, however the playback is silent.

Here’s the log generated from /dev

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

Edit: Further update. Changing the I2S selection to ‘HiFiBerry DAC+ Pro’ has allowed me to select ‘Hardware’ Mixer.

on the new version 3.758 there is a dedicated entry for the HifiBerry DAC2 Pro, did you select it when you had problems with HW mixer?

Yes. With DAC2 Pro selected Harware mixer didn’t work. Did with DAC+ Pro

this is very weird, because the DAC2 Pro entry is basically a copy of the DAC+ Pro entry, with a different name.

{"id":"hifiberry-dac2pro","name":"HiFiBerry DAC2 Pro","overlay":"hifiberry-dacplus","alsanum":"2","alsacard":"sndrpihifiberry","mixer":"Digital","modules":"","script":"","i2c_address":"4d","needsreboot":"yes"},

{"id":"hifiberry-dacpluspro","name":"HiFiBerry DAC+ Pro","overlay":"hifiberry-dacplus","alsanum":"2","alsacard":"sndrpihifiberry","mixer":"Digital","modules":"","script":"","i2c_address":"4d","needsreboot":"yes"},

They refer to the very same dt-overlay and to the same HW Mixer.

Anyhow, it’s good that it works for you with the new kernel, I kindly ask you to provide some feedback in the dedicated thresd for the Beta testing of the new image