ALSA configuration problem with Audio signal

Dear all experts, thanks for assisting me with previous questions. Now I am trying to deploy the microphone with audio detection. However, the it pops up the ALSA configuration problem on my Logs window. I am not familiar with ALSA configurations. I post the messages here:

09.05.20 17:34:50 (+0930) <main> Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924
09.05.20 17:34:50 (+0930) <main> Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM front
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround21
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround21
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround40
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround41
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround50
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround51
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround71
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM spdif
09.05.20 17:34:50 (+0930) <main> ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM spdif
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
09.05.20 17:34:50 (+0930) <main> ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
09.05.20 17:34:50 (+0930) <main> Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924
09.05.20 17:34:50 (+0930) <main> Listening beginning

It shows the listening begin, however, It seems like doesn’t detect or record any audios. I check on other resources that the problem is maybe I am using my headphone speakers. Thank you

Hi @Xia, have you managed to resolve this issue yourself?

I see another post from you today that states you are able to record the sound: Microphone Deployment on Fin

Let us know if we could help with troubleshooting.

It’d be great if you could share your microphone setup and how you configured it for any future reading this post.

Cheers…

@gelbal Yeah, to solve this problem, I simply changed the microphone type. I used headphone to test before, which it causes the different microphone index number.

Thanks for the info! Good to hear that you figured the issue.