Hello,
Maybe someone can help me.. I'm on an Ubuntu Bionic system.
I have set my /etc/default/squeezelite like this :
But when I start or restart the squeezelite service, squeezelite crashes. Here is what the log file show :
I looked in the /dev/snd directory, but didn't saw any pcmC0D0p file, but there where some other (for example 'pcmC01D0').
So, it looks like the "default" device I set in the squeezelite default file is not referring to an existing /dev/snd device.... Why? and what can I do to fix it ?
Another thing : On another Ubunty Bionic computer, squeezelite is starting well with exactly the same default squeezelite file.
Thank you for your help
Maybe someone can help me.. I'm on an Ubuntu Bionic system.
Code:
mathojojo@mathojojo-pc:~$ squeezelite -l
Output devices:
default - Playback/recording through the PulseAudio sound server
null - Discard all samples (playback) or generate zero samples (capture)
pulse - PulseAudio Sound Server
hdmi:CARD=HDMI,DEV=0 - HDA ATI HDMI, HDMI 0 - HDMI Audio Output
hdmi:CARD=HDMI,DEV=1 - HDA ATI HDMI, HDMI 1 - HDMI Audio Output
hdmi:CARD=HDMI,DEV=2 - HDA ATI HDMI, HDMI 2 - HDMI Audio Output
hdmi:CARD=HDMI,DEV=3 - HDA ATI HDMI, HDMI 3 - HDMI Audio Output
hdmi:CARD=HDMI,DEV=4 - HDA ATI HDMI, HDMI 4 - HDMI Audio Output
hdmi:CARD=HDMI,DEV=5 - HDA ATI HDMI, HDMI 5 - HDMI Audio Output
dmix:CARD=HDMI,DEV=3 - HDA ATI HDMI, HDMI 0 - Direct sample mixing device
dmix:CARD=HDMI,DEV=7 - HDA ATI HDMI, HDMI 1 - Direct sample mixing device
dmix:CARD=HDMI,DEV=8 - HDA ATI HDMI, HDMI 2 - Direct sample mixing device
dmix:CARD=HDMI,DEV=9 - HDA ATI HDMI, HDMI 3 - Direct sample mixing device
dmix:CARD=HDMI,DEV=10 - HDA ATI HDMI, HDMI 4 - Direct sample mixing device
dmix:CARD=HDMI,DEV=11 - HDA ATI HDMI, HDMI 5 - Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3 - HDA ATI HDMI, HDMI 0 - Direct sample snooping device
dsnoop:CARD=HDMI,DEV=7 - HDA ATI HDMI, HDMI 1 - Direct sample snooping device
dsnoop:CARD=HDMI,DEV=8 - HDA ATI HDMI, HDMI 2 - Direct sample snooping device
dsnoop:CARD=HDMI,DEV=9 - HDA ATI HDMI, HDMI 3 - Direct sample snooping device
dsnoop:CARD=HDMI,DEV=10 - HDA ATI HDMI, HDMI 4 - Direct sample snooping device
dsnoop:CARD=HDMI,DEV=11 - HDA ATI HDMI, HDMI 5 - Direct sample snooping device
hw:CARD=HDMI,DEV=3 - HDA ATI HDMI, HDMI 0 - Direct hardware device without any conversions
hw:CARD=HDMI,DEV=7 - HDA ATI HDMI, HDMI 1 - Direct hardware device without any conversions
hw:CARD=HDMI,DEV=8 - HDA ATI HDMI, HDMI 2 - Direct hardware device without any conversions
hw:CARD=HDMI,DEV=9 - HDA ATI HDMI, HDMI 3 - Direct hardware device without any conversions
hw:CARD=HDMI,DEV=10 - HDA ATI HDMI, HDMI 4 - Direct hardware device without any conversions
hw:CARD=HDMI,DEV=11 - HDA ATI HDMI, HDMI 5 - Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3 - HDA ATI HDMI, HDMI 0 - Hardware device with all software conversions
plughw:CARD=HDMI,DEV=7 - HDA ATI HDMI, HDMI 1 - Hardware device with all software conversions
plughw:CARD=HDMI,DEV=8 - HDA ATI HDMI, HDMI 2 - Hardware device with all software conversions
plughw:CARD=HDMI,DEV=9 - HDA ATI HDMI, HDMI 3 - Hardware device with all software conversions
plughw:CARD=HDMI,DEV=10 - HDA ATI HDMI, HDMI 4 - Hardware device with all software conversions
plughw:CARD=HDMI,DEV=11 - HDA ATI HDMI, HDMI 5 - Hardware device with all software conversions
sysdefault:CARD=Generic - HD-Audio Generic, ALC887-VD Analog - Default Audio Device
front:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - Front speakers
surround21:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - 2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - 4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - 4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - 5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Digital - IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - Direct sample mixing device
dmix:CARD=Generic,DEV=1 - HD-Audio Generic, ALC887-VD Digital - Direct sample mixing device
dmix:CARD=Generic,DEV=2 - HD-Audio Generic, ALC887-VD Alt Analog - Direct sample mixing device
dsnoop:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - Direct sample snooping device
dsnoop:CARD=Generic,DEV=1 - HD-Audio Generic, ALC887-VD Digital - Direct sample snooping device
dsnoop:CARD=Generic,DEV=2 - HD-Audio Generic, ALC887-VD Alt Analog - Direct sample snooping device
hw:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - Direct hardware device without any conversions
hw:CARD=Generic,DEV=1 - HD-Audio Generic, ALC887-VD Digital - Direct hardware device without any conversions
hw:CARD=Generic,DEV=2 - HD-Audio Generic, ALC887-VD Alt Analog - Direct hardware device without any conversions
plughw:CARD=Generic,DEV=0 - HD-Audio Generic, ALC887-VD Analog - Hardware device with all software conversions
plughw:CARD=Generic,DEV=1 - HD-Audio Generic, ALC887-VD Digital - Hardware device with all software conversions
plughw:CARD=Generic,DEV=2 - HD-Audio Generic, ALC887-VD Alt Analog - Hardware device with all software conversions
Code:
# Defaults for squeezelite initscript
# sourced by /etc/init.d/squeezelite
# installed at /etc/default/squeezelite by the maintainer scripts
# The name for the squeezelite player:
SL_NAME="$(hostname -s)"
# ALSA output device:
SL_SOUNDCARD="default"
# Squeezebox server (Logitech Media Server):
# Uncomment the next line if you want to point squeezelite at the IP address of
# your squeezebox server. This is usually unnecessary as the server is
# automatically discovered.
#SB_SERVER_IP="192.168.x.y"
# Additional options to pass to squeezelite:
# Please do not include -z to make squeezelite daemonise itself.
SB_EXTRA_ARGS="-C 5 -d all=debug -f /var/log/squeezelite.log"
Code:
/usr/bin/squeezelite -n mathojojo-pc -o default -C 5 -d all=debug -f /var/log/squeezelite.log
[21:41:23.192226] stream_init:290 init stream
[21:41:23.192262] stream_init:291 streambuf size: 2097152
[21:41:23.192820] output_init_alsa:817 init output
[21:41:23.192832] output_init_alsa:846 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[21:41:23.192842] output_init_common:346 outputbuf size: 3528000
[21:41:23.192860] output_init_common:370 idle timeout: 5000
[21:41:23.196724] ALSA snd_pcm_hw_open:1602 open '/dev/snd/pcmC0D0p' failed (-2)
[21:41:23.196738] ALSA snd_pcm_dmix_open:1052 unable to open slave
[21:41:23.196797] test_open:294 playback open error: No such file or directory
[21:41:23.196803] output_init_common:381 unable to open output device
So, it looks like the "default" device I set in the squeezelite default file is not referring to an existing /dev/snd device.... Why? and what can I do to fix it ?
Another thing : On another Ubunty Bionic computer, squeezelite is starting well with exactly the same default squeezelite file.
Thank you for your help