Skip to contentSkip to conversation

intel8x0: arecord doesn't work

BUG Nathan Gray 2 participants 3 messages Aug 27, 2003

lore
Share & tools
lore
#0 lore raw

I'm trying to record from the built-in mic in my laptop (Dell Inspiron 4150) but it doesn't seem to work right. If I select "Mic" as the capture source and max out the volume then when I tap the microphone I can hear it loud and clear in my headphones. Then I try:

[n8gray@golux patches]$ arecord -d 5 foo.wav Recording WAVE 'foo.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

I tap the mic a few times as this is running. I hear the taps great while recording, but playing back foo.wav I just hear static, with the taps barely audible. Adjusting the recording levels doesn't change anything.

If I try:

[n8gray@golux patches]$ arecord -f cd -d 5 foo.wav Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

then I get a 5 second wav file that's completely blank. As far as I can tell, any format that's not U8 has the same effect.

Any ideas of what's going on? Here's some info about my system:

[n8gray@golux patches]$ cat /home/n8gray/.asoundrc pcm.intel8x0 {
type hw
card 0
}

ctl.intel8x0 {
type hw
card 0
}

[n8gray@golux patches]$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 0.9.6. Compiled on Aug 26 2003 for kernel 2.4.21-0.16mm-mdkcustom.

[n8gray@golux patches]$ cat /proc/asound/cards
0 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3

                     Intel 82801CA-ICH3 at 0xd800, irq 11

[n8gray@golux patches]$ cat /proc/asound/devices
0: [0- 0]: ctl
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
1: : sequencer
33: : timer

[n8gray@golux patches]$ cat /proc/asound/modules
0 snd-intel8x0

[n8gray@golux patches]$ cat /proc/asound/pcm
00-00: Intel ICH : Intel 82801CA-ICH3 : playback 1 : capture 1 00-01: Intel ICH - MIC ADC : Intel 82801CA-ICH3 - MIC ADC : capture 1

Let me know if there's anything else you need to know.

Thanks,
-Nathan

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-- Nathaniel Gray -- Caltech Computer Science ------> -- Mojave Project -- http://mojave.cs.caltech.edu -->

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw

At Wed, 27 Aug 2003 01:10:06 -0700,

Quoted 6 lines · Nathan Gray

I'm trying to record from the built-in mic in my laptop (Dell Inspiron 4150) but it doesn't seem to work right. If I select "Mic" as the capture source and max out the volume then when I tap the microphone I can hear it loud and clear in my headphones. Then I try:

Quoted 6 lines

[n8gray@golux patches]$ arecord -d 5 foo.wav Recording WAVE 'foo.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

I tap the mic a few times as this is running. I hear the taps great while recording, but playing back foo.wav I just hear static, with the taps barely audible. Adjusting the recording levels doesn't change anything.

what about hw:0,1 ?

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#2 lore raw
Quoted 12 lines · Takashi Iwai

At Wed, 27 Aug 2003 01:10:06 -0700,

Quoted 9 lines · Nathan Gray

I'm trying to record from the built-in mic in my laptop (Dell Inspiron 4150) but it doesn't seem to work right. If I select "Mic" as the capture source and max out the volume then when I tap the microphone I can hear it loud and clear in my headphones. Then I try:

[n8gray@golux patches]$ arecord -d 5 foo.wav Recording WAVE 'foo.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

Quoted 6 lines
Quoted 4 lines

I tap the mic a few times as this is running. I hear the taps great while recording, but playing back foo.wav I just hear static, with the taps barely audible. Adjusting the recording levels doesn't change anything.

what about hw:0,1 ?

[n8gray@golux patches]$ arecord -D hw:0,1 -d 5 foo.wav Recording WAVE 'foo.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: set_params:809: Sample format non available

I get the same result for -D intel8x0 and -D hw:0.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-- Nathaniel Gray -- Caltech Computer Science ------> -- Mojave Project -- http://mojave.cs.caltech.edu -->

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf