audio codec 5640 in tx2

Hi Jon

i have a question about my microphone jack.

my microphone jack need Voltage and jack is connect to rt5640 pin4 MICBIAS1.

my MICBIAS1 is 0V ,so my microphone have no work.

how to enable this pin?

Hi Elma,

You could try adding a route to the MICBIAS1 …

nvidia,audio-routing =
			"x Headphone",          "x LOUTL",
			"x Headphone",          "x LOUTR",
			"x IN1P",               "x Mic",
			"x IN1N",               "x Mic",
+			"x Mic",                "x MICBIAS1",

Regards,
Jon

Hi Jon

after i modify and set the routing command but this pin(MICBIAS1)
always output 0V.

how should i debug this pin?

i use command

amixer -c tegrasndt186ref cset name="x LOUT MIX DAC L1 Switch" 1
sleep 1
amixer -c tegrasndt186ref cset name="x LOUT MIX DAC R1 Switch" 1
sleep 1
amixer -c tegrasndt186ref cset name="x LOUT MIX OUTVOL L Switch" 1
sleep 1
amixer -c tegrasndt186ref cset name="x LOUT MIX OUTVOL R Switch" 1
sleep 1
amixer -c tegrasndt186ref cset name="x RECMIXR BST1 Switch" 1
sleep 1
amixer -c tegrasndt186ref cset name="x RECMIXL BST1 Switch" 1
sleep 1
amixer -c tegrasndt186ref cset name="x Stereo ADC MIXR ADC1 Switch" 1
sleep 1
amixer -c tegrasndt186ref cset name="x Stereo ADC MIXL ADC1 Switch" 1
sleep 1
nvidia@tegra-ubuntu:~$

Hi Elma,

The best thing to do is trace the dapm widgets …

echo 1 | sudo tee /sys/kernel/debug/tracing/tracing_on
echo 1 | sudo tee /sys/kernel/debug/tracing/events/asoc/snd_soc_dapm_widget_power/enable

<start playback/capture>

sudo cat /sys/kernel/debug/tracing/trace

Ideally, you should see the MICBIAS1 being enabled.

Jon

Hi Jon

i check the MICBIAS1 , it’s work fine.
when i use “arecord -D hw:1,0 -r 44100 -f S16_LE -c 2 -d 10 cap.wav”
the firmware will set MICBIAS1 to be 1 and will output Voltage.

but now my microphone feature still not work.

is it a audio routing path issue??

nvidia@tegra-ubuntu:~$ ./elma
numid=938,iface=MIXER,name='x LOUT MIX DAC L1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=939,iface=MIXER,name='x LOUT MIX DAC R1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=940,iface=MIXER,name='x LOUT MIX OUTVOL L Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=941,iface=MIXER,name='x LOUT MIX OUTVOL R Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=888,iface=MIXER,name='x RECMIXR BST1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=882,iface=MIXER,name='x RECMIXL BST1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=898,iface=MIXER,name='x Stereo ADC MIXR ADC1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=896,iface=MIXER,name='x Stereo ADC MIXL ADC1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$ sudo su
[sudo] password for nvidia:
root@tegra-ubuntu:/home/nvidia#
root@tegra-ubuntu:/home/nvidia# cd
root@tegra-ubuntu:~# echo 1 > /sys/kernel/debug/tracing/events/asoc/snd_soc_dapm_path/enable
root@tegra-ubuntu:~# echo 1 > /sys/kernel/debug/tracing/events/asoc/snd_soc_dapm_start/enable
root@tegra-ubuntu:~# echo 1 > /sys/kernel/debug/tracing/events/asoc/snd_soc_dapm_walk_done/enable
root@tegra-ubuntu:~# echo 1 > /sys/kernel/debug/tracing/events/asoc/snd_soc_dapm_widget_power/enable
root@tegra-ubuntu:~# echo 1 | sudo tee /sys/kernel/debug/tracing/tracing_on
1
root@tegra-ubuntu:~# echo 1 | sudo tee /sys/kernel/debug/tracing/events/asoc/snd_soc_dapm_widget_power/enable
1
root@tegra-ubuntu:~# sudo cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
root@tegra-ubuntu:~# arecord -D hw:1,0 -r 44100 -f S16_LE -c 2 -d 3 cap.wav
Recording WAVE 'cap.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
root@tegra-ubuntu:~#
root@tegra-ubuntu:~#
root@tegra-ubuntu:~# sudo cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 453/453   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
         arecord-2541  [000] ...1   215.491374: snd_soc_dapm_start: card=tegra-snd-t186ref-mobile-rt565x
         arecord-2541  [000] ...1   215.491497: snd_soc_dapm_path: *Capture 1 <- (direct) <- ADMAIF1 Transmit
         arecord-2541  [000] ...1   215.491498: snd_soc_dapm_path: *ADMAIF1 Transmit <- (direct) <- ADMAIF1 TX
         arecord-2541  [000] ...1   215.491500: snd_soc_dapm_path: *ADMAIF1 TX <- (direct) <- ADMAIF1 Mux
         arecord-2541  [000] ...1   215.491501: snd_soc_dapm_path:  ADMAIF1 Mux <- ARAD1 <- ARAD1 RX
         arecord-2541  [000] ...1   215.491502: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX4-4 <- ADX4-4 RX
         arecord-2541  [000] ...1   215.491503: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX4-3 <- ADX4-3 RX
         arecord-2541  [000] ...1   215.491504: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX4-2 <- ADX4-2 RX
         arecord-2541  [000] ...1   215.491505: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX4-1 <- ADX4-1 RX
         arecord-2541  [000] ...1   215.491506: snd_soc_dapm_path:  ADMAIF1 Mux <- AMX4 <- AMX4 RX
         arecord-2541  [000] ...1   215.491506: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX3-4 <- ADX3-4 RX
         arecord-2541  [000] ...1   215.491507: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX3-3 <- ADX3-3 RX
         arecord-2541  [000] ...1   215.491508: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX3-2 <- ADX3-2 RX
         arecord-2541  [000] ...1   215.491509: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX3-1 <- ADX3-1 RX
         arecord-2541  [000] ...1   215.491509: snd_soc_dapm_path:  ADMAIF1 Mux <- AMX3 <- AMX3 RX
         arecord-2541  [000] ...1   215.491510: snd_soc_dapm_path:  ADMAIF1 Mux <- ASRC1-6 <- ASRC1-6 RX
         arecord-2541  [000] ...1   215.491511: snd_soc_dapm_path:  ADMAIF1 Mux <- ASRC1-5 <- ASRC1-5 RX
         arecord-2541  [000] ...1   215.491512: snd_soc_dapm_path:  ADMAIF1 Mux <- ASRC1-4 <- ASRC1-4 RX
         arecord-2541  [000] ...1   215.491513: snd_soc_dapm_path:  ADMAIF1 Mux <- ASRC1-3 <- ASRC1-3 RX
         arecord-2541  [000] ...1   215.491514: snd_soc_dapm_path:  ADMAIF1 Mux <- ASRC1-2 <- ASRC1-2 RX
         arecord-2541  [000] ...1   215.491515: snd_soc_dapm_path:  ADMAIF1 Mux <- ASRC1-1 <- ASRC1-1 RX
         arecord-2541  [000] ...1   215.491516: snd_soc_dapm_path:  ADMAIF1 Mux <- I2S6 <- I2S6 RX
         arecord-2541  [000] ...1   215.491517: snd_soc_dapm_path:  ADMAIF1 Mux <- DMIC4 <- DMIC4 RX
         arecord-2541  [000] ...1   215.491518: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF20 <- ADMAIF20 RX
         arecord-2541  [000] ...1   215.491519: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF19 <- ADMAIF19 RX
         arecord-2541  [000] ...1   215.491520: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF18 <- ADMAIF18 RX
         arecord-2541  [000] ...1   215.491521: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF17 <- ADMAIF17 RX
         arecord-2541  [000] ...1   215.491522: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF16 <- ADMAIF16 RX
         arecord-2541  [000] ...1   215.491523: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF15 <- ADMAIF15 RX
         arecord-2541  [000] ...1   215.491525: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF14 <- ADMAIF14 RX
         arecord-2541  [000] ...1   215.491526: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF13 <- ADMAIF13 RX
         arecord-2541  [000] ...1   215.491526: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF12 <- ADMAIF12 RX
         arecord-2541  [000] ...1   215.491527: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF11 <- ADMAIF11 RX
         arecord-2541  [000] ...1   215.491528: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX2-4 <- ADX2-4 RX
         arecord-2541  [000] ...1   215.491529: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX2-3 <- ADX2-3 RX
         arecord-2541  [000] ...1   215.491530: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX2-2 <- ADX2-2 RX
         arecord-2541  [000] ...1   215.491531: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX2-1 <- ADX2-1 RX
         arecord-2541  [000] ...1   215.491532: snd_soc_dapm_path:  ADMAIF1 Mux <- AMX2 <- AMX2 RX
         arecord-2541  [000] ...1   215.491532: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX1-4 <- ADX1-4 RX
         arecord-2541  [000] ...1   215.491533: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX1-3 <- ADX1-3 RX
         arecord-2541  [000] ...1   215.491533: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX1-2 <- ADX1-2 RX
         arecord-2541  [000] ...1   215.491534: snd_soc_dapm_path:  ADMAIF1 Mux <- ADX1-1 <- ADX1-1 RX
         arecord-2541  [000] ...1   215.491535: snd_soc_dapm_path:  ADMAIF1 Mux <- AMX1 <- AMX1 RX
         arecord-2541  [000] ...1   215.491535: snd_soc_dapm_path:  ADMAIF1 Mux <- DMIC3 <- DMIC3 RX
         arecord-2541  [000] ...1   215.491536: snd_soc_dapm_path:  ADMAIF1 Mux <- DMIC2 <- DMIC2 RX
         arecord-2541  [000] ...1   215.491537: snd_soc_dapm_path:  ADMAIF1 Mux <- DMIC1 <- DMIC1 RX
         arecord-2541  [000] ...1   215.491538: snd_soc_dapm_path:  ADMAIF1 Mux <- IQC2-2 <- IQC2-2 RX
         arecord-2541  [000] ...1   215.491538: snd_soc_dapm_path:  ADMAIF1 Mux <- IQC2-1 <- IQC2-1 RX
         arecord-2541  [000] ...1   215.491539: snd_soc_dapm_path:  ADMAIF1 Mux <- IQC1-2 <- IQC1-2 RX
         arecord-2541  [000] ...1   215.491539: snd_soc_dapm_path:  ADMAIF1 Mux <- IQC1-1 <- IQC1-1 RX
         arecord-2541  [000] ...1   215.491540: snd_soc_dapm_path:  ADMAIF1 Mux <- MVC2 <- MVC2 RX
         arecord-2541  [000] ...1   215.491541: snd_soc_dapm_path:  ADMAIF1 Mux <- MVC1 <- MVC1 RX
         arecord-2541  [000] ...1   215.491541: snd_soc_dapm_path:  ADMAIF1 Mux <- OPE1 <- OPE1 RX
         arecord-2541  [000] ...1   215.491542: snd_soc_dapm_path:  ADMAIF1 Mux <- AFC6 <- AFC6 RX
         arecord-2541  [000] ...1   215.491543: snd_soc_dapm_path:  ADMAIF1 Mux <- AFC5 <- AFC5 RX
         arecord-2541  [000] ...1   215.491544: snd_soc_dapm_path:  ADMAIF1 Mux <- AFC4 <- AFC4 RX
         arecord-2541  [000] ...1   215.491544: snd_soc_dapm_path:  ADMAIF1 Mux <- AFC3 <- AFC3 RX
         arecord-2541  [000] ...1   215.491546: snd_soc_dapm_path:  ADMAIF1 Mux <- AFC2 <- AFC2 RX
         arecord-2541  [000] ...1   215.491547: snd_soc_dapm_path:  ADMAIF1 Mux <- AFC1 <- AFC1 RX
         arecord-2541  [000] ...1   215.491548: snd_soc_dapm_path:  ADMAIF1 Mux <- SPDIF1-2 <- SPDIF1-2 RX
         arecord-2541  [000] ...1   215.491550: snd_soc_dapm_path:  ADMAIF1 Mux <- SPDIF1-1 <- SPDIF1-1 RX
         arecord-2541  [000] ...1   215.491551: snd_soc_dapm_path:  ADMAIF1 Mux <- MIXER1-5 <- MIXER1-5 RX
         arecord-2541  [000] ...1   215.491552: snd_soc_dapm_path:  ADMAIF1 Mux <- MIXER1-4 <- MIXER1-4 RX
         arecord-2541  [000] ...1   215.491552: snd_soc_dapm_path:  ADMAIF1 Mux <- MIXER1-3 <- MIXER1-3 RX
         arecord-2541  [000] ...1   215.491553: snd_soc_dapm_path:  ADMAIF1 Mux <- MIXER1-2 <- MIXER1-2 RX
         arecord-2541  [000] ...1   215.491554: snd_soc_dapm_path:  ADMAIF1 Mux <- MIXER1-1 <- MIXER1-1 RX
         arecord-2541  [000] ...1   215.491554: snd_soc_dapm_path:  ADMAIF1 Mux <- SFC4 <- SFC4 RX
         arecord-2541  [000] ...1   215.491555: snd_soc_dapm_path:  ADMAIF1 Mux <- SFC3 <- SFC3 RX
         arecord-2541  [000] ...1   215.491556: snd_soc_dapm_path:  ADMAIF1 Mux <- SFC2 <- SFC2 RX
         arecord-2541  [000] ...1   215.491556: snd_soc_dapm_path:  ADMAIF1 Mux <- SFC1 <- SFC1 RX
         arecord-2541  [000] ...1   215.491557: snd_soc_dapm_path:  ADMAIF1 Mux <- I2S5 <- I2S5 RX
         arecord-2541  [000] ...1   215.491558: snd_soc_dapm_path:  ADMAIF1 Mux <- I2S4 <- I2S4 RX
         arecord-2541  [000] ...1   215.491559: snd_soc_dapm_path:  ADMAIF1 Mux <- I2S3 <- I2S3 RX
         arecord-2541  [000] ...1   215.491559: snd_soc_dapm_path:  ADMAIF1 Mux <- I2S2 <- I2S2 RX
         arecord-2541  [000] ...1   215.491561: snd_soc_dapm_path: *ADMAIF1 Mux <- I2S1 <- I2S1 RX
         arecord-2541  [000] ...1   215.491562: snd_soc_dapm_path: *I2S1 RX <- (direct) <- I2S1 Receive
         arecord-2541  [000] ...1   215.491563: snd_soc_dapm_path: *I2S1 Receive <- (direct) <- I2S1 CIF Transmit-I2S1 Receive
         arecord-2541  [000] ...1   215.491564: snd_soc_dapm_path: *I2S1 CIF Transmit-I2S1 Receive <- (direct) <- I2S1 CIF Transmit
         arecord-2541  [000] ...1   215.491565: snd_soc_dapm_path: *I2S1 CIF Transmit <- (direct) <- I2S1 CIF TX
         arecord-2541  [000] ...1   215.491566: snd_soc_dapm_path: *I2S1 CIF TX <- (direct) <- I2S1 DAP RX
         arecord-2541  [000] ...1   215.491567: snd_soc_dapm_path: *I2S1 DAP RX <- (direct) <- I2S1 DAP Receive
         arecord-2541  [000] ...1   215.491568: snd_soc_dapm_path: *I2S1 DAP Receive <- (direct) <- x AIF1 Capture-I2S1 DAP Receive
         arecord-2541  [000] ...1   215.491569: snd_soc_dapm_path: *x AIF1 Capture-I2S1 DAP Receive <- (direct) <- x AIF1 Capture
         arecord-2541  [000] ...1   215.491570: snd_soc_dapm_path: *x AIF1 Capture <- (direct) <- x AIF1TX
         arecord-2541  [000] ...1   215.491571: snd_soc_dapm_path: *x AIF1TX <- (direct) <- x SDI1 TX Mux
         arecord-2541  [000] ...1   215.491573: snd_soc_dapm_path: *x AIF1TX <- (direct) <- x DAI1 TX Mux
         arecord-2541  [000] ...1   215.491574: snd_soc_dapm_path:  x DAI1 TX Mux <- 1:2|2:1 <- x IF2 ADC
         arecord-2541  [000] ...1   215.491575: snd_soc_dapm_path: *x DAI1 TX Mux <- 1:1|2:2 <- x IF1 ADC
         arecord-2541  [000] ...1   215.491576: snd_soc_dapm_path: *x IF1 ADC <- (direct) <- x IF1 ADC R
         arecord-2541  [000] ...1   215.491577: snd_soc_dapm_path: *x IF1 ADC R <- (direct) <- x Stereo ADC MIXR
         arecord-2541  [000] ...1   215.491578: snd_soc_dapm_path: *x IF1 ADC <- (direct) <- x IF1 ADC L
         arecord-2541  [000] ...1   215.491579: snd_soc_dapm_path: *x IF1 ADC L <- (direct) <- x Stereo ADC MIXL
         arecord-2541  [000] ...1   215.491580: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF10 <- ADMAIF10 RX
         arecord-2541  [000] ...1   215.491581: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF9 <- ADMAIF9 RX
         arecord-2541  [000] ...1   215.491582: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF8 <- ADMAIF8 RX
         arecord-2541  [000] ...1   215.491583: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF7 <- ADMAIF7 RX
         arecord-2541  [000] ...1   215.491583: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF6 <- ADMAIF6 RX
         arecord-2541  [000] ...1   215.491584: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF5 <- ADMAIF5 RX
         arecord-2541  [000] ...1   215.491585: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF4 <- ADMAIF4 RX
         arecord-2541  [000] ...1   215.491585: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF3 <- ADMAIF3 RX
         arecord-2541  [000] ...1   215.491586: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF2 <- ADMAIF2 RX
         arecord-2541  [000] ...1   215.491587: snd_soc_dapm_path:  ADMAIF1 Mux <- ADMAIF1 <- ADMAIF1 RX
         arecord-2541  [000] ...1   215.491589: snd_soc_dapm_widget_power: widget=Capture 1 val=1
         arecord-2541  [000] ...1   215.491590: snd_soc_dapm_widget_power: widget=ADMAIF1 Transmit val=1
         arecord-2541  [000] ...1   215.491592: snd_soc_dapm_path: *ADMAIF1 TX -> (direct) -> ADMAIF1 Transmit
         arecord-2541  [000] ...1   215.491593: snd_soc_dapm_widget_power: widget=ADMAIF1 TX val=1
         arecord-2541  [000] ...1   215.491594: snd_soc_dapm_path: *ADMAIF1 Transmit-ADMAIF1 CIF Transmit <- (direct) <- ADMAIF1 Transmit
         arecord-2541  [000] ...1   215.491595: snd_soc_dapm_path: *ADMAIF1 Mux -> (direct) -> ADMAIF1 TX
         arecord-2541  [000] ...1   215.491596: snd_soc_dapm_widget_power: widget=ADMAIF1 Mux val=1
         arecord-2541  [000] ...1   215.491598: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> DSPK2 Mux
         arecord-2541  [000] ...1   215.491600: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> DSPK1 Mux
         arecord-2541  [000] ...1   215.491601: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-7 Mux
         arecord-2541  [000] ...1   215.491602: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-6 Mux
         arecord-2541  [000] ...1   215.491603: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-5 Mux
         arecord-2541  [000] ...1   215.491603: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-4 Mux
         arecord-2541  [000] ...1   215.491604: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-3 Mux
         arecord-2541  [000] ...1   215.491605: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-2 Mux
         arecord-2541  [000] ...1   215.491606: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-1 Mux
         arecord-2541  [000] ...1   215.491607: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S6 Mux
         arecord-2541  [000] ...1   215.491608: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADX4 Mux
         arecord-2541  [000] ...1   215.491610: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADX3 Mux
         arecord-2541  [000] ...1   215.491611: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX4-4 Mux
         arecord-2541  [000] ...1   215.491612: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX4-3 Mux
         arecord-2541  [000] ...1   215.491613: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX4-2 Mux
         arecord-2541  [000] ...1   215.491614: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX4-1 Mux
         arecord-2541  [000] ...1   215.491615: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX3-4 Mux
         arecord-2541  [000] ...1   215.491616: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX3-3 Mux
         arecord-2541  [000] ...1   215.491617: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX3-2 Mux
         arecord-2541  [000] ...1   215.491619: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX3-1 Mux
         arecord-2541  [000] ...1   215.491620: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF20 Mux
         arecord-2541  [000] ...1   215.491621: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF19 Mux
         arecord-2541  [000] ...1   215.491622: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF18 Mux
         arecord-2541  [000] ...1   215.491622: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF17 Mux
         arecord-2541  [000] ...1   215.491623: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF16 Mux
         arecord-2541  [000] ...1   215.491624: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF15 Mux
         arecord-2541  [000] ...1   215.491625: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF14 Mux
         arecord-2541  [000] ...1   215.491626: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF13 Mux
         arecord-2541  [000] ...1   215.491627: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF12 Mux
         arecord-2541  [000] ...1   215.491628: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF11 Mux
         arecord-2541  [000] ...1   215.491629: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADX2 Mux
         arecord-2541  [000] ...1   215.491630: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADX1 Mux
         arecord-2541  [000] ...1   215.491631: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX2-4 Mux
         arecord-2541  [000] ...1   215.491633: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX2-3 Mux
         arecord-2541  [000] ...1   215.491634: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX2-2 Mux
         arecord-2541  [000] ...1   215.491635: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX2-1 Mux
         arecord-2541  [000] ...1   215.491635: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX1-4 Mux
         arecord-2541  [000] ...1   215.491636: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX1-3 Mux
         arecord-2541  [000] ...1   215.491637: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX1-2 Mux
         arecord-2541  [000] ...1   215.491638: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX1-1 Mux
         arecord-2541  [000] ...1   215.491639: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MVC2 Mux
         arecord-2541  [000] ...1   215.491640: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MVC1 Mux
         arecord-2541  [000] ...1   215.491641: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SPKPROT1 Mux
         arecord-2541  [000] ...1   215.491642: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> OPE1 Mux
         arecord-2541  [000] ...1   215.491643: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC6 Mux
         arecord-2541  [000] ...1   215.491644: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC5 Mux
         arecord-2541  [000] ...1   215.491645: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC4 Mux
         arecord-2541  [000] ...1   215.491646: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC3 Mux
         arecord-2541  [000] ...1   215.491647: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC2 Mux
         arecord-2541  [000] ...1   215.491648: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC1 Mux
         arecord-2541  [000] ...1   215.491649: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SPDIF1-2 Mux
         arecord-2541  [000] ...1   215.491650: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SPDIF1-1 Mux
         arecord-2541  [000] ...1   215.491650: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-10 Mux
         arecord-2541  [000] ...1   215.491652: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-9 Mux
         arecord-2541  [000] ...1   215.491653: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-8 Mux
         arecord-2541  [000] ...1   215.491654: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-7 Mux
         arecord-2541  [000] ...1   215.491655: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-6 Mux
         arecord-2541  [000] ...1   215.491656: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-5 Mux
         arecord-2541  [000] ...1   215.491657: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-4 Mux
         arecord-2541  [000] ...1   215.491658: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-3 Mux
         arecord-2541  [000] ...1   215.491659: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-2 Mux
         arecord-2541  [000] ...1   215.491660: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-1 Mux
         arecord-2541  [000] ...1   215.491661: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SFC4 Mux
         arecord-2541  [000] ...1   215.491662: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SFC3 Mux
         arecord-2541  [000] ...1   215.491663: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SFC2 Mux
         arecord-2541  [000] ...1   215.491663: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SFC1 Mux
         arecord-2541  [000] ...1   215.491665: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S5 Mux
         arecord-2541  [000] ...1   215.491665: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S4 Mux
         arecord-2541  [000] ...1   215.491667: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S3 Mux
         arecord-2541  [000] ...1   215.491667: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S2 Mux
         arecord-2541  [000] ...1   215.491668: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S1 Mux
         arecord-2541  [000] ...1   215.491669: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF10 Mux
         arecord-2541  [000] ...1   215.491671: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF9 Mux
         arecord-2541  [000] ...1   215.491672: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF8 Mux
         arecord-2541  [000] ...1   215.491673: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF7 Mux
         arecord-2541  [000] ...1   215.491674: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF6 Mux
         arecord-2541  [000] ...1   215.491675: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF5 Mux
         arecord-2541  [000] ...1   215.491677: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF4 Mux
         arecord-2541  [000] ...1   215.491678: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF3 Mux
         arecord-2541  [000] ...1   215.491679: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF2 Mux
         arecord-2541  [000] ...1   215.491679: snd_soc_dapm_path: *I2S1 RX -> I2S1 -> ADMAIF1 Mux
         arecord-2541  [000] ...1   215.491680: snd_soc_dapm_widget_power: widget=I2S1 RX val=1
         arecord-2541  [000] ...1   215.491682: snd_soc_dapm_path: *I2S1 Receive -> (direct) -> I2S1 RX
         arecord-2541  [000] ...1   215.491683: snd_soc_dapm_widget_power: widget=I2S1 Receive val=1
         arecord-2541  [000] ...1   215.491684: snd_soc_dapm_path: *I2S1 CIF Transmit-I2S1 Receive -> (direct) -> I2S1 Receive
         arecord-2541  [000] ...1   215.491685: snd_soc_dapm_widget_power: widget=I2S1 CIF Transmit-I2S1 Receive val=1
         arecord-2541  [000] ...1   215.491686: snd_soc_dapm_path: *I2S1 CIF Transmit -> (direct) -> I2S1 CIF Transmit-I2S1 Receive
         arecord-2541  [000] ...1   215.491687: snd_soc_dapm_widget_power: widget=I2S1 CIF Transmit val=1
         arecord-2541  [000] ...1   215.491688: snd_soc_dapm_path: *I2S1 CIF TX -> (direct) -> I2S1 CIF Transmit
         arecord-2541  [000] ...1   215.491688: snd_soc_dapm_widget_power: widget=I2S1 CIF TX val=1
         arecord-2541  [000] ...1   215.491689: snd_soc_dapm_path: *I2S1 DAP RX -> (direct) -> I2S1 CIF TX
         arecord-2541  [000] ...1   215.491690: snd_soc_dapm_widget_power: widget=I2S1 DAP RX val=1
         arecord-2541  [000] ...1   215.491691: snd_soc_dapm_path: *I2S1 DAP Receive -> (direct) -> I2S1 DAP RX
         arecord-2541  [000] ...1   215.491692: snd_soc_dapm_widget_power: widget=I2S1 DAP Receive val=1
         arecord-2541  [000] ...1   215.491693: snd_soc_dapm_path: *x AIF1 Capture-I2S1 DAP Receive -> (direct) -> I2S1 DAP Receive
         arecord-2541  [000] ...1   215.491693: snd_soc_dapm_widget_power: widget=x AIF1 Capture-I2S1 DAP Receive val=1
         arecord-2541  [000] ...1   215.491694: snd_soc_dapm_path: *x AIF1 Capture -> (direct) -> x AIF1 Capture-I2S1 DAP Receive
         arecord-2541  [000] ...1   215.491695: snd_soc_dapm_widget_power: widget=x AIF1 Capture val=1
         arecord-2541  [000] ...1   215.491696: snd_soc_dapm_path: *x AIF1TX -> (direct) -> x AIF1 Capture
         arecord-2541  [000] ...1   215.491697: snd_soc_dapm_widget_power: widget=x AIF1TX val=1
         arecord-2541  [000] ...1   215.491698: snd_soc_dapm_path: *x SDI1 TX Mux -> (direct) -> x AIF1TX
         arecord-2541  [000] ...1   215.491699: snd_soc_dapm_path: *x DAI1 TX Mux -> (direct) -> x AIF1TX
         arecord-2541  [000] ...1   215.491699: snd_soc_dapm_widget_power: widget=x DAI1 TX Mux val=1
         arecord-2541  [000] ...1   215.491701: snd_soc_dapm_path:  x IF1 ADC -> 1:2|2:2 -> x DAI2 IF1 Mux
         arecord-2541  [000] ...1   215.491702: snd_soc_dapm_path:  x IF1 ADC -> 1:2|2:1 -> x DAI2 TX Mux
         arecord-2541  [000] ...1   215.491704: snd_soc_dapm_path:  x IF1 ADC -> 1:1|2:1 -> x DAI1 IF1 Mux
         arecord-2541  [000] ...1   215.491705: snd_soc_dapm_path: *x IF1 ADC -> 1:1|2:2 -> x DAI1 TX Mux
         arecord-2541  [000] ...1   215.491705: snd_soc_dapm_widget_power: widget=x IF1 ADC val=1
         arecord-2541  [000] ...1   215.491707: snd_soc_dapm_path: *x IF1 ADC R -> (direct) -> x IF1 ADC
         arecord-2541  [000] ...1   215.491707: snd_soc_dapm_widget_power: widget=x IF1 ADC R val=1
         arecord-2541  [000] ...1   215.491708: snd_soc_dapm_path: *x IF1 ADC L -> (direct) -> x IF1 ADC
         arecord-2541  [000] ...1   215.491709: snd_soc_dapm_widget_power: widget=x IF1 ADC L val=1
         arecord-2541  [000] ...1   215.491712: snd_soc_dapm_path: *x IF1 DAC -> (direct) -> x IF1 DAC R
         arecord-2541  [000] ...1   215.491714: snd_soc_dapm_path: *x IF1 DAC R -> INF1 Switch -> x DAC MIXR
         arecord-2541  [000] ...1   215.491716: snd_soc_dapm_path:  x DAC MIXR -> DAC R1 Switch -> x DIG MIXR
         arecord-2541  [000] ...1   215.491717: snd_soc_dapm_path:  x DAC MIXR -> DAC R1 Switch -> x Mono DAC MIXR
         arecord-2541  [000] ...1   215.491719: snd_soc_dapm_path: *x DAC MIXR -> DAC R1 Switch -> x Stereo DAC MIXR
         arecord-2541  [000] ...1   215.491720: snd_soc_dapm_path: *x Stereo DAC MIXR -> (direct) -> x DAC R1
         arecord-2541  [000] ...1   215.491722: snd_soc_dapm_path: *x DAC MIXR -> (direct) -> x Audio DSP
         arecord-2541  [000] ...1   215.491723: snd_soc_dapm_path: *x IF1 DAC -> (direct) -> x IF1 DAC L
         arecord-2541  [000] ...1   215.491725: snd_soc_dapm_path: *x IF1 DAC L -> INF1 Switch -> x DAC MIXL
         arecord-2541  [000] ...1   215.491726: snd_soc_dapm_path:  x DAC MIXL -> DAC L1 Switch -> x DIG MIXL
         arecord-2541  [000] ...1   215.491727: snd_soc_dapm_path:  x DAC MIXL -> DAC L1 Switch -> x Mono DAC MIXL
         arecord-2541  [000] ...1   215.491729: snd_soc_dapm_path: *x DAC MIXL -> DAC L1 Switch -> x Stereo DAC MIXL
         arecord-2541  [000] ...1   215.491730: snd_soc_dapm_path: *x Stereo DAC MIXL -> (direct) -> x DAC L1
         arecord-2541  [000] ...1   215.491731: snd_soc_dapm_path: *x DAC MIXL -> (direct) -> x Audio DSP
         arecord-2541  [000] ...1   215.491732: snd_soc_dapm_widget_power: widget=x I2S1 val=1
         arecord-2541  [000] ...1   215.491734: snd_soc_dapm_path:  x Stereo ADC MIXR -> Stereo ADC Switch -> x DAC MIXR
         arecord-2541  [000] ...1   215.491735: snd_soc_dapm_path: *x Stereo ADC MIXR -> (direct) -> x IF1 ADC R
         arecord-2541  [000] ...1   215.491736: snd_soc_dapm_path: *x Stereo ADC MIXR -> (direct) -> x ANC
         arecord-2541  [000] ...1   215.491737: snd_soc_dapm_widget_power: widget=x Stereo ADC MIXR val=1
         arecord-2541  [000] ...1   215.491738: snd_soc_dapm_path:  x Stereo ADC MIXL -> Stereo ADC Switch -> x DAC MIXL
         arecord-2541  [000] ...1   215.491739: snd_soc_dapm_path: *x Stereo ADC MIXL -> (direct) -> x IF1 ADC L
         arecord-2541  [000] ...1   215.491740: snd_soc_dapm_path: *x Stereo ADC MIXL -> (direct) -> x ANC
         arecord-2541  [000] ...1   215.491741: snd_soc_dapm_widget_power: widget=x Stereo ADC MIXL val=1
         arecord-2541  [000] ...1   215.491743: snd_soc_dapm_widget_power: widget=x Stereo Filter val=1
         arecord-2541  [000] ...1   215.491744: snd_soc_dapm_path: *x Stereo ADC R1 Mux -> ADC1 Switch -> x Stereo ADC MIXR
         arecord-2541  [000] ...1   215.491745: snd_soc_dapm_widget_power: widget=x Stereo ADC R1 Mux val=1
         arecord-2541  [000] ...1   215.491746: snd_soc_dapm_path: *x ANC <- (direct) <- x Stereo ADC MIXR
         arecord-2541  [000] ...1   215.491747: snd_soc_dapm_path: *x ANC <- (direct) <- x Stereo ADC MIXL
         arecord-2541  [000] ...1   215.491748: snd_soc_dapm_path: *x Stereo ADC L1 Mux -> ADC1 Switch -> x Stereo ADC MIXL
         arecord-2541  [000] ...1   215.491750: snd_soc_dapm_widget_power: widget=x Stereo ADC L1 Mux val=1
         arecord-2541  [000] ...1   215.491758: snd_soc_dapm_path: *x ADC R -> ADCR -> x Mono ADC R1 Mux
         arecord-2541  [000] ...1   215.491760: snd_soc_dapm_path: *x ADC R -> ADC -> x Stereo ADC R1 Mux
         arecord-2541  [000] ...1   215.491761: snd_soc_dapm_widget_power: widget=x ADC R val=1
         arecord-2541  [000] ...1   215.491763: snd_soc_dapm_path: *x ADC L -> ADCL -> x Mono ADC L1 Mux
         arecord-2541  [000] ...1   215.491764: snd_soc_dapm_path: *x ADC L -> ADC -> x Stereo ADC L1 Mux
         arecord-2541  [000] ...1   215.491764: snd_soc_dapm_widget_power: widget=x ADC L val=1
         arecord-2541  [000] ...1   215.491767: snd_soc_dapm_path:  x RECMIXR -> REC MIXR Switch -> x OUT MIXR
         arecord-2541  [000] ...1   215.491768: snd_soc_dapm_path:  x RECMIXR -> REC MIXR Switch -> x SPK MIXR
         arecord-2541  [000] ...1   215.491769: snd_soc_dapm_path: *x RECMIXR -> (direct) -> x ADC R
         arecord-2541  [000] ...1   215.491769: snd_soc_dapm_widget_power: widget=x RECMIXR val=1
         arecord-2541  [000] ...1   215.491771: snd_soc_dapm_path: *x Mono ADC R1 Mux <- ADCR <- x ADC R
         arecord-2541  [000] ...1   215.491772: snd_soc_dapm_path:  x Mono ADC R1 Mux <- Mono DAC MIXR <- x Mono DAC MIXR
         arecord-2541  [000] ...1   215.491773: snd_soc_dapm_path:  x RECMIXL -> REC MIXL Switch -> x OUT MIXL
         arecord-2541  [000] ...1   215.491775: snd_soc_dapm_path:  x RECMIXL -> REC MIXL Switch -> x SPK MIXL
         arecord-2541  [000] ...1   215.491775: snd_soc_dapm_path: *x RECMIXL -> (direct) -> x ADC L
         arecord-2541  [000] ...1   215.491776: snd_soc_dapm_widget_power: widget=x RECMIXL val=1
         arecord-2541  [000] ...1   215.491778: snd_soc_dapm_path: *x Mono ADC L1 Mux <- ADCL <- x ADC L
         arecord-2541  [000] ...1   215.491779: snd_soc_dapm_path:  x Mono ADC L1 Mux <- Mono DAC MIXL <- x Mono DAC MIXL
         arecord-2541  [000] ...1   215.491780: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x SPOR MIX
         arecord-2541  [000] ...1   215.491781: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x SPOL MIX
         arecord-2541  [000] ...1   215.491782: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x OUT MIXR
         arecord-2541  [000] ...1   215.491783: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x OUT MIXL
         arecord-2541  [000] ...1   215.491784: snd_soc_dapm_path: *x BST1 -> BST1 Switch -> x RECMIXR
         arecord-2541  [000] ...1   215.491784: snd_soc_dapm_path: *x BST1 -> BST1 Switch -> x RECMIXL
         arecord-2541  [000] ...1   215.491785: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x Mono MIX
         arecord-2541  [000] ...1   215.491786: snd_soc_dapm_widget_power: widget=x BST1 val=1
         arecord-2541  [000] ...1   215.491787: snd_soc_dapm_path: *x IN1N -> (direct) -> x BST1
         arecord-2541  [000] ...1   215.491788: snd_soc_dapm_widget_power: widget=x IN1N val=1
         arecord-2541  [000] ...1   215.491790: snd_soc_dapm_path: *x IN1P -> (direct) -> x BST1
         arecord-2541  [000] ...1   215.491790: snd_soc_dapm_widget_power: widget=x IN1P val=1
         arecord-2541  [000] ...1   215.491792: snd_soc_dapm_path: *x Mic -> (direct) -> x IN1N
         arecord-2541  [000] ...1   215.491792: snd_soc_dapm_path: *x Mic -> (direct) -> x IN1P
         arecord-2541  [000] ...1   215.491793: snd_soc_dapm_widget_power: widget=x Mic val=1
         arecord-2541  [000] ...1   215.491795: snd_soc_dapm_widget_power: widget=x LDO2 val=1
         arecord-2541  [000] ...1   215.491797: snd_soc_dapm_widget_power: widget=x MICBIAS1 val=1
         arecord-2541  [000] ...1   215.491903: snd_soc_dapm_walk_done: tegra-snd-t186ref-mobile-rt565x: checks 43 power, 60 path, 267 neighbour
         arecord-2541  [003] ...1   218.555230: snd_soc_dapm_start: card=tegra-snd-t186ref-mobile-rt565x
         arecord-2541  [003] ...1   218.555430: snd_soc_dapm_widget_power: widget=Capture 1 val=0
         arecord-2541  [003] ...1   218.555437: snd_soc_dapm_path: *ADMAIF1 Transmit -> (direct) -> Capture 1
         arecord-2541  [003] ...1   218.555441: snd_soc_dapm_path: *ADMAIF1 Transmit -> (direct) -> ADMAIF1 Transmit-ADMAIF1 CIF Transmit
         arecord-2541  [003] ...1   218.555445: snd_soc_dapm_widget_power: widget=ADMAIF1 Transmit val=0
         arecord-2541  [003] ...1   218.555448: snd_soc_dapm_path: *ADMAIF1 TX -> (direct) -> ADMAIF1 Transmit
         arecord-2541  [003] ...1   218.555451: snd_soc_dapm_widget_power: widget=ADMAIF1 TX val=0
         arecord-2541  [003] ...1   218.555455: snd_soc_dapm_path: *ADMAIF1 Mux -> (direct) -> ADMAIF1 TX
         arecord-2541  [003] ...1   218.555457: snd_soc_dapm_widget_power: widget=ADMAIF1 Mux val=0
         arecord-2541  [003] ...1   218.555466: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> DSPK2 Mux
         arecord-2541  [003] ...1   218.555470: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> DSPK1 Mux
         arecord-2541  [003] ...1   218.555473: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-7 Mux
         arecord-2541  [003] ...1   218.555476: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-6 Mux
         arecord-2541  [003] ...1   218.555479: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-5 Mux
         arecord-2541  [003] ...1   218.555482: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-4 Mux
         arecord-2541  [003] ...1   218.555484: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-3 Mux
         arecord-2541  [003] ...1   218.555487: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-2 Mux
         arecord-2541  [003] ...1   218.555489: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ASRC1-1 Mux
         arecord-2541  [003] ...1   218.555492: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S6 Mux
         arecord-2541  [003] ...1   218.555494: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADX4 Mux
         arecord-2541  [003] ...1   218.555498: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADX3 Mux
         arecord-2541  [003] ...1   218.555500: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX4-4 Mux
         arecord-2541  [003] ...1   218.555503: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX4-3 Mux
         arecord-2541  [003] ...1   218.555505: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX4-2 Mux
         arecord-2541  [003] ...1   218.555507: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX4-1 Mux
         arecord-2541  [003] ...1   218.555510: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX3-4 Mux
         arecord-2541  [003] ...1   218.555512: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX3-3 Mux
         arecord-2541  [003] ...1   218.555515: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX3-2 Mux
         arecord-2541  [003] ...1   218.555517: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX3-1 Mux
         arecord-2541  [003] ...1   218.555520: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF20 Mux
         arecord-2541  [003] ...1   218.555523: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF19 Mux
         arecord-2541  [003] ...1   218.555526: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF18 Mux
         arecord-2541  [003] ...1   218.555529: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF17 Mux
         arecord-2541  [003] ...1   218.555531: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF16 Mux
         arecord-2541  [003] ...1   218.555534: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF15 Mux
         arecord-2541  [003] ...1   218.555537: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF14 Mux
         arecord-2541  [003] ...1   218.555540: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF13 Mux
         arecord-2541  [003] ...1   218.555542: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF12 Mux
         arecord-2541  [003] ...1   218.555545: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF11 Mux
         arecord-2541  [003] ...1   218.555548: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADX2 Mux
         arecord-2541  [003] ...1   218.555550: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADX1 Mux
         arecord-2541  [003] ...1   218.555553: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX2-4 Mux
         arecord-2541  [003] ...1   218.555556: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX2-3 Mux
         arecord-2541  [003] ...1   218.555559: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX2-2 Mux
         arecord-2541  [003] ...1   218.555561: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX2-1 Mux
         arecord-2541  [003] ...1   218.555564: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX1-4 Mux
         arecord-2541  [003] ...1   218.555567: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX1-3 Mux
         arecord-2541  [003] ...1   218.555570: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX1-2 Mux
         arecord-2541  [003] ...1   218.555573: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AMX1-1 Mux
         arecord-2541  [003] ...1   218.555575: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MVC2 Mux
         arecord-2541  [003] ...1   218.555578: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MVC1 Mux
         arecord-2541  [003] ...1   218.555581: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SPKPROT1 Mux
         arecord-2541  [003] ...1   218.555584: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> OPE1 Mux
         arecord-2541  [003] ...1   218.555586: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC6 Mux
         arecord-2541  [003] ...1   218.555589: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC5 Mux
         arecord-2541  [003] ...1   218.555591: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC4 Mux
         arecord-2541  [003] ...1   218.555593: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC3 Mux
         arecord-2541  [003] ...1   218.555595: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC2 Mux
         arecord-2541  [003] ...1   218.555598: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> AFC1 Mux
         arecord-2541  [003] ...1   218.555600: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SPDIF1-2 Mux
         arecord-2541  [003] ...1   218.555603: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SPDIF1-1 Mux
         arecord-2541  [003] ...1   218.555605: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-10 Mux
         arecord-2541  [003] ...1   218.555607: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-9 Mux
         arecord-2541  [003] ...1   218.555610: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-8 Mux
         arecord-2541  [003] ...1   218.555612: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-7 Mux
         arecord-2541  [003] ...1   218.555614: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-6 Mux
         arecord-2541  [003] ...1   218.555619: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-5 Mux
         arecord-2541  [003] ...1   218.555622: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-4 Mux
         arecord-2541  [003] ...1   218.555625: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-3 Mux
         arecord-2541  [003] ...1   218.555628: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-2 Mux
         arecord-2541  [003] ...1   218.555631: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> MIXER1-1 Mux
         arecord-2541  [003] ...1   218.555633: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SFC4 Mux
         arecord-2541  [003] ...1   218.555635: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SFC3 Mux
         arecord-2541  [003] ...1   218.555638: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SFC2 Mux
         arecord-2541  [003] ...1   218.555640: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> SFC1 Mux
         arecord-2541  [003] ...1   218.555643: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S5 Mux
         arecord-2541  [003] ...1   218.555645: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S4 Mux
         arecord-2541  [003] ...1   218.555648: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S3 Mux
         arecord-2541  [003] ...1   218.555650: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S2 Mux
         arecord-2541  [003] ...1   218.555653: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> I2S1 Mux
         arecord-2541  [003] ...1   218.555655: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF10 Mux
         arecord-2541  [003] ...1   218.555658: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF9 Mux
         arecord-2541  [003] ...1   218.555661: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF8 Mux
         arecord-2541  [003] ...1   218.555664: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF7 Mux
         arecord-2541  [003] ...1   218.555666: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF6 Mux
         arecord-2541  [003] ...1   218.555669: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF5 Mux
         arecord-2541  [003] ...1   218.555671: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF4 Mux
         arecord-2541  [003] ...1   218.555673: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF3 Mux
         arecord-2541  [003] ...1   218.555676: snd_soc_dapm_path:  I2S1 RX -> I2S1 -> ADMAIF2 Mux
         arecord-2541  [003] ...1   218.555678: snd_soc_dapm_path: *I2S1 RX -> I2S1 -> ADMAIF1 Mux
         arecord-2541  [003] ...1   218.555680: snd_soc_dapm_widget_power: widget=I2S1 RX val=0
         arecord-2541  [003] ...1   218.555688: snd_soc_dapm_path: *I2S1 Receive -> (direct) -> I2S1 RX
         arecord-2541  [003] ...1   218.555690: snd_soc_dapm_widget_power: widget=I2S1 Receive val=0
         arecord-2541  [003] ...1   218.555694: snd_soc_dapm_path: *I2S1 CIF Transmit-I2S1 Receive -> (direct) -> I2S1 Receive
         arecord-2541  [003] ...1   218.555697: snd_soc_dapm_widget_power: widget=I2S1 CIF Transmit-I2S1 Receive val=0
         arecord-2541  [003] ...1   218.555700: snd_soc_dapm_path: *I2S1 CIF Transmit -> (direct) -> I2S1 CIF Transmit-I2S1 Receive
         arecord-2541  [003] ...1   218.555703: snd_soc_dapm_widget_power: widget=I2S1 CIF Transmit val=0
         arecord-2541  [003] ...1   218.555707: snd_soc_dapm_path: *I2S1 CIF TX -> (direct) -> I2S1 CIF Transmit
         arecord-2541  [003] ...1   218.555709: snd_soc_dapm_widget_power: widget=I2S1 CIF TX val=0
         arecord-2541  [003] ...1   218.555712: snd_soc_dapm_path: *I2S1 DAP RX -> (direct) -> I2S1 CIF TX
         arecord-2541  [003] ...1   218.555714: snd_soc_dapm_widget_power: widget=I2S1 DAP RX val=0
         arecord-2541  [003] ...1   218.555717: snd_soc_dapm_path: *I2S1 DAP Receive -> (direct) -> I2S1 DAP RX
         arecord-2541  [003] ...1   218.555720: snd_soc_dapm_widget_power: widget=I2S1 DAP Receive val=0
         arecord-2541  [003] ...1   218.555723: snd_soc_dapm_path: *x AIF1 Capture-I2S1 DAP Receive -> (direct) -> I2S1 DAP Receive
         arecord-2541  [003] ...1   218.555726: snd_soc_dapm_widget_power: widget=x AIF1 Capture-I2S1 DAP Receive val=0
         arecord-2541  [003] ...1   218.555730: snd_soc_dapm_path: *x AIF1 Capture -> (direct) -> x AIF1 Capture-I2S1 DAP Receive
         arecord-2541  [003] ...1   218.555732: snd_soc_dapm_widget_power: widget=x AIF1 Capture val=0
         arecord-2541  [003] ...1   218.555736: snd_soc_dapm_path: *x AIF1TX -> (direct) -> x AIF1 Capture
         arecord-2541  [003] ...1   218.555738: snd_soc_dapm_widget_power: widget=x AIF1TX val=0
         arecord-2541  [003] ...1   218.555742: snd_soc_dapm_path: *x DAI1 TX Mux -> (direct) -> x AIF1TX
         arecord-2541  [003] ...1   218.555744: snd_soc_dapm_widget_power: widget=x DAI1 TX Mux val=0
         arecord-2541  [003] ...1   218.555748: snd_soc_dapm_path:  x IF1 ADC -> 1:2|2:2 -> x DAI2 IF1 Mux
         arecord-2541  [003] ...1   218.555751: snd_soc_dapm_path:  x IF1 ADC -> 1:2|2:1 -> x DAI2 TX Mux
         arecord-2541  [003] ...1   218.555754: snd_soc_dapm_path:  x IF1 ADC -> 1:1|2:1 -> x DAI1 IF1 Mux
         arecord-2541  [003] ...1   218.555756: snd_soc_dapm_path: *x IF1 ADC -> 1:1|2:2 -> x DAI1 TX Mux
         arecord-2541  [003] ...1   218.555758: snd_soc_dapm_widget_power: widget=x IF1 ADC val=0
         arecord-2541  [003] ...1   218.555762: snd_soc_dapm_path: *x IF1 ADC R -> (direct) -> x IF1 ADC
         arecord-2541  [003] ...1   218.555765: snd_soc_dapm_widget_power: widget=x IF1 ADC R val=0
         arecord-2541  [003] ...1   218.555768: snd_soc_dapm_path: *x IF1 ADC L -> (direct) -> x IF1 ADC
         arecord-2541  [003] ...1   218.555770: snd_soc_dapm_widget_power: widget=x IF1 ADC L val=0
         arecord-2541  [003] ...1   218.555776: snd_soc_dapm_widget_power: widget=x I2S1 val=0
         arecord-2541  [003] ...1   218.555780: snd_soc_dapm_path:  x Stereo ADC MIXR -> Stereo ADC Switch -> x DAC MIXR
         arecord-2541  [003] ...1   218.555783: snd_soc_dapm_path: *x Stereo ADC MIXR -> (direct) -> x IF1 ADC R
         arecord-2541  [003] ...1   218.555786: snd_soc_dapm_path: *x Stereo ADC MIXR -> (direct) -> x ANC
         arecord-2541  [003] ...1   218.555789: snd_soc_dapm_widget_power: widget=x Stereo ADC MIXR val=0
         arecord-2541  [003] ...1   218.555794: snd_soc_dapm_path:  x Stereo ADC MIXL -> Stereo ADC Switch -> x DAC MIXL
         arecord-2541  [003] ...1   218.555796: snd_soc_dapm_path: *x Stereo ADC MIXL -> (direct) -> x IF1 ADC L
         arecord-2541  [003] ...1   218.555799: snd_soc_dapm_path: *x Stereo ADC MIXL -> (direct) -> x ANC
         arecord-2541  [003] ...1   218.555802: snd_soc_dapm_widget_power: widget=x Stereo ADC MIXL val=0
         arecord-2541  [003] ...1   218.555807: snd_soc_dapm_widget_power: widget=x Stereo Filter val=0
         arecord-2541  [003] ...1   218.555812: snd_soc_dapm_path: *x Stereo ADC R1 Mux -> ADC1 Switch -> x Stereo ADC MIXR
         arecord-2541  [003] ...1   218.555815: snd_soc_dapm_widget_power: widget=x Stereo ADC R1 Mux val=0
         arecord-2541  [003] ...1   218.555819: snd_soc_dapm_path: *x Stereo ADC L1 Mux -> ADC1 Switch -> x Stereo ADC MIXL
         arecord-2541  [003] ...1   218.555823: snd_soc_dapm_widget_power: widget=x Stereo ADC L1 Mux val=0
         arecord-2541  [003] ...1   218.555828: snd_soc_dapm_path: *x ADC R -> ADCR -> x Mono ADC R1 Mux
         arecord-2541  [003] ...1   218.555831: snd_soc_dapm_path: *x ADC R -> ADC -> x Stereo ADC R1 Mux
         arecord-2541  [003] ...1   218.555833: snd_soc_dapm_widget_power: widget=x ADC R val=0
         arecord-2541  [003] ...1   218.555838: snd_soc_dapm_path: *x ADC L -> ADCL -> x Mono ADC L1 Mux
         arecord-2541  [003] ...1   218.555841: snd_soc_dapm_path: *x ADC L -> ADC -> x Stereo ADC L1 Mux
         arecord-2541  [003] ...1   218.555843: snd_soc_dapm_widget_power: widget=x ADC L val=0
         arecord-2541  [003] ...1   218.555847: snd_soc_dapm_path:  x RECMIXR -> REC MIXR Switch -> x OUT MIXR
         arecord-2541  [003] ...1   218.555851: snd_soc_dapm_path:  x RECMIXR -> REC MIXR Switch -> x SPK MIXR
         arecord-2541  [003] ...1   218.555853: snd_soc_dapm_path: *x RECMIXR -> (direct) -> x ADC R
         arecord-2541  [003] ...1   218.555855: snd_soc_dapm_widget_power: widget=x RECMIXR val=0
         arecord-2541  [003] ...1   218.555861: snd_soc_dapm_path:  x RECMIXL -> REC MIXL Switch -> x OUT MIXL
         arecord-2541  [003] ...1   218.555864: snd_soc_dapm_path:  x RECMIXL -> REC MIXL Switch -> x SPK MIXL
         arecord-2541  [003] ...1   218.555866: snd_soc_dapm_path: *x RECMIXL -> (direct) -> x ADC L
         arecord-2541  [003] ...1   218.555869: snd_soc_dapm_widget_power: widget=x RECMIXL val=0
         arecord-2541  [003] ...1   218.555874: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x SPOR MIX
         arecord-2541  [003] ...1   218.555877: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x SPOL MIX
         arecord-2541  [003] ...1   218.555880: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x OUT MIXR
         arecord-2541  [003] ...1   218.555882: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x OUT MIXL
         arecord-2541  [003] ...1   218.555884: snd_soc_dapm_path: *x BST1 -> BST1 Switch -> x RECMIXR
         arecord-2541  [003] ...1   218.555886: snd_soc_dapm_path: *x BST1 -> BST1 Switch -> x RECMIXL
         arecord-2541  [003] ...1   218.555889: snd_soc_dapm_path:  x BST1 -> BST1 Switch -> x Mono MIX
         arecord-2541  [003] ...1   218.555891: snd_soc_dapm_widget_power: widget=x BST1 val=0
         arecord-2541  [003] ...1   218.555896: snd_soc_dapm_path: *x IN1N -> (direct) -> x BST1
         arecord-2541  [003] ...1   218.555898: snd_soc_dapm_widget_power: widget=x IN1N val=0
         arecord-2541  [003] ...1   218.555901: snd_soc_dapm_path: *x IN1P -> (direct) -> x BST1
         arecord-2541  [003] ...1   218.555903: snd_soc_dapm_widget_power: widget=x IN1P val=0
         arecord-2541  [003] ...1   218.555906: snd_soc_dapm_path: *x Mic -> (direct) -> x IN1N
         arecord-2541  [003] ...1   218.555909: snd_soc_dapm_path: *x Mic -> (direct) -> x IN1P
         arecord-2541  [003] ...1   218.555911: snd_soc_dapm_widget_power: widget=x Mic val=0
         arecord-2541  [003] ...1   218.555917: snd_soc_dapm_widget_power: widget=x LDO2 val=0
         arecord-2541  [003] ...1   218.555922: snd_soc_dapm_widget_power: widget=x MICBIAS1 val=0
         arecord-2541  [003] ...1   218.556137: snd_soc_dapm_walk_done: tegra-snd-t186ref-mobile-rt565x: checks 37 power, 30 path, 138 neighbour
root@tegra-ubuntu:~#

please help to check routing path or other issue.
if i missing some information or message please tell me.

Hi Elma,

At first glance the audio route seems to be OK, but it appears to stop recording after ~3 secs instead of 10 secs. Do you see any error messages when you try to record? What is the size of the ‘cap.wav’ after arecord terminates?

Regards,
Jon

Hi Jon

thanks for your reply.

i want to debug faster so in the #26(debug console message) my command change to 3 secs to do the capture.

Hi Elma,

OK, how big is the cap.wav file?

Regards,
Jon

hi Jon

the cap.wav size as bwlow

nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$ ./elma
numid=938,iface=MIXER,name='x LOUT MIX DAC L1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=939,iface=MIXER,name='x LOUT MIX DAC R1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=940,iface=MIXER,name='x LOUT MIX OUTVOL L Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=941,iface=MIXER,name='x LOUT MIX OUTVOL R Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=888,iface=MIXER,name='x RECMIXR BST1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=882,iface=MIXER,name='x RECMIXL BST1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=898,iface=MIXER,name='x Stereo ADC MIXR ADC1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=896,iface=MIXER,name='x Stereo ADC MIXL ADC1 Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$ arecord -D hw:1,0 -r 44100 -f S16_LE -c 2 -d 3 cap.wav
Recording WAVE 'cap.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$ ls -la cap.wav
-rw-r--r-- 1 nvidia nvidia 529244 Jun  6 09:58 cap.wav
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$

the MICBIAS1 is correct but i can’t see any voice signal from IN1

Hi Elma,

So it appears to be capturing data and the size makes sense …

(sample-rate * num-channels * bytes-per-sample * duration) + 44 = (44100 * 2 * 2 * 3) + 44 = 529244

Where 44 bytes is the WAV header size.

So now you need to look closer at the codec to see if there is a mute or volume setting that needs adjusting.

Regards,
Jon

Hi jon

i am study datasheet now.

but i have other question.
i can’t control audio volume from GUI, i only can do the test sound item.

why the rt5640 can’t use GUI to control?

Hi Elma,

If you open a terminal in the desktop and execute …

$ pactl list short

You should see a something call ‘alsa_output.platform-sound.analog-stereo’. If this is not listed then the sound card will not be seen by pulseaudio. If that is present check that …

ls -l /etc/asound.conf
lrwxrwxrwx 1 root root 32 Jun 13 10:11 /etc/asound.conf -> /etc/asound.conf.tegrasndt186ref

If the above looks good, then ‘aplay’ should use ‘hw:1,0’ and you should be able to play a file by …

aplay <wav-file>

If the above all works, then pulseaudio should be able to control the volume via the GUI. Or you can use the command line to set the volume by …

pacmd set-sink-volume alsa_output.platform-sound.analog-stereo <volume>

Regards,
Jon

Hi Jon

this is my console message , after i setting the voice but still not change.

nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$ pactl list short
0       module-device-restore
1       module-stream-restore
2       module-card-restore
3       module-augment-properties
4       module-switch-on-port-available
5       module-udev-detect
6       module-alsa-card        device_id="0" name="platform-3510000.hda" card_name="alsa_card.platform-3510000.hda" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
7       module-alsa-card        device_id="1" name="platform-sound" card_name="alsa_card.platform-sound" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
8       module-native-protocol-unix
9       module-default-device-restore
10      module-rescue-streams
11      module-always-sink
12      module-intended-roles
13      module-suspend-on-idle
14      module-systemd-login
15      module-position-event-sounds
16      module-filter-heuristics
17      module-filter-apply
19      module-x11-publish      display=:0
20      module-x11-bell display=:0 sample=bell.ogg
21      module-x11-cork-request display=:0
22      module-x11-xsmp display=:0 session_manager=local/tegra-ubuntu:@/tmp/.ICE-unix/1462,unix/tegra-ubuntu:/tmp/.ICE-unix/1462
0       alsa_output.platform-3510000.hda.hdmi-stereo-extra1     module-alsa-card.c      s16le 2ch 44100Hz       SUSPENDED
1       alsa_output.platform-sound.analog-stereo        module-alsa-card.c      s16le 2ch 44100Hz       SUSPENDED
0       alsa_output.platform-3510000.hda.hdmi-stereo-extra1.monitor     module-alsa-card.c      s16le 2ch 44100Hz       SUSPENDED
1       alsa_output.platform-sound.analog-stereo.monitor        module-alsa-card.c      s16le 2ch 44100Hz       SUSPENDED
2       alsa_input.platform-sound.analog-stereo module-alsa-card.c      s16le 2ch 44100Hz       SUSPENDED
0       module-systemd-login.c  (null)
1       module-systemd-login.c  (null)
2       protocol-native.c       indicator-sound-service
3       protocol-native.c       indicator-sound-service
8       module-x11-xsmp.c       (null)
9       protocol-native.c       unity-settings-daemon
10      module-systemd-login.c  (null)
12      protocol-native.c       pactl
0       alsa_card.platform-3510000.hda  module-alsa-card.c
1       alsa_card.platform-sound        module-alsa-card.c
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$ ls -l /etc/asound.conf
lrwxrwxrwx 1 root root 32 Jun 14 07:10 /etc/asound.conf -> /etc/asound.conf.tegrasndt186ref
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$ pacmd set-sink-volume alsa_output.platform-sound.analog-stereo 90
nvidia@tegra-ubuntu:~$
nvidia@tegra-ubuntu:~$ aplay -D hw:1,0 test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
^CAborted by signal Interrupt...
nvidia@tegra-ubuntu:~$

nvidia TX1 R28.2 default structure is use rt5640 or still use rt5658 ?

Hi Elma,

Please try …

aplay test.wav

Jon

Hi Jon

i buy the SPH0645 module and test it.

now i am use normal R28.2 to test.

i followed this topic
https://devtalk.nvidia.com/default/topic/1032970/jetson-tx2/i2s-mic-with-tx2/

but i can’t use this module on my EVB, and i check the spec

is this module clock is different between tx2 or my EVB have something wrong??

i connect on J21
3.3V - pin 1
GND - pin 39
BCLK - pin 12
DOUT - pin 38
LRCL - pin 35

Hi Elma,

I am not sure what you mean in the above. What do you mean by ‘EVB’? Is this your TX2 or something else?

Sorry, I am not sure I understand. The other user was able to get this working fine with the TX2.

This looks fine to me. Do you have an oscilloscope? If you do you should check that you see the bit-clock and frame-sync signals toggling after you execute ‘arecord’.

Jon