bpa wrote: > If squeezelite setup completeed worked OK and all devices worked as you > expected and you are doing nothign new (i.e. exact same command line) > but now has broken look at what has changed ? > > Perhaps OS upgrades has changed drivers or other system stuff. > Has the userid of squeezelite got the permission ? Does the Linux > distro requires user of audio hardware to be member of Audio (or > similar) group. > > Cannot set H/w parameters means > 1. Unable to set the parameters - access (i.e device name), permissions, > rights > or > 2. Incorrect/unsupported parameters values. > > aplay is standard ALSA audio play utility. You have prepare a test WAV > file with the audio format you want and use aply to play on each device > with the correct audio format & ALSA settings.
Hello, you're probably right, but have to found what have change or cause this trouble. So, when I play some sound on LMS and got "alsa_open:533 unable to set hw params: Broken pipe" , the audio device seems "frozen" : Code: -------------------- pi@multiroom:~ $ sudo aplay -D USB0 -vv /root/test1.wav aplay: main:828: audio open error: Device or resource busy pi@multiroom:~ $ sudo fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC0: root 375 f.... alsactl /dev/snd/controlC1: root 375 f.... alsactl /dev/snd/controlC2: root 375 f.... alsactl /dev/snd/controlC3: root 375 f.... alsactl /dev/snd/controlC4: root 375 f.... alsactl /dev/snd/controlC5: root 375 f.... alsactl /dev/snd/controlC6: root 375 f.... alsactl /dev/snd/pcmC3D0p: root 957 F...m squeezelite /dev/snd/pcmC5D0p: root 954 F...m squeezelite -------------------- asound.conf is : Code: -------------------- #USB1 ctl.USB1 { type equal; controls "/opt/alsa/USB1.bin"; } pcm.USB1 { type equal; slave.pcm "plughw:USB1"; controls "/opt/alsa/USB1.bin"; } #USB2 ctl.USB2 { type equal; controls "/opt/alsa/USB2.bin"; } pcm.USB2 { type equal; slave.pcm "plughw:USB2"; controls "/opt/alsa/USB2.bin"; } #USB3 ctl.USB3 { type equal; controls "/opt/alsa/USB3.bin"; } pcm.USB3 { type equal; slave.pcm "plughw:USB3"; controls "/opt/alsa/USB3.bin"; } #USB4 ctl.USB4 { type equal; controls "/opt/alsa/USB4.bin"; } pcm.USB4 { type equal; slave.pcm "plughw:USB4"; controls "/opt/alsa/USB4.bin"; } #USB5 ctl.USB5 { type equal; controls "/opt/alsa/USB5.bin"; } pcm.USB5 { type equal; slave.pcm "plughw:USB5"; controls "/opt/alsa/USB5.bin"; } #USB6 ctl.USB6 { type equal; controls "/opt/alsa/USB6.bin"; } pcm.USB6 { type equal; slave.pcm "plughw:USB6"; controls "/opt/alsa/USB6.bin"; } -------------------- I don't have more knowledge to go further, if you have an idea to found what's possibly wrong, tell me. Thanks for help. ------------------------------------------------------------------------ Chestroled's Profile: http://forums.slimdevices.com/member.php?userid=59945 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix