Thor开发套件通过J511连接器连接耳麦,耳机声音正常麦克没声

软件配置:Jetpack7.1官方BSP和SRF文件
硬件配置:Jetson Thor 开发套件 P4701 J511连接器
我们使用Thor开发套件P4701,烧录官方Jetpack7.1的系统,通过J511连接器连接耳麦,耳机声音正常麦克没声

This seems not our produce version, where do you get that device?

我说错了,是P4071的开发套件

Could you refer to 把扬声器连接到thor的耳机接口后无法播放声音 - Jetson Systems / Jetson Thor - NVIDIA Developer Forums to see if can help.

我查看了您分享的内容,但是我们的问题是麦克录音没有声,耳机播放声音正常

Hi,

Since playback is working, the basic RT5640 playback path seems fine. For capture, could you please try the below checks to isolate whether the issue is from the external HW input path or from codec/mixer routing?

  1. Please try an external loopback test first by connecting audio output to audio input externally and then run playback + capture. This will help confirm whether the headphone HW input connection path is correct.

  2. Please also try RT5640 internal loopback. For internal loopback, please override the external capture path and route the output mixer back to the record mixer:

amixer -qc APE cset name="CVB-RT RECMIXL BST1 Switch" "off"
amixer -qc APE cset name="CVB-RT RECMIXR BST1 Switch" "off"
amixer -qc APE cset name="CVB-RT RECMIXL BST2 Switch" "off"
amixer -qc APE cset name="CVB-RT RECMIXR BST2 Switch" "off"
amixer -qc APE cset name="CVB-RT RECMIXL OUT MIXL Switch" "on"
amixer -qc APE cset name="CVB-RT RECMIXR OUT MIXR Switch" "on"
amixer -qc APE cset name="CVB-RT OUT MIXL DAC L1 Switch" "on"
amixer -qc APE cset name="CVB-RT OUT MIXR DAC R1 Switch" "on"

If the below controls are present, please set these also:

amixer -qc APE cset name="CVB-RT OUT MIXL DAC L2 Switch" "on"
amixer -qc APE cset name="CVB-RT OUT MIXR DAC R2 Switch" "on"

Then run playback and capture together and make sure GUI is off, for example:

aplay -D hw:APE,0 input.wav &
arecord -D hw:APE,0 -r 48000 -c 2 -f S16_LE -d 10 cap.wav

Please check whether cap.wav contains the played audio.

  1. If it still does not work, please share the following logs:
    amixer -c APE contents > settings.txt
    dmesg > kernel_log.txt
    Also please share the DAPM route/status during capture, and confirm whether you are testing capture from GUI/PipeWire or directly from command line with arecord.