Hello,
I am working on a dragonboard 845c RB3 (navigation mezzanine) with AOSP Automotive (branch master).
I want to use Digital microphones (DMIC) which are integrated on Navigation mezzanine.
I tried to capture data with tinycap:
-
1 channel
qc_rb3:/data/sound # tinycap essai.wav -D 0 -d 2 -c 1 -r 48000
Capturing sample: 1 ch, 48000 hz, 16 bit
start errorCaptured 0 frames
in dmesg, I obtained:
[16514.355412] MultiMedia3: ASoC: no backend DAIs enabled for MultiMedia3
[16514.362820] MultiMedia3: ASoC: dpcm_fe_dai_prepare() failed (-22)
-
2 channels
qc_rb3:/data/sound # tinycap essai.wav -c 2 -r 48000 -D 0 -d 2
Capturing sample: 2 ch, 48000 hz, 16 bit
start errorCaptured 0 frames[ 2111.005727] MultiMedia3: ASoC: no backend DAIs enabled for MultiMedia3
[ 2111.016556] MultiMedia3: ASoC: dpcm_fe_dai_prepare() failed (-22)
Same things with device 1:
qc_rb3:/data/sound # tinycap essai.wav -D 0 -d 1 -c 1 -r 48000
Capturing sample: 1 ch, 48000 hz, 16 bit
start errorCaptured 0 frames
[17413.160151] MultiMedia2: ASoC: no backend DAIs enabled for MultiMedia2
[17413.167638] MultiMedia2: ASoC: dpcm_fe_dai_prepare() failed (-22)
qc_rb3:/data/sound # tinycap essai.wav -c 2 -r 48000 -D 0 -d 1
Capturing sample: 2 ch, 48000 hz, 16 bit
start errorCaptured 0 frames
[ 2021.304115] MultiMedia2: ASoC: no backend DAIs enabled for MultiMedia2
[ 2021.311572] MultiMedia2: ASoC: dpcm_fe_dai_prepare() failed (-22)
I also tried with an application ‘Voice Recorder_v54.1_apkpure.com.apk’.
When starting recording, the application says that microphone is already used by an other application.
I see some tips to enable microphones under Linux Embedded, but the tool used is not available under AOSP.
I also see ways to configure mixer with tinymix or with /vendor/etc/mixer_paths.xml. But with 1257 items, I am a little bit confused.
Thanks in advance for help.
Regards