I am using Raspbian OS with Linux 5.10. on my Raspberry Pi Zero and set up my AMP2 Hat as written in
https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/
Playing music from the Raspberry with mpg321 and tuning the volume with alsamixer works perfectly.
I then installed squeezelite (LMS running on another Raspbberry Pi) and started playing music via LMS web interface. Problem is that sound remains silent. Tuning the volume via alsamixer or LMS web interface does not seem to change anything. Restarting the squeezelite service does not help.
Do you have any suggestions?
Output of squeezelite -L
Volume controls for default
Analogue
Analogue Playback Boost
Digital
Max Overclock DAC
Max Overclock DSP
Max Overclock PLL
Output of squeezelite -l
Output devices:
null - Discard all samples (playback) or generate zero samples (capture)
hifiberry
default
dmixer
sysdefault:CARD=sndrpihifiberry - snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 - Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 - Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 - Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 - Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 - Hardware device with all software conversions
Output of squeezelite -d all=info
[11:11:18.929030] stream_init:454 init stream
[11:11:18.956818] output_init_alsa:933 init output
[11:11:18.958539] output_init_alsa:973 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[11:11:19.003056] output_init_common:432 supported rates: 768000 705600 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
[11:11:19.031818] output_init_alsa:999 memory locked
[11:11:19.034946] output_init_alsa:1005 glibc detected using mallopt
[11:11:19.037523] decode_init:153 init decode
[11:11:19.039456] register_dsd:908 using dsd to decode dsf,dff
[11:11:19.043085] register_faad:663 using faad to decode aac
[11:11:19.044025] register_vorbis:385 using vorbis to decode ogg
[11:11:19.044201] register_opus:329 using opus to decode ops
[11:11:19.044303] register_flac:332 using flac to decode ogf,flc
[11:11:19.044400] register_pcm:483 using pcm to decode aif,pcm
[11:11:19.044533] register_mad:423 using mad to decode mp3
[11:11:19.047364] discover_server:795 sending discovery
[11:11:19.048316] output_thread:682 open output device: default
[11:11:19.052952] alsa_open:351 opening device at: 44100
[11:11:19.073936] alsa_open:422 opened device default using format: S32_LE sample rate: 44100 mmap: 1
[11:11:19.076034] alsa_open:513 buffer: 40 period: 4 -> buffer size: 16537 period size: 5512
[11:11:19.253072] discover_server:806 got response from: 192.168.0.108:3483
[11:11:19.254858] slimproto:898 connecting to 192.168.0.108:3483
[11:11:19.426111] slimproto:937 connected
[11:11:19.427883] sendHELO:148 mac: b8:27:eb:47:db:97
[11:11:19.429479] sendHELO:150 cap: CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Balance=1,Firmware=v1.9.9-1372,ModelName=SqueezeLite,MaxSampleRate=768000,dsf,dff,aac,ogg,ops,ogf,flc,aif,pcm,mp3
[11:11:19.526644] codec_open:264 codec open: 'm'
[11:11:19.528506] connect_socket:164 connecting to 192.168.0.108:9000
[11:11:19.532556] stream_sock:600 header: GET /stream.mp3?player=b8:27:eb:47:db:97 HTTP/1.0
[11:11:19.738471] stream_thread:331 headers: len: 492
HTTP/1.1 200 OK
Server: Logitech Media Server (8.1.1 - 1610364019)
Connection: close
Content-Type: audio/mpeg
Set-Cookie: Squeezebox-albumView=; path=/
Set-Cookie: Squeezebox-expandPlayerControl=false; path=/
Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/
Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/
Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; path=/
Set-Cookie: Squeezebox-expanded-RADIO=1; path=/
I am using Raspbian OS with Linux 5.10. on my Raspberry Pi Zero and set up my AMP2 Hat as written in https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/ Playing music from the Raspberry with mpg321 and tuning the volume with alsamixer works perfectly.
I then installed squeezelite (LMS running on another Raspbberry Pi) and started playing music via LMS web interface. Problem is that sound remains silent. Tuning the volume via alsamixer or LMS web interface does not seem to change anything. Restarting the squeezelite service does not help. Do you have any suggestions?
Output of squeezelite -L
Output of squeezelite -l
Output of squeezelite -d all=info