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]