On Wed, 20 Jul 2011, Nikhil Kamath wrote: > Hi , > I have an iMX35PDK board with Linux2.6.35 running on it. I am getting the > following messages when I use aplay -" aplay: pcm_write:1262: write error: > Input/output error". > > > Boot up log: > usbhid: USB HID core driver > sgtl5000-i2c 0-000a: SGTL5000 revision 17 > No device for DAI imx-ssi-1-0 > No device for DAI imx-ssi-1-1 > No device for DAI imx-ssi-2-0 > No device for DAI imx-ssi-2-1
No idea what these mean, but it would be a bit worrysome to me. > DMA Sound Buffers Allocated:UseIram=0 buf->addr=87e20000 buf->area=fde08000 > size > =65536 > DMA Sound Buffers Allocated:UseIram=0 buf->addr=87e00000 buf->area=fde18000 > size > =65536 > asoc: SGTL5000 <-> imx-ssi-1-0 mapping ok > ALSA device list: > #0: imx-3stack (SGTL5000) > > > The below messages were logged when I executed aplay command: > > root@freescale /home$ aplay -c 1 -t wav -r 22050 -f mu_law testing.wav And why do you have those options? a .wav file has its format defined in its header file. And a .wav is never mu_law. It is rarely ( but could be) rate of 22050 or one channel. But try aplay testing.wav and see if that behaves better. (It probably will not, but it is worth a try). > Warning: format is changed to S16_LE > Playing WAVE 'testing.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, > Stereo As you see, it overrides your specification with the one from the header. > imx_pcm_prepare > ret = 0 > period pos ALSA 4 DMA 0 > period size ALSA 1000 DMA 10000 Offset 0 dmasize 4000 > DMA addr 87e20000 > dma enable ret = 0 > period pos ALSA 4 DMA 1 > period size ALSA 1000 DMA 10000 Offset 4000 dmasize 4000 > DMA addr 87e24000 > dma enable ret = 0 > pointer offset 0 > aplay: pcm_write:1262: write error: Input/output error > > Please help me resolve the issue. > > Thanks & regards, > Nikhil > > > Larsen & Toubro Limited > > www.larsentoubro.com > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do not > use or disseminate the information, notify the sender and delete it from your > system. > -- William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user