Hi JorgeCas,
I tried your command, but errors appear
root@imx8mp-lpddr4-evk:~# amixer -c 1 cset name='MICFIL Quality Select' 0
amixer: Cannot find the given element from control sysdefault:1
root@imx8mp-lpddr4-evk:~# arecord -D plughw:1,0 -f S32_LE -d10 -r 48000 capture.wav -vvv
arecord: main:831: audio open error: No such file or directory
I then tried changing the command as follows:
root@imx8mp-lpddr4-evk:~# amixer -Dsysdefault:CARD=imxaudiomicfil cset name='MICFIL Quality Select' 0
numid=9,iface=MIXER,name='MICFIL Quality Select'
; type=ENUMERATED,access=rw------,values=1,items=8
; Item #0 'Medium'
; Item #1 'High'
; Item #2 'N/A'
; Item #3 'N/A'
; Item #4 'VLow2'
; Item #5 'VLow1'
; Item #6 'VLow0'
; Item #7 'Low'
: values=0
root@imx8mp-lpddr4-evk:~# arecord -Dsysdefault:imxaudiomicfil -f S32_LE -d10 -r 48000 capture.wav -vvv
Recording WAVE 'capture.wav' : Signed 32 bit Little Endian, Rate 48000 Hz, Mono
Plug PCM: Hardware PCM card 2 'imx-audio-micfil' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S32_LE
subformat : STD
channels : 1
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 24000
period_size : 6000
period_time : 125000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 6000
period_event : 0
start_threshold : 1
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 6755399441055744000
appl_ptr : 0
hw_ptr : 0
Max peak (6000 samples): 0x00fe0900 # 0%
Max peak (6000 samples): 0x00fe0900 # 0%
Max peak (6000 samples): 0x00fe0900 # 0%
~~~( ellipsis)~~~~
Max peak (6000 samples): 0x00fe0900 # 0%
Max peak (6000 samples): 0x00fe0900 # 0%
Max peak (6000 samples): 0x00fe0900 # 0%
root@imx8mp-lpddr4-evk:~#
When running record, it returns all 0%
Is there any way to fix it?
Best regards,