We have installed a basic Arch Linux ARM with ALSA.
When we play a file with:
$this->bbcode_second_pass_code('', '# aplay test.wav')
it works, but when recording:
$this->bbcode_second_pass_code('', '# arecord -d 10 test.wav')
it doesn't record anything. In this site they (ALSA) suggest to load it as a module:
http://alsa.opensrc.org/TroubleShooting
$this->bbcode_second_pass_quote('', ' ')Check that the ALSA drivers are compiled as modules
Make sure you have installed ALSA as modules, and not compiled into the kernel. ALSA fails for all sorts of reasons when compiled into the kernel (this may no longer be true for kernels after v2.6.5*). Anything that mentions sound in the kernel config, even if it is not directly to do with ALSA, set its option to M if you can. If you compile your own kernel: when you configure the kernel, make sure you see M (for module) and not * (compiled into the kernel).
Kernel v2.6.22.9 still doesn't like ALSA compiled into it, modules work.