No sound with capturing with headset_mic (android mode)

Dear All,

after read 410c audio document (lm80-p0436-43_Stereo_Connector_and_Audio_Routing_on_DragonBoard_410c_Application_Note.pdf),

i rework headset connect to J7,
and run following commands to capture by headset_mic
i got no sound after play recorded file (cap_test.wav)
could anyone give me suggestions for headset_mic issue(no sound)?
=>
tinymix ‘DEC1 MUX’ ‘ADC2’
tinymix ‘ADC2 MUX’ ‘INP2’
tinymix ‘ADC2 Volume’ 8
tinymix ‘MultiMedia1 Mixer TERT_MI2S_TX’ 1
tinycap /sdcard/cap_test.wav -r 44100 -b 16

ps : my android code base is repo_sync by following command
repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.BR.1.2.7-01010-8x16.0.xml --repo-url=git://codeaurora.org/tools/repo.git

Sorry not answering your question, but pls use the audio mezzanine, it’s 5 dollars. Avoid the soldering…

I agree, you really should use the Audio Mezzanine card, it is much easier to get the wiring correct. The App Note was written before the Audio Mezzanine became available.

However if you have hand wired the headset jack, the one thing I would look out for is the Headset Switch. Depending on the jack you have selected, there are a bunch of different possible switch wirings inside the jack. Some are normally open, and some are normally closed, additionally some connect to the tip, and others connect to one of the barrel rings. Make sure the jack you selected matches the one in the app note.

Full disclosure, I am an employee of Qualcomm Canada, any opinions I may have expressed in this or any other post may not reflect the opinions of my employer.

Dear ljking,

i will check my audio jack type first.

your headset_mic recording function is good under 410c_board + audio mezzanine + android( LA.BR.1.2.7-01010-8x16.0.xml )?

i plan to order “audio mezzanine”,
but it will take 3 weeks or more to receive it

Hi Segabug

Is Mic sound capture work in other OS (e.g. Debian, …) or not?
If it can work in other OS, it may not HW soldering issue.

Alan

Hi Segabug

Is Mic sound capture work in other OS (e.g. Debian, …) or not?
If it can work in other OS, it may not HW soldering issue.

Alan

under same 410c + hand_wired_audio_jack,
it could record sound well over headset_mic with folllowing Debian command
=>
amixer -c 0 cset iface=MIXER,name=‘DEC1 MUX’ ‘ADC2’
amixer -c 0 cset iface=MIXER,name=‘ADC2 Volume’ 100
amixer -c 0 cset iface=MIXER,name=‘ADC2 MUX’ ‘INP2’
arecord -c 2 -D plughw:0,2 -r 16000 -f S16_LE /tmp/f-16000.wav

Dear ljking

Headset mic working under Debian according to Degabug’s comment.
If so, is there a possible issue related to jack normal open or closed??
Debian / android audio driver look quiet differences…

Alan

combine 410c + audio_mezzanine_card
i re-test folowing items
all items work under android mode~

  1. speaker playback
  2. headphone playback
  3. headset_mic reocord
  4. amic3 record

1 Like

Hi @segabug

Thank you for validating the instructions in the App Note.

Full disclosure, I am an employee of Qualcomm Canada, any opinions I may have expressed in this or any other post may not reflect the opinions of my employer.

Great!!! good work… :smiley: