Audio capturing using ALSA library - snd_pcm_open => No such file or directory

Your problem is that the alsa-lib package is not installed correctly (and it looks as if there is no package for your hardware).

To find out which files you need, get the alsa-lib source package, compile it, and install it into a temporary directory with

make install DESTDIR=/tmp/test

Then look into /tmp/test/; the compiled library file itself (libasound.so*) cannot be used if you didn't use the correct cross compiler, but the other files are text files suitable for any architecture.


I had different version of the snddevices script. I had to use the right script int he right directory to get snd_pcm_open to work. I had to copy the script to the driver directory of the SoC.

I copied the .conf file to the same directory as in the reference implementation.

The bad file descriptor error message seems to be present if no capturing device is running. The capturing still doesn't work as of now.