arecord: pcm_read:1629: read error: Input/output error
This usually mean hardware interrupt did not not occur ( driver bug )
2010/1/6 Marc Garnier marc.garnier@heig-vd.ch
Ok, let me go into details. I work on a custom device platform based on an Atmel at91sam9261. I wrote an alsa driver composed of 2 files (sound/soc/atmel/myplateform_q2686.c and sound/soc/codecs/q2686.c) and I also add this line into arch/arm/mach-at91/board-myplateform.c :
at91_add_device_ssc(AT91SAM9261_ID_SSC0, ATMEL_SSC_TX | ATMEL_SSC_RX);
When I boot my device I can see that : Q2686 SoC Audio Codec 0.2 asoc: Q2686 <-> atmel-ssc0 mapping ok ALSA device list: #0: MYPLATFORM (Q2686)
And everything ok with playback : # aplay -c 1 tone.wav
But when I want to record a pcm stream I have this error: # arecord -v -c 1 -t wav -f S16_LE -r 8000 -d 10 input.wav arecord: pcm_read:1629: read error: Input/output error
Any more idea?
Raymond Yau wrote:
which device are you using ? ( pulseaudio , dmix or default device
defined
in /usr/share/alsa/cards/*.conf )
post output of
arecord -v -c 1 -t wav -f S16_LE -r 8000 -d 10 input.wav
2010/1/5 Marc Garnier marc.garnier@heig-vd.ch