You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]DMIC/ Headset will capture empty sound after turn down volume to zero then turn it up. #2438
Describe the bug
System boot up or wake up from s3, then do arecord via DMIC / Headset. Turn down the capture volume to zero then turn it up, DMIC/Headset will capture empty sound.
To Reproduce
Boot up system
Terminal 1: 'arecord -Dhw:0,4 -f dat 1.wav -vv -i'
Terminal 2: 'alsamixer', then turn down the PGA5.0 5 volume till zero then turn it up.
Reproduced rate
4/5
Expected result
DMIC capture normally.
Actual result
DMIC capture empty sound after turn up input volume from zero.
Error not seen when using tplg without PR #2431, and same cml-010-drop-stable commit: 5e5f69e FW.
Error not seen when using tplg with PR #2431 , but using Master branch FW, commit a6726cf.
PR #2431 is to enable MIC mute LED in topology for CML-U SDW laptop. @libinyang Could you comment on this PR?
The PR add 2 "switch" controls in the tplg, one is for headset MIC, the other is for DMIC. User can use the "switch" controls to mute the capture pipeline (the volume pipeline with 'switch' support). The driver need the switch control because the driver need the 'switch' controls to support MIC LED.
changed the title [-][BUG][BUG][UCM]DMIC will capture empty sound after turn down volume to zero then turn it up.[/-][+][BUG]DMIC will capture empty sound after turn down volume to zero then turn it up.[/+]on Feb 26, 2020
changed the title [-][BUG]DMIC will capture empty sound after turn down volume to zero then turn it up.[/-][+][BUG]DMIC/ Headset will capture empty sound after turn down volume to zero then turn it up.[/+]on Feb 27, 2020
Activity
ClarexZhou commentedon Feb 26, 2020
Error not seen when using tplg without PR #2431, and same cml-010-drop-stable commit: 5e5f69e FW.
Error not seen when using tplg with PR #2431 , but using Master branch FW, commit a6726cf.
PR #2431 is to enable MIC mute LED in topology for CML-U SDW laptop.
@libinyang Could you comment on this PR?
libinyang commentedon Feb 26, 2020
The PR add 2 "switch" controls in the tplg, one is for headset MIC, the other is for DMIC. User can use the "switch" controls to mute the capture pipeline (the volume pipeline with 'switch' support). The driver need the switch control because the driver need the 'switch' controls to support MIC LED.
[-][BUG][BUG][UCM]DMIC will capture empty sound after turn down volume to zero then turn it up.[/-][+][BUG]DMIC will capture empty sound after turn down volume to zero then turn it up.[/+]juimonen commentedon Feb 26, 2020
so we have couple of patches in master that will probably affect this:
related PR's
#2196
62dbfcf
#2109
e525c17
901a963
dcf722f
9d4ca10
so we should try out these on top of the 010-drop-stable
juimonen commentedon Feb 26, 2020
#2441
@ClarexZhou can you try if above PR helps?
lgirdwood commentedon Feb 26, 2020
@ClarexZhou does this bug occur in master ?
lgirdwood commentedon Feb 26, 2020
@singalsu any comments ?
ClarexZhou commentedon Feb 27, 2020
Error not occurred in master
ClarexZhou commentedon Feb 27, 2020
ClarexZhou commentedon Feb 27, 2020
Error also can be reproduced via rt711 headset capture.
Following below steps:
3 Terminal 2: 'alsamixer', then turn down the PGA2.0 2 volume till zero then turn it up.
[-][BUG]DMIC will capture empty sound after turn down volume to zero then turn it up.[/-][+][BUG]DMIC/ Headset will capture empty sound after turn down volume to zero then turn it up.[/+]juimonen commentedon Feb 27, 2020
@ClarexZhou can you just try the PR 2441 itself? it is on top of 010-drop-stable already...
libinyang commentedon Feb 27, 2020
agree with Jaska, especially for 62dbfcf. The description is very similar with our issue.
ClarexZhou commentedon Feb 27, 2020
Error not seen with PR #2441 on cml-010-drop-stable
ClarexZhou commentedon Feb 28, 2020
Error is fixed on cml-010-hot-fix branch. Close