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][JSL] DMIC48kHz no volume control in alsamixer #3259
Topology:sof-jsl-da7219-mx98360a.tplg
Name of the platform(s) on which the bug is observed.
Platform: JSL Chromebook with codec da7219max98360a in i2s mode
@yongzhi1 Yes, you can. It is removed as we used to use VOL comp for format conversation. Later we have some update to let DAI to have format conversation, so we remove the VOL in KWD pipeline by default.
As we have request for volume change in KWD pipeline, I have re-add those feature. Please take reference in this PR #2405
You only need to change define(KFBM_TYPE, kfbm')to define(KFBM_TYPE, vol-kfbm') if you think VOL comp is needed.
Activity
mengdonglin commentedon Jul 30, 2020
@yongzhi1 Can you please check if this volume control is needed for JSL Chromebook? If yes, please help add volume control into topology.
udaymb commentedon Jul 30, 2020
On JSL chrome waddledoo, mic is seen
alsamixer -c 0

capture tab screen shot - mic is seen
amixer -c 0 command response
amixer-card0.log
SOF: https://github.com/thesofproject/sof/tree/releases/jsl/v4.0-rc1(21c8900f)
Kernel: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/heads/chromeos-5.4
yongzhi1 commentedon Jul 30, 2020
Hi @xiulipan
Is passthrough capture used here for a special purpose? can we change it to volume?
https://github.com/thesofproject/sof/blob/master/tools/topology/platform/intel/intel-generic-dmic-kwd.m4#L54
xiulipan commentedon Jul 31, 2020
@yongzhi1 Yes, you can. It is removed as we used to use VOL comp for format conversation. Later we have some update to let DAI to have format conversation, so we remove the VOL in KWD pipeline by default.
As we have request for volume change in KWD pipeline, I have re-add those feature. Please take reference in this PR #2405
You only need to change
define(KFBM_TYPE,kfbm')todefine(KFBM_TYPE,vol-kfbm')if you think VOL comp is needed.yongzhi1 commentedon Jul 31, 2020
Hi, @xiulipan
Added a make option for DMIC01 in the same spirit:
#3266
yongzhi1 commentedon Aug 3, 2020
Hi, @mengdonglin and @Liviali155, with #3266 and -DDMICPROC=eq-iir-volume option, we can add the following volume control:
localhost ~ # amixer -c0 cget name='Dmic0 Capture Volume'
numid=91,iface=MIXER,name='Dmic0 Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=70,step=0
: values=50,50
| dBscale-min=-50.00dB,step=1.00dB,mute=1
From review comments of #3266, Google prefers pass-through w/o reprocessing, can we close the issue?
mengdonglin commentedon Aug 4, 2020
Close this issue, as the test result is aligned with customer request.