当前位置: 代码迷 >> 综合 >> Qualcomm ASOC_Speaker 修改mixer_paths_qrd_sku3.xml调试记录
  详细解决方案

Qualcomm ASOC_Speaker 修改mixer_paths_qrd_sku3.xml调试记录

热度:40   发布时间:2024-01-13 21:52:30.0

1、tinymix log 检索

    MI2S_RX Channels|RX1 MIX1 INP1|RX2 MIX1 INP1|RDAC2 MUX|HPHL|HPHR|Ext Spk Switch


2、XML文件配置

2.1 从耳机双声道路径经过的Speaker及其对应的原理图


b4ef2d4be07afcfce1cb5f6e535814ff.png

 

    <path name="speaker">
         <ctl name="MI2S_RX Channels" value="Two" />
         <ctl name="RX1 MIX1 INP1" value="RX1" />
         <ctl name="RX2 MIX1 INP1" value="RX2" />
         <ctl name="RDAC2 MUX" value="RX2" />
         <ctl name="HPHL" value="Switch" />
         <ctl name="HPHR" value="Switch" />
         <ctl name="Ext Spk Switch" value="On" />
    </path>

2.2 从耳机单声道路径经过的Speaker及其对应的原理图

 

    <path name="speaker">
        <ctl name="MI2S_RX Channels" value="One" />
        <ctl name="RX2 MIX1 INP1" value="RX1" />
        <ctl name="RDAC2 MUX" value="RX2" />
        <ctl name="HPHR" value="Switch" />
        <ctl name="Ext Spk Switch" value="On" />
    </path>

2.3从模块路径直接连接的Speaker及其对应的原理图


 

    <path name="speaker">
        <ctl name="RX3 MIX1 INP1" value="RX1" />
        <ctl name="SPK DAC Switch" value="1" />
    </path>

3、tinymix调试命令

3.1从耳机双声道路径经过的Speaker

    tinymix "MI2S_RX Channels" "Two"
    tinymix "RX1 MIX1 INP1" "RX1"
    tinymix "RX2 MIX1 INP1" "RX2"
    tinymix "RDAC2 MUX" "RX2"
    tinymix "HPHL" "Switch"
    tinymix "HPHR" "Switch"
    tinymix "Ext Spk Switch" "On"

3.2 从耳机单声道路径经过的Speaker

    tinymix "MI2S_RX Channels" "One"
    tinymix "RX1 MIX1 INP1" "RX1"
    tinymix "RDAC2 MUX" "RX2"
    tinymix "HPHR" "Switch"
    tinymix "Ext Spk Switch" "On"

3.3从模块路径直接连接的Speaker

    tinymix "RX3 MIX1 INP1" "RX1" 
    tinymix "SPK DAC Switch" "1"