TK1 microphone issue

Everyone:

I have problem about TK1 microphone.
Who can help me to solve this issue?

  1. When I plug the microphone in the TK1, the microphone is not working.
  2. When I try to adjust the volume of the device, it is still not working.
  3. I use this code to make the microphone works as below:

amixer cset name=“Stereo ADC MIXL ADC2 Switch” 0
amixer cset name=“Stereo ADC MIXR ADC2 Switch” 0
amixer cset name=“Int Mic Switch” 0
amixer cset name=“ADC Capture Switch” 1
amixer cset name=“RECMIXL BST1 Switch” 0
amixer cset name=“RECMIXR BST1 Switch” 0
amixer cset name=“RECMIXL BST2 Switch” 1
amixer cset name=“RECMIXR BST2 Switch” 1
amixer cset name=“Stereo ADC L1 Mux” “ADC”
amixer cset name=“Stereo ADC R1 Mux” “ADC”
amixer cset name=“Stereo ADC MIXL ADC1 Switch” 1
amixer cset name=“Stereo ADC MIXR ADC1 Switch” 1
amixer cset name=“Stereo ADC MIXL ADC2 Switch” 0
amixer cset name=“Stereo ADC MIXR ADC2 Switch” 0
amixer cset name=“IN1 Mode Control” “Single ended”
amixer cset name=“IN2 Mode Control” “Single ended”
amixer cset name=“Mic Jack Switch” 1

This code is working but as I use the microphone during testing, it suddenly stopped working.
I try to restart the machine, then it works again, then it stops as I continue to use it or during idle time.

What command do you use for testing?

arecord -d 10 /home/test-mic.wav

The “-d 10” instructs arecord to record for 10 seconds and to then stop. For arecord to always record (to infinity time span) use “0” instead of “10”. If this fails, you can then switch the “cset” for “cget” and see what changed…the initial cset you showed is correct. So to display for comparing against the cset:

amixer cget name="Stereo ADC MIXL ADC2 Switch"
amixer cget name="Stereo ADC MIXR ADC2 Switch"
amixer cget name="Int Mic Switch"
amixer cget name="ADC Capture Switch"
amixer cget name="RECMIXL BST1 Switch"
amixer cget name="RECMIXR BST1 Switch"
amixer cget name="RECMIXL BST2 Switch"
amixer cget name="RECMIXR BST2 Switch"
amixer cget name="Stereo ADC L1 Mux"
amixer cget name="Stereo ADC R1 Mux"
amixer cget name="Stereo ADC MIXL AD1 Switch"
amixer cget name="Stereo ADC MIXR ADC1 Switch"
amixer cget name="Stereo ADC MIXL ADC2 Switch"
amixer cget name="Stereo ADC MIXR ADC2 Switch"
amixer cget name="IN1 Mode Control"
amixer cget name="IN2 Mode Control"
amixer cget name="Mic Jack Switch"

It’s working, thank you so much
This issue is fixed.