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
Dell Latitude machine audio can't work -> Internal Mic Recording volume is low #2544
I am checking the audio function with the latest sof-dev kernel which is based on 5.10-rc1. It seems the codec can't probe successfully.
Oct 30 04:04:17 ANDW-DVT1-C1 kernel: soundwire sdw:3:25d:714:1: Probe not complete, timed out
Oct 30 04:04:17 ANDW-DVT1-C1 kernel: soundwire sdw-master-3: Update Slave status failed:-110
Oct 30 04:04:17 ANDW-DVT1-C1 kernel: soundwire sdw:2:25d:1316:1: Probe not complete, timed out
Oct 30 04:04:17 ANDW-DVT1-C1 kernel: soundwire sdw-master-2: Update Slave status failed:-110
Oct 30 04:04:17 ANDW-DVT1-C1 kernel: soundwire sdw:0:25d:711:1: Probe not complete, timed out
Oct 30 04:04:17 ANDW-DVT1-C1 kernel: soundwire sdw-master-0: Update Slave status failed:-110
Oct 30 04:04:17 ANDW-DVT1-C1 kernel: soundwire sdw:1:25d:1316:1: Probe not complete, timed out
Oct 30 04:04:17 ANDW-DVT1-C1 kernel: soundwire sdw-master-1: Update Slave status failed:-110
Thanks for your reply, indeed, the config is not enabled.
After enable the config, found this error.
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 4
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 5
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 6
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 7
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 8
When I try to run BootSequence by "alsaucm set _boot """, I get the error.
ALSA lib utils.c:335:(uc_mgr_config_load) could not open configuration file /usr/share/alsa/ucm2//sof-soundwire/rt1316-4.conf
ALSA lib parser.c:95:(uc_mgr_config_load_file) error: failed to open file /usr/share/alsa/ucm2//sof-soundwire/rt1316-4.conf : -2
ALSA lib main.c:983:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
alsaucm: error failed to open sound card hw:0: No such file or directory
it seems the initial config file doesn't exist in /usr/share/alsa/ucm2, should I open a bug to alsa-ucm-config repo?
Libin will submit SDCA UCM files to upstream once it is finalized (need #2615 merged in upstream).
@keyonjie#2615 is not for SDCA codec. I didn't submit the SDCA UCM patches because I'm waiting @GoPerry 's answer whether we will have similar change in SDCA driver. @GoPerry Could you confirm?
Libin will submit SDCA UCM files to upstream once it is finalized (need #2615 merged in upstream).
@keyonjie#2615 is not for SDCA codec. I didn't submit the SDCA UCM patches because I'm waiting @GoPerry 's answer whether we will have similar change in SDCA driver. @GoPerry Could you confirm?
Hi @libinyang
The rt715 sdca driver use "FU02 Capture Switch" for local mic mute/unmute operation.
I have the same micmute led code for sdca and non sdca rt715 driver.
Libin will submit SDCA UCM files to upstream once it is finalized (need #2615 merged in upstream).
@keyonjie#2615 is not for SDCA codec. I didn't submit the SDCA UCM patches because I'm waiting @GoPerry 's answer whether we will have similar change in SDCA driver. @GoPerry Could you confirm?
Hi @libinyang
The rt715 sdca driver use "FU02 Capture Switch" for local mic mute/unmute operation.
I have the same micmute led code for sdca and non sdca rt715 driver.
Jaroslav doesn't like our current codec driver solution. After discussing with Realtek, they will update the codec driver and I will update the UCM correspondingly.
Activity
[-]Dell Latitude 9420 audio can't work[/-][+]Dell Latitude machine audio can't work[/+]plbossart commentedon Oct 30, 2020
@KaiChuan-Hsieh did you change the Kconfig to enable those codecs? You need
CONFIG_SND_SOC_RT711_SDCA_SDW=m
CONFIG_SND_SOC_RT1316_SDW=m
CONFIG_SND_SOC_RT715_SDCA_SDW=m
KaiChuan-Hsieh commentedon Oct 31, 2020
@plbossart
Thanks for your reply, indeed, the config is not enabled.
After enable the config, found this error.
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 4
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 5
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 6
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 7
Oct 31 00:46:36 ANDW-DVT1-C1 kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 8
Do you have other clue what might be wrong?
Here is the full log
sof-dev-HDMI-converter.logOct 31 00:46:36
KaiChuan-Hsieh commentedon Nov 2, 2020
When I try to run BootSequence by "alsaucm set _boot """, I get the error.
ALSA lib utils.c:335:(uc_mgr_config_load) could not open configuration file /usr/share/alsa/ucm2//sof-soundwire/rt1316-4.conf
ALSA lib parser.c:95:(uc_mgr_config_load_file) error: failed to open file /usr/share/alsa/ucm2//sof-soundwire/rt1316-4.conf : -2
ALSA lib main.c:983:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
alsaucm: error failed to open sound card hw:0: No such file or directory
it seems the initial config file doesn't exist in /usr/share/alsa/ucm2, should I open a bug to alsa-ucm-config repo?
libinyang commentedon Nov 2, 2020
@KaiChuan-Hsieh Please try the ucm: thesofproject/alsa-ucm-conf#45
KaiChuan-Hsieh commentedon Nov 2, 2020
Hello,
After applying config thesofproject/alsa-ucm-conf#45, here is the test result
But the internal mic volume is a bit low even tough I enlarge the volume.
Thanks,
27 remaining items
keyonjie commentedon Dec 16, 2020
Thanks for clarification @plbossart , I have 0 knowledge about SDW and SDCA.
So we need to wait for the acceptance of #2615 and then upstream the UCM file, before we can close this issue here, right?
libinyang commentedon Dec 17, 2020
@keyonjie #2615 is not for SDCA codec. I didn't submit the SDCA UCM patches because I'm waiting @GoPerry 's answer whether we will have similar change in SDCA driver. @GoPerry Could you confirm?
GoPerry commentedon Dec 24, 2020
Hi @libinyang
The rt715 sdca driver use "FU02 Capture Switch" for local mic mute/unmute operation.
I have the same micmute led code for sdca and non sdca rt715 driver.
'
RT715_SDCA_FU_CTRL("FU02 Capture Switch",
SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SDCA_FU_ADC8_9_VOL,
RT715_SDCA_FU_MUTE_CTRL, CH_01),
SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SDCA_FU_ADC8_9_VOL,
RT715_SDCA_FU_MUTE_CTRL, CH_02),
0, 1, 1),
'
UCM for rt715 sdca ,I guess we can duplicate like this.
'
SectionDevice."Mic" {
Comment "SoundWire microphones"
}
'
ucm2: sof-soundwire - add support for new main capture switch and mai…
libinyang commentedon Dec 28, 2020
@GoPerry On my platform, it shows "RT714 FU02 Capture Switch/Volume". Have we updated the sdca codec driver?
mengdonglin commentedon Jan 4, 2021
Ongoing upstream discussion about 'ASoC: rt715: add main capture switch and main capture volume control'
https://mailman.alsa-project.org/pipermail/alsa-devel/2020-December/178306.html
mengdonglin commentedon Jan 11, 2021
Upstreaming of UCM for TGL-U device with SDCA codecs is in progress: alsa-project/alsa-ucm-conf#71 by @libinyang
libinyang commentedon Jan 25, 2021
Jaroslav doesn't like our current codec driver solution. After discussing with Realtek, they will update the codec driver and I will update the UCM correspondingly.
KaiChuan-Hsieh commentedon Mar 16, 2021
@jack-cy-yu
Hello,
May I know if jack-cy-yu@6759435 is ready?
I'd like to validate alsa-project/alsa-ucm-conf#71 (comment), it seems it has dependency of your change.
Thanks,
jack-cy-yu commentedon Mar 16, 2021
@KaiChuan-Hsieh
The patch has been submitted to upstream for review, please refer
https://patchwork.kernel.org/project/alsa-devel/patch/a35835bae45f4f468dab8ad0df5ece10@realtek.com/
bardliao commentedon May 7, 2021
@KaiChuan-Hsieh Is this issue solved? Can we close this issue?
KaiChuan-Hsieh commentedon May 7, 2021
@bardliao yes, the issue is solved. Thanks for all of you kindly support.