openvortex-dev
[Top][All Lists]
Advanced

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

Re: [Alsa-devel] Re: [Openvortex-dev] aplay - How to use device 3 of car


From: Takashi Iwai
Subject: Re: [Alsa-devel] Re: [Openvortex-dev] aplay - How to use device 3 of card 0 ?
Date: Wed, 09 Mar 2005 10:14:14 +0100
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 15) (Security Through Obscurity) (i386-suse-linux)

At Wed, 09 Mar 2005 17:17:41 +0800,
Raymond wrote:
> 
> > > 2) How did you perform your "WT DMA" test ?
> 
> > Using:
> > aplay -d hw:0,1 test.wav
> 
> > The result for me was that aplay did newer finish, because data was
> > never being transfered. After some time it timed out with an error.
> 
> The correct syntax should be  "aplay -D hw:0,3 piano.wav"

Ah damn, of course it must be -D :)

> ioctl(4, 0x400c4150, 0xbff092b0)        = -1 EIO (Input/output error)
> write(2, "aplay: pcm_write:1146: ", 23aplay: pcm_write:1146: ) = 23
> write(2, "write error: Input/output error", 31write error: Input/output 
> error) = 31
> write(2, "\n", 1
> )                       = 1
> exit_group(1)                           = ?
> 
> 
> I can only hear "hmm" sound from the speakers until the program abort.
> 1) Do strace indicate "data was never being transfered" ?

I don't know whether it's "never", but at least the transfer was
aborted after a certain amount of write.  Usually -EIO means that DMA
isn't working properly.
If you compile with CONFIG_SND_DEBUG, you might see the message
"playback drain error (DMA or IRQ trouble?)" from kernel.


Takashi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]