aplay works fine, arecord capture only noise

Hi,

I built the kernel 2.6.27 from various sources (2.6.27-omap1 patche,
android, etc.), and I have an issue when I try to capture audio.
Playing audio works just fine (in this case the wav file I am playing
was not recorded on the beagle).

I use these 2 commands:
arecord -D ctl.mixer0 -t wav -c 2 -r 44100 -f S16_LE -v /test.wav -d10
aplay -D ctl.mixer0 -t wav -c 2 -r 44100 -f S16_LE -v /test.wav

Devices entries in the kernel:
Character devices:
14 sound
116 alsa

/dev devices:
crw-r--r-- 1 root root 14, 4 Jan 1 00:00 audio
crw-r--r-- 1 root root 14, 3 Jan 1 00:00 dsp
crw-r--r-- 1 root root 14, 0 Jan 1 00:00 mixer

Mixer configuration file:
# cat /etc/asound.conf
# default dmix configuration

pcm.!default {
    type plug
    slave.pcm "dmix"
}

ctl.mixer0 {
    type hw
    card 0
}

Any idea what I am missing ?
Thanks!
~Olivier

You're not missing anything. Audio input was broken back in 2.6.27

Steve