about i.MX8M ALSA lib ../../../alsa-lib-1.1.4.1/src/pcm/pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

about i.MX8M ALSA lib ../../../alsa-lib-1.1.4.1/src/pcm/pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave

1,157 Views
abhishek_kumar2
Contributor I

For recording, i am using this command on iMX8M

arecord [-Dplughw:0,0] -r 44100 -f S16_LE -c 2 -d 5 record.wav

Output : 

root@imx8mqevk:/home# arecord [-Dplughw:0,0] -r 44100 -f S16_LE -c 2 -d 5 record.wav
ALSA lib ../../../alsa-lib-1.1.4.1/src/pcm/pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave

arecord: main:828: audio open error: No such file or directory

Before this we need to set amixer to enable microphone. But I don;t know how to set it up for iMX8M.

can anybody help me on this ?

0 Kudos
2 Replies

882 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Which Linux version are you using?

Best Regards,

Diego.

0 Kudos

882 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

The reason is that the audio codec that the board has, doesn't support any audio input. For that reason, the gstreamer pipeline can't open the audio card. The only way to record audio is through software, for that I recommend you to use a USB microphone. I apologize for the inconveniences.

Best Regards,

Diego.

0 Kudos