aplay works but arecord returns I/O error : kernel 2.6.33-rc1

nautronixlogo.jpg

Hello,
By mistake I replied on a prevoius thread. I meant it to have it’s own subject. Sorry for any confusion.

I am a newbie to linux . I am using the kernel from the Beagle website http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git using version 2.6.33-rc1

I have the kernel up and running.

I can output a 1kHz sine wave using aplay. However I am having some problems with

I wanted to test whether the audio is correctly working on my board. So I ran

arecord -t wav -c 2 -r 44100 -f S16_LE -v k after a while I got

arecord: pcm_read:1347: read error: Input/output error.

I assumed a kernel config problem so I tried again with a prebuilt angstrom image and found that I could play & record.

Can anyone give me an idea of where I am going wrong. My .config includes

CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=m

CONFIG_SND_SEQ_DUMMY is not set

CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y

CONFIG_SND_DYNAMIC_MINORS is not set

CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y

CONFIG_SND_VERBOSE_PRINTK is not set

CONFIG_SND_DEBUG is not set

CONFIG_SND_DRIVERS=y

CONFIG_SND_DUMMY is not set

CONFIG_SND_VIRMIDI is not set

CONFIG_SND_MTPAV is not set

CONFIG_SND_SERIAL_U16550 is not set

CONFIG_SND_MPU401 is not set

CONFIG_SND_ARM is not set

CONFIG_SND_SPI=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_USB_CAIAQ=m
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_SOC=y
CONFIG_SND_OMAP_SOC=y
CONFIG_SND_OMAP_SOC_MCBSP=y

CONFIG_SND_OMAP_SOC_OVERO is not set

CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE=y
CONFIG_SND_SOC_I2C_AND_SPI=y

CONFIG_SND_SOC_ALL_CODECS is not set

CONFIG_SND_SOC_TWL4030=y

CONFIG_SOUND_PRIME is not set

This are the same settings to the Angstrom .config that works. I don;t know why aplay works but arecord doesn’t , very strange.

Thanks
Paul McManus

Paul McManus
Senior Software Engineer
Tel: +44 (0) 1224 775700
Fax: +44 (0) 1224 775800
Email: Paul.McManus@nautronix.co.uk
Website: www.nautronix.com

316055f.jpg

nautronixfooter.jpg

This email is sent and received in accordance with the terms and conditions as defined on our website. To view click here
Nautronix is a public limited company registered in Scotland. Registered number: SC062293. Registered office: Nautronix House, Howe Moss Avenue, Kirkhill, Dyce, Aberdeen, AB21 0GP