-----Original Message----- From: alsa-devel-bounces@alsa-project.org [mailto:alsa-devel-bounces@alsa-project.org] On Behalf Of Graeme Gregory Sent: quarta-feira, 30 de Maio de 2007 12:43 To: alsa-devel@alsa-project.org Subject: Re: [alsa-devel] [RFC] [PATCH 0/2] ASoC soundsupport forSMDK2440boards
On Wed, 2007-05-30 at 17:30 +0200, Zoltan Devai wrote:
2007/5/29, Jose Henrique Spahn Torres jose.torres@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:
- 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
Hi,
thanks for the hints, I will do that
Henrique