[linux-audio-user] arecord

From: Candido Aramburu <candido@email-addr-hidden>
Date: Tue Oct 03 2006 - 14:47:45 EEST

Hello,

i am trying to record a voice MIC sound with arecord command and i can not
get it

linux kernel -> Fedora 5 -> kernel linux version 2.6-> alsa 1.0.11 version

library configuration files
          .asoundrec no existe
         /etc/alsa/alsa.conf installed
         /etc/asound.conf installed

HARDWARE CONFIGURATION
  alsamixer command

settings ON: Master, Master M, PCM, MIC, Capture -> volume 100%
Mic Select: MIC1
Mono out: MIC

I can ear the external phones when I talk on microphone MIC1

RECORDING
[candido@email-addr-hidden musica]$ arecord -l

**** List of CAPTURE Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 1: Intel ICH - MIC ADC [Intel ICH5 - MIC ADC]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 2: Intel ICH - MIC2 ADC [Intel ICH5 -
MIC2 ADC]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 3: Intel ICH - ADC2 [Intel ICH5 - ADC2]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 1: Camera [Camera], device 0: USB Audio [USB Audio]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

**Results-> device name-> card=ICH5, device=1

[candido@email-addr-hidden ~]$ arecord -Dplughw:ICH5,0,1 record.wav
arecord: main:547: audio open error: Dispositivo o recurso ocupado

**Results-> the subdevice number 1 is busy

[candido@email-addr-hidden ~]$ arecord -Dhw:ICH5,0 record.wav
Recording WAVE 'record.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: set_params:901: Sample format non available

**Results-> sample format error

[candido@email-addr-hidden ~]$ arecord -Dplughw:ICH5,0 record.wav
Recording WAVE 'record.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

Results -> ¿?
when i execute aplay record.wave only on ear noise

WHAT IS WRONG?

THANKS IN ADVANCE

Cándido Aramburu Mayoz
Dpto Ingeniería Eléctrica y Electrónica
Universidad Pública de Navarra
Campus de Arrosadía
Pamplona 31006
Spain

tfno: +34-948169269
                      +34-948169260
Fax: +34-948169720
E-mail: candido@email-addr-hidden
Received on Tue Oct 3 16:15:02 2006

This archive was generated by hypermail 2.1.8 : Tue Oct 03 2006 - 16:15:02 EEST