bchab wrote: > Hi, > > I intall squeezebox on olimex A20 lime board. > I have a problem to map my usb sound card to the output. > > squeezelite -l gives this : > > ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition > 'cards.sunxi-CODEC.pcm.front.0:CARD=0' > ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer > returned error: No such file or directory > ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or > directory > ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM front > ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear > ... > ... > ... > ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem > ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem > ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM > cards.pcm.phoneline > ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM > cards.pcm.phoneline > Cannot connect to server socket err = No such file or directory > Cannot connect to server request channel > jack server is not running or cannot be started > Output devices: > 0 - sunxi-CODEC: PCM (hw:0,0) [ALSA] > 1 - Combo384 Amanero: USB Audio (hw:1,0) [ALSA] > 2 - sysdefault [ALSA] > 3 - dmix [ALSA] > 4 - default [ALSA] > > When i try to map the Amanero card > > root@A20-OLinuXino:/etc# squeezelite -o hw:1,0 > > i got the same error ... > > Is there something wrong in my command ? > The default output of the board is not working but i think this is > normal as there is no audio output on this board. > > thank you for your help > > B.
Looks like you're using a portaudio build of squeezelite which doesn't use the hw: options. You need to use the number before your device with the *-o 1* option. Check the bottom of the output from the -? option. Build options: LINUX *ALSA* EVENTFD RESAMPLE FFMPEG VISEXPORT LINKALL Or Build options: LINUX *PORTAUDIO* EVENTFD RESAMPLE FFMPEG VISEXPORT LINKALL Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ------------------------------------------------------------------------ ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
