[alsa-devel] [RFC] [PATCH 0/2] ASoC sound support forSMDK2440boards

Graeme Gregory gg at opensource.wolfsonmicro.com
Wed May 30 17:42:30 CEST 2007


On Wed, 2007-05-30 at 17:30 +0200, Zoltan Devai wrote:
> 2007/5/29, Jose Henrique Spahn Torres <jose.torres at eldorado.org.br>:
> > I used speaker-test as indicated above and the result is:
> >
> > pendrive $ ./speaker-test -r 44100
> >
> > speaker-test 1.0.11
> >
> > Playback device is default
> > Stream parameters are 44100Hz, S16_LE, 1 channels
> > Using 16 octaves of pink noise
> > ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
> > Playback open error: -2,No such file or directory
> > ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
> > Playback open error: -2,No such file or directory
> > ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
> > Playback open error: -2,No such file or directory
> > ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
> > Playback open error: -2,No such file or directory
> > ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
> > Playback open error: -2,No such file or directory
> >
> > I have also tried:
> >
> > /pendrive $ ./aplay -f cd 01-jack_johnson-times_like_these-rns.wav
> > ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
> > aplay: main:547: audio open error: No such file or directory
> > /pendrive $
> >
> > so I don't know what is happening here.
> > Does anyone have any idea?
> 
> You seem to have two problems:
> 1. Using OSS applications which try to set the sample rate to 8000Hz,
> which is not supported by the hardware
> 2. A non-working ALSA installation, with some alsa-lib or device file
> misconfiguration
> 
> Try to fix both...

Is this compilation using buildroot? We have had many people with
bugreports that turned out to be gcc CSE bug which is not patched in
buildroot. And the fact the build root doesnt seem to install the config
files for alsa-lib.

For testing here we always use images generated by OpenEmbedded
www.openembedded.org. So that gets better ALSA support for ASoC stuff
anyway :-)

Graeme




More information about the Alsa-devel mailing list