pi zero w + phat dac + volumio 2.272 - no sound

Hi. Does someone here have working configuration for volumio 2.272 with phat dac on pi zero w? I can’t get sound out, after trying different configurations, some via UI, some from googling for config files. Here’s what I have currently:

root@volumio:~# cat /boot/config.txt | grep -v '^$\|^\s*\#' initramfs volumio.initrd gpu_mem=16 max_usb_current=1 audio_pwm_mode=2 dtparam=i2c_arm=on disable_splash=1 \n hdmi_drive=2 dtoverlay=i2s-mmap dtoverlay=hifiberry-dac

root@volumio:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0

[code]root@volumio:~# cat /etc/mpd.conf | egrep -v “^#|^$”
music_directory “/var/lib/mpd/music”
playlist_directory “/var/lib/mpd/playlists”
db_file “/var/lib/mpd/tag_cache”
user “mpd”
group “audio”
bind_to_address “any”
gapless_mp3_playback “no”
auto_update “yes”
follow_outside_symlinks “yes”
follow_inside_symlinks “yes”
input {
plugin “curl”
}

resampler {
plugin “soxr”
quality “high”
threads “0”
}
audio_output {
type “alsa”
name “alsa”
device “softvolume”
dop “no”
mixer_device “SoftMaster”
mixer_control “SoftMaster”
mixer_type “hardware”

}
audio_output {
type “fifo”
enabled “no”
name “multiroom”
path “/tmp/snapfifo”
format “44100:16:2”
}
volume_normalization “no”
audio_buffer_size “8192”
buffer_before_play “10%”
max_connections “20”
max_playlist_length “32384”
max_command_list_size “8192”
max_output_buffer_size “16384”
filesystem_charset “UTF-8”
id3v1_encoding “UTF-8”
root@volumio:~# cat /etc/mpd.conf | grep -v ‘^$|^\s*#’
music_directory “/var/lib/mpd/music”
playlist_directory “/var/lib/mpd/playlists”
db_file “/var/lib/mpd/tag_cache”
user “mpd”
group “audio”
bind_to_address “any”
gapless_mp3_playback “no”
auto_update “yes”
follow_outside_symlinks “yes”
follow_inside_symlinks “yes”
input {
plugin “curl”
}

resampler {
plugin “soxr”
quality “high”
threads “0”
}
audio_output {
type “alsa”
name “alsa”
device “softvolume”
dop “no”
mixer_device “SoftMaster”
mixer_control “SoftMaster”
mixer_type “hardware”

}
audio_output {
type “fifo”
enabled “no”
name “multiroom”
path “/tmp/snapfifo”
format “44100:16:2”
}
volume_normalization “no”
audio_buffer_size “8192”
buffer_before_play “10%”
max_connections “20”
max_playlist_length “32384”
max_command_list_size “8192”
max_output_buffer_size “16384”
filesystem_charset “UTF-8”
id3v1_encoding “UTF-8”
[/code]

root@volumio:~# cat /etc/asound.conf | grep -v '^$\|^\s*\#' pcm.softvolume { type plug slave.pcm "softvol" } pcm.softvol { type softvol slave { pcm "plughw:0,0" } control { name "SoftMaster" card 1 device 0 } max_dB 0.0 min_dB -50.0 resolution 100 }

[code]root@volumio:~# cat /etc/shairport-sync.conf | grep -v ‘^$|^\s*#’
general =
{
name = “Volumio”;
log_verbosity = 0;
};
alsa =
{
output_device = “plughw:0,0”;
};
sessioncontrol =
{
allow_session_interruption = “yes”;
run_this_after_play_ends = “/usr/local/bin/volumio stopairplay”;
};
metadata =
{
enabled = “yes”;
include_cover_art = “no”;
//pipe_name = “/tmp/shairport-sync-metadata”;
//pipe_timeout = 5000;
socket_address = “226.0.0.1”;
socket_port = 5555;
};

[/code]

Ideally, reset to factory and try a different dac overlay each time then reboot…
Your best bet is hifiberry

I have a PiZero (not W) with pHatDAC running just great on Volumio 2.246 with plain UI-generated settings.
I recommend you start fresh from release image, and once properly setup & verified, eventually play with dev/test updates if you wish.

I did try with a new image a few times, configuring only with the web UI as you suggested, as well as trying different settings outside the UI. Also, ran rpi-update, no change… Maybe it’s the Phat Dac + pi0 w combo, so I went and picked up a Audio-technica ATR2USB just in case I can’t get the Phat Dac to work. Roughly same price between the two anyway.

Audio-Technica ATR2USB worked right out the box. I’m going to keep that setup and use Phat Dac with another pi.

Hey folks!

Just wanted to bump this and ask if and how the Pimoroni pHAT DAC is useable in the current stable volumio?
Hooked mine up yesterday and no matter what I do, it won’t even make a peep.

Would be great to get this working…
Is there a way to check if the I2S task is running, or maybe dump the stream into a file?

Gonna hook up my scope to the I2S pins later to see if the problem maybe lies with the DAC itself…

OK, turns out the I2S comes out of the pins as it’s supposed to.
Gotta look for problems with my DAC… Damn…
I2S_Cap_1.png