Re: [RFC] [PATCH 0/2] ASoC sound support forSMDK2440boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: Zoltan Devai [mailto:zdevai@xxxxxxxxx] 
Sent: sexta-feira, 25 de Maio de 2007 14:40
To: Jose Henrique Spahn Torres
Subject: Re:  [RFC] [PATCH 0/2] ASoC sound support
forSMDK2440boards

2007/5/25, Jose Henrique Spahn Torres <jose.torres@xxxxxxxxxxxxxxx>:
> > 2007/5/24, Jose Henrique Spahn Torres <jose.torres@xxxxxxxxxxxxxxx>:
> usbcore: registered new interface driver hci_usb Advanced Linux Sound 
> Architecture Driver Version 1.0.14rc4 (Wed May 16
> 09:45:46 2007 UTC).
> ASoC version 0.13.1
> SMDK2440 ALSA SoC Audio driver
> UDA1341 SoC Audio Codec
> L3 write
> L3 transfer
> L3 sendbyte: 16
> L3 sendbyte: 40
> asoc: UDA1341 <-> s3c24xx-i2s mapping ok ALSA device list:
>   #0: SMDK2440 (UDA1341)
> TCP cubic registered
> ...

Fine.

> However, when triyng to play something I get this:
>
> asoc: machine hw_params failed
>
> This is in sound/soc/soc-core.c, line 494.
> I couldn't go any futher then this.
> Any hint?

This combination of processor, crystal and codec only supports the
following rates:
11.025 Khz, 22.050Khz and 44.100 Khz

Please try to play a file with these sample rates.
(If you have alsa-tools, you could try 'speaker-test -r 44.100').

BTW, could you tell me the freq of the crystal on the processor board ?
(Is it 16.934 Mhz?)

Zoltan


Hi,

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?

Thanks,
Henrique
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux