Skip to content

[BUG] Acer Aspire A515-56 internal mic not working #2764

Closed

Description

@jarek556

Describe the bug
Acer Aspire 5 A515-56 internal microphone not working (silence). DMIC is detected, gain control and mute are available, but there is no sound.

To Reproduce
Open pavucontrol, select input: no mic activity. The same in gnome settings audio.

Reproduction Rate
100%

Expected behavior
Working mic

Impact
Impossible to use recording and voice communication

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: SMP Debian 5.9.6-1~bpo10+1
    • SOF: v1.6.1 (2020-12-23)
  2. Name of the topology file
    • Topology: intel/sof-tplg/sof-hda-generic-2ch.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: {ALC255}

dmesg

[    3.255741] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.255744] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    3.463781] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.463788] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    3.463804] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.464262] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    3.464472] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.493452] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    3.553187] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    3.553189] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    3.553192] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    3.553958] sof-audio-pci 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-tgl.ri
[    3.641456] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:6:1-53680
[    3.641457] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:17:0 Kernel ABI 3:16:0
[    3.641458] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    3.641816] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 3 size 0x1c
[    3.641828] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 4 size 0x10
[    3.675746] sof-audio-pci 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
[    3.675756] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:17:0 Kernel ABI 3:16:0
[    3.675757] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
[    3.675760] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[    3.676686] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[    3.676688] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[    3.677833] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[    3.677837] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[    3.678713] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[    3.678716] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[    3.679860] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[    3.679863] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[    3.679867] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[    3.679870] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[    3.679873] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[    3.679876] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[    3.680774] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[    3.680776] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[    3.681676] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[    3.681679] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[    3.682651] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[    3.691161] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[    3.716347] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.716350] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.716351] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.716352] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    3.716353] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    3.760985] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    3.760990] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[    3.777724] input: sof-hda-dsp Front Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input17
[    3.777784] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input18
[    3.777808] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input19
[    3.777868] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input20

arecord -l

**** List of CAPTURE Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

**amixer **

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 85 [98%] [-1.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Dmic0',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 70
  Front Left: Capture 50 [71%] [0.00dB] [on]
  Front Right: Capture 50 [71%] [0.00dB] [on]
Simple mixer control 'Dmic1 2nd',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 70
  Front Left: Capture 50 [71%] [0.00dB]
  Front Right: Capture 50 [71%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'PGA1.0 1 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA2.0 2 Master',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 50 [62%] [0.00dB]
  Front Right: Capture 50 [62%] [0.00dB]
Simple mixer control 'PGA3.0 3 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA4.0 4 Master',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 50 [62%] [0.00dB]
  Front Right: Capture 50 [62%] [0.00dB]
Simple mixer control 'PGA7.0 7 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA8.0 8 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA9.0 9 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]

┌─────────────────────────────────────────────────────────────────────────── AlsaMixer v1.1.8 ───────────────────────────────────────────────────────────────────────────┐
│ Card: sof-hda-dsp                                                                                                                              F1:  Help               │
│ Chip: Realtek ALC255                                                                                                                           F2:  System information │
│ View: F3: Playback  F4:[Capture] F5: All                                                                                                       F6:  Select sound card  │
│ Item: Dmic0 [dB gain: 0,00, 0,00]                                                                                                              Esc: Exit               │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                        ┌──┐             ┌──┐             ┌──┐             ┌──┐                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │  │             │  │             │  │             │  │                                                         │
│                                                        │▒▒│             │▒▒│             │  │             │  │                                                         │
│                                                        │▒▒│             │▒▒│             │  │             │  │                                                         │
│                                                        │▒▒│             │▒▒│             │  │             │  │                                                         │
│                                                        │▒▒│             │▒▒│             │▒▒│             │▒▒│                                                         │
│                                                        │▒▒│             │▒▒│             │▒▒│             │▒▒│                                                         │
│                                                        │▒▒│             │▒▒│             │▒▒│             │▒▒│                                                         │
│                                                        │▒▒│             │▒▒│             │▒▒│             │▒▒│                                                         │
│                                                        │▒▒│             │▒▒│             │▒▒│             │▒▒│                                                         │
│                                                        │▒▒│             │▒▒│             │▒▒│             │▒▒│                                                         │
│                                                        │▒▒│             │▒▒│             │▒▒│             │▒▒│                                                         │
│                                                       L└──┘R            └──┘             └──┘             └──┘                                                         │
│                                                      CAPTURE                                                                                                           │
│                                                       46<>46           46<>46           32<>32           32<>32                                                        │
│                                                 <     Dmic0      >   Dmic1 2nd     PGA2.0 2 Master  PGA4.0 4 Master                                                    │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
│                                                                                                                                                                        │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Activity

  1. lgirdwood commented on Jan 4, 2021

    @lgirdwood
    Member

    @jarek556 can you confirm if this worked with older FW and kernel ? Can you also confirm if the capture WAV file is all 0s (except for the header).
    @juimonen @singalsu any comments here ?

  2. singalsu commented on Jan 5, 2021

    @singalsu
    Collaborator

    Could you please test with sof-hda-generic-4ch.tplg, just copy it over 2ch file (make backup copy of it first), and reboot. The capture with 4ch configuration needs to be four channels, e.g. "arecord -Dhw:0,6 -f dat -c 4 -d 10 rec.wav". Also check with amixer that the Dmic0 volume is 0 dB (or more gain) and unmuted. There's another similar bug reported and I suspect the connected microphones are using channels 3-4 clocks (waiting for reporter input there).

  3. singalsu commented on Jan 5, 2021

    @singalsu
    Collaborator

    This issue may be similar as #2460

  4. lgirdwood commented on Jan 5, 2021

    @lgirdwood
    Member

    Btw, do we know if these non working platforms have any "hard mic mutes" aka privacy mode ? i.e. where the mic data is gated via some HW prior to entering DSP.

  5. jarek556 commented on Jan 5, 2021

    @jarek556
    Author

    @lgirdwood - I have tested this notebook only in this configuration. After few days of testing I've returned it because I couldn't find solution for internal mic.

  6. lgirdwood commented on Jan 6, 2021

    @lgirdwood
    Member

    @jarek556 are you working for a distro or OEM ? It may be possible to get the audio schematic and figure out the DMIC routing to fix the issue.

  7. GFdevelop commented on Feb 20, 2021

    @GFdevelop

    I have the same issue on my laptop, the microphone is detected but in pavucontrol there isn't sound detection, the headset microphone work but when I plug it I have to manually switch to the headset microphone to disable the speaker output (speaker and headset output work at same time).

    I have tried the module option snd_hda_intel model=dual-codecs but don't work.
    How to solve?

    $ grep Codec /proc/asound/card*/codec*
    /proc/asound/card0/codec#0:Codec: Realtek ALC257
    /proc/asound/card0/codec#2:Codec: Intel Kabylake HDMI
    $ sudo alsa-info.sh
    
    upload=true&script=true&cardinfo=
    !!################################
    !!ALSA Information Script v 0.4.65
    !!################################
    
    !!Script ran on: Sat Feb 20 16:44:09 UTC 2021
    
    
    !!Linux Distribution
    !!------------------
    
    Arch Linux \r (\l) NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch HOME_URL="https://www.archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" LOGO=archlinux
    
    
    !!DMI Information
    !!---------------
    
    Manufacturer:      LENOVO
    Product Name:      20RR
    Product Version:   Lenovo ThinkBook 13s-IML
    Firmware Version:  CQCN29WW
    System SKU:        LENOVO_MT_20RR_BU_idea_FM_ThinkBook 13s-IML
    Board Vendor:      LENOVO
    Board Name:        LNVNB161216
    
    
    !!ACPI Device Status Information
    !!---------------
    
    /sys/bus/acpi/devices/ACPI0003:00/status 	 15
    /sys/bus/acpi/devices/ACPI000C:00/status 	 15
    /sys/bus/acpi/devices/CUST0001:00/status 	 15
    /sys/bus/acpi/devices/INT0E0C:00/status 	 15
    /sys/bus/acpi/devices/INT33A1:00/status 	 15
    /sys/bus/acpi/devices/INT3400:00/status 	 15
    /sys/bus/acpi/devices/INT3403:00/status 	 15
    /sys/bus/acpi/devices/INT3403:01/status 	 15
    /sys/bus/acpi/devices/INT3403:02/status 	 15
    /sys/bus/acpi/devices/INT340E:00/status 	 15
    /sys/bus/acpi/devices/INT34BB:00/status 	 15
    /sys/bus/acpi/devices/INT3F0D:00/status 	 15
    /sys/bus/acpi/devices/LIC0001:00/status 	 15
    /sys/bus/acpi/devices/LNXPOWER:00/status 	 1
    /sys/bus/acpi/devices/LNXPOWER:01/status 	 15
    /sys/bus/acpi/devices/LNXPOWER:05/status 	 1
    /sys/bus/acpi/devices/LNXPOWER:06/status 	 1
    /sys/bus/acpi/devices/LNXPOWER:07/status 	 1
    /sys/bus/acpi/devices/LNXPOWER:09/status 	 1
    /sys/bus/acpi/devices/MSFT0001:00/status 	 15
    /sys/bus/acpi/devices/NTC0702:00/status 	 15
    /sys/bus/acpi/devices/PNP0103:00/status 	 15
    /sys/bus/acpi/devices/PNP0B00:00/status 	 15
    /sys/bus/acpi/devices/PNP0C02:00/status 	 3
    /sys/bus/acpi/devices/PNP0C02:01/status 	 3
    /sys/bus/acpi/devices/PNP0C02:05/status 	 3
    /sys/bus/acpi/devices/PNP0C09:00/status 	 15
    /sys/bus/acpi/devices/PNP0C0A:00/status 	 31
    /sys/bus/acpi/devices/PNP0C0C:00/status 	 11
    /sys/bus/acpi/devices/PNP0C0D:00/status 	 15
    /sys/bus/acpi/devices/PRP00001:00/status 	 11
    /sys/bus/acpi/devices/USBC000:00/status 	 15
    /sys/bus/acpi/devices/VPC2004:00/status 	 15
    /sys/bus/acpi/devices/device:17/status 	 15
    
    
    !!Kernel Information
    !!------------------
    
    Kernel release:    5.10.17-1-lts
    Operating System:  GNU/Linux
    Architecture:      x86_64
    Processor:         unknown
    SMP Enabled:       Yes
    
    
    !!ALSA Version
    !!------------
    
    Driver version:     k5.10.17-1-lts
    Library version:    1.2.4
    Utilities version:  1.2.4
    
    
    !!Loaded ALSA modules
    !!-------------------
    
    snd_soc_skl_hda_dsp
    
    
    !!Sound Servers on this system
    !!----------------------------
    
    Pulseaudio:
          Installed - Yes (/usr/bin/pulseaudio)
          Running - Yes
    
    Jack:
          Installed - Yes (/usr/bin/jackd)
          Running - No
    
    
    !!Soundcards recognised by ALSA
    !!-----------------------------
    
     0 [sofhdadsp      ]: sof-hda-dsp - sof-hda-dsp
                          LENOVO-20RR-LenovoThinkBook13s_IML-LNVNB161216
    
    
    !!PCI Soundcards installed in the system
    !!--------------------------------------
    
    00:1f.3 Multimedia audio controller [0401]: Intel Corporation Comet Lake PCH-LP cAVS [8086:02c8]
    	Subsystem: Lenovo Device [17aa:3816]
    
    
    !!Loaded sound module options
    !!---------------------------
    
    !!Module: snd_soc_skl_hda_dsp
    	* : 
    
    
    !!HDA-Intel Codec information
    !!---------------------------
    --startcollapse--
    
    Codec: Realtek ALC257
    Address: 0
    AFG Function Id: 0x1 (unsol 1)
    Vendor Id: 0x10ec0257
    Subsystem Id: 0x17aa3835
    Revision Id: 0x100001
    No Modem Function Group found
    Default PCM:
        rates [0x560]: 44100 48000 96000 192000
        bits [0xe]: 16 20 24
        formats [0x1]: PCM
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
      Power states:  D0 D1 D2 D3 D3cold CLKSTOP EPSS
      Power: setting=D0, actual=D0
    GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
      IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
      IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
      IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
    Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
      Control: name="Speaker Playback Volume", index=0, device=0
        ControlAmp: chs=3, dir=Out, idx=0, ofs=0
      Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
      Amp-Out vals:  [0x3c 0x3c]
      Converter: stream=0, channel=0
      PCM:
        rates [0x60]: 44100 48000
        bits [0xe]: 16 20 24
        formats [0x1]: PCM
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
      Control: name="Headphone Playback Volume", index=0, device=0
        ControlAmp: chs=3, dir=Out, idx=0, ofs=0
      Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
      Amp-Out vals:  [0x34 0x34]
      Converter: stream=0, channel=0
      PCM:
        rates [0x60]: 44100 48000
        bits [0xe]: 16 20 24
        formats [0x1]: PCM
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
      Converter: stream=0, channel=0
      Digital:
      Digital category: 0x0
      IEC Coding Type: 0x0
      PCM:
        rates [0x5e0]: 44100 48000 88200 96000 192000
        bits [0xe]: 16 20 24
        formats [0x1]: PCM
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
      Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
      Amp-In vals:  [0x97 0x97]
      Converter: stream=0, channel=0
      SDI-Select: 0
      PCM:
        rates [0x560]: 44100 48000 96000 192000
        bits [0xe]: 16 20 24
        formats [0x1]: PCM
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
      Connection: 1
         0x24
    Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
      Control: name="Capture Volume", index=0, device=0
        ControlAmp: chs=3, dir=In, idx=0, ofs=0
      Control: name="Capture Switch", index=0, device=0
        ControlAmp: chs=3, dir=In, idx=0, ofs=0
      Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
      Amp-In vals:  [0x3f 0x3f]
      Converter: stream=0, channel=0
      SDI-Select: 0
      PCM:
        rates [0x560]: 44100 48000 96000 192000
        bits [0xe]: 16 20 24
        formats [0x1]: PCM
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
      Connection: 1
         0x23
    Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
      Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
      Amp-In vals:  [0x97 0x97]
      Converter: stream=0, channel=0
      SDI-Select: 0
      PCM:
        rates [0x560]: 44100 48000 96000 192000
        bits [0xe]: 16 20 24
        formats [0x1]: PCM
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
      Connection: 1
         0x22
    Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
      Amp-In vals:  [0x00 0x00]
      Pincap 0x00000020: IN
      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
        Conn = 1/8, Color = Black
        DefAssociation = 0xf, Sequence = 0x0
        Misc = NO_PRESENCE
      Pin-ctls: 0x00:
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
      Amp-In vals:  [0x00 0x00]
      Pincap 0x00000020: IN
      Pin Default 0x40000000: [N/A] Line Out at Ext N/A
        Conn = Unknown, Color = Unknown
        DefAssociation = 0x0, Sequence = 0x0
      Pin-ctls: 0x00:
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
      Control: name="Speaker Playback Switch", index=0, device=0
        ControlAmp: chs=3, dir=Out, idx=0, ofs=0
      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-Out vals:  [0x00 0x00]
      Pincap 0x00010014: OUT EAPD Detect
      EAPD 0x2: EAPD
      Pin Default 0x90170110: [Fixed] Speaker at Int N/A
        Conn = Analog, Color = Unknown
        DefAssociation = 0x1, Sequence = 0x0
        Misc = NO_PRESENCE
      Pin-ctls: 0x40: OUT
      Unsolicited: tag=00, enabled=0
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
      Connection: 1
         0x02
    Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
      Amp-In vals:  [0x00 0x00]
      Pincap 0x00003724: IN Detect
        Vref caps: HIZ 50 GRD 80 100
      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
        Conn = 1/8, Color = Black
        DefAssociation = 0xf, Sequence = 0x0
        Misc = NO_PRESENCE
      Pin-ctls: 0x20: IN VREF_HIZ
      Unsolicited: tag=00, enabled=0
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
      Control: name="Mic Boost Volume", index=0, device=0
        ControlAmp: chs=3, dir=In, idx=0, ofs=0
      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
      Amp-In vals:  [0x00 0x00]
      Pincap 0x00003724: IN Detect
        Vref caps: HIZ 50 GRD 80 100
      Pin Default 0x04a11040: [Jack] Mic at Ext Right
        Conn = 1/8, Color = Black
        DefAssociation = 0x4, Sequence = 0x0
      Pin-ctls: 0x24: IN VREF_80
      Unsolicited: tag=02, enabled=1
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
      Amp-In vals:  [0x00 0x00]
      Pincap 0x00003724: IN Detect
        Vref caps: HIZ 50 GRD 80 100
      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
        Conn = 1/8, Color = Black
        DefAssociation = 0xf, Sequence = 0x0
        Misc = NO_PRESENCE
      Pin-ctls: 0x00: VREF_HIZ
      Unsolicited: tag=00, enabled=0
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
      Amp-In vals:  [0x00 0x00]
      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-Out vals:  [0x80 0x80]
      Pincap 0x00013734: IN OUT EAPD Detect
        Vref caps: HIZ 50 GRD 80 100
      EAPD 0x2: EAPD
      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
        Conn = 1/8, Color = Black
        DefAssociation = 0xf, Sequence = 0x0
        Misc = NO_PRESENCE
      Pin-ctls: 0x20: IN VREF_HIZ
      Unsolicited: tag=00, enabled=0
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
      Connection: 2
         0x02* 0x03
    Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x1d [Pin Complex] wcaps 0x400400: Mono
      Pincap 0x00000020: IN
      Pin Default 0x40659a05: [N/A] Modem Line at Ext N/A
        Conn = Optical, Color = Pink
        DefAssociation = 0x0, Sequence = 0x5
      Pin-ctls: 0x20: IN
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
      Pincap 0x00000014: OUT Detect
      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
        Conn = 1/8, Color = Black
        DefAssociation = 0xf, Sequence = 0x0
        Misc = NO_PRESENCE
      Pin-ctls: 0x40: OUT
      Unsolicited: tag=00, enabled=0
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
      Connection: 1
         0x06
    Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
      Processing caps: benign=0, ncoeff=142
    Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
      Control: name="Headphone Playback Switch", index=0, device=0
        ControlAmp: chs=3, dir=Out, idx=0, ofs=0
      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-Out vals:  [0x00 0x00]
      Pincap 0x0001001c: OUT HP EAPD Detect
      EAPD 0x2: EAPD
      Pin Default 0x04211020: [Jack] HP Out at Ext Right
        Conn = 1/8, Color = Black
        DefAssociation = 0x2, Sequence = 0x0
      Pin-ctls: 0xc0: OUT HP
      Unsolicited: tag=01, enabled=1
      Power states:  D0 D1 D2 D3 EPSS
      Power: setting=D0, actual=D0
      Connection: 2
         0x02 0x03*
    Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
      Connection: 6
         0x18 0x19 0x1a 0x1b 0x1d 0x13
    Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
      Connection: 6
         0x18 0x19 0x1a 0x1b 0x1d 0x12
    Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
      Connection: 2
         0x12* 0x13
    Codec: Intel Kabylake HDMI
    Address: 2
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x8086280b
    Subsystem Id: 0x80860101
    Revision Id: 0x100000
    No Modem Function Group found
    Default PCM:
        rates [0x0]:
        bits [0x0]:
        formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
      Power states:  D0 D3 CLKSTOP EPSS
      Power: setting=D0, actual=D0, Clock-stop-OK
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
      Converter: stream=0, channel=0
      Digital: Enabled KAE
      Digital category: 0x0
      IEC Coding Type: 0x0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1a]: 16 24 32
        formats [0x5]: PCM AC3
      Power states:  D0 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
      Converter: stream=0, channel=0
      Digital: Enabled KAE
      Digital category: 0x0
      IEC Coding Type: 0x0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1a]: 16 24 32
        formats [0x5]: PCM AC3
      Power states:  D0 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital
      Converter: stream=0, channel=0
      Digital: Enabled KAE
      Digital category: 0x0
      IEC Coding Type: 0x0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1a]: 16 24 32
        formats [0x5]: PCM AC3
      Power states:  D0 D3 EPSS
      Power: setting=D0, actual=D0
    Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-Out vals:  [0x00 0x00]
      Pincap 0x0b000094: OUT Detect HBR HDMI DP
      Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
        Conn = Digital, Color = Unknown
        DefAssociation = 0x1, Sequence = 0x0
      Pin-ctls: 0x00:
      Unsolicited: tag=00, enabled=0
      Power states:  D0 D3 EPSS
      Power: setting=D0, actual=D0
      Devices: 0
      Connection: 0
    Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-Out vals:  [0x00 0x00]
      Pincap 0x0b000094: OUT Detect HBR HDMI DP
      Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
        Conn = Digital, Color = Unknown
        DefAssociation = 0x1, Sequence = 0x0
      Pin-ctls: 0x00:
      Unsolicited: tag=00, enabled=0
      Power states:  D0 D3 EPSS
      Power: setting=D0, actual=D0
      Devices: 0
      Connection: 0
    Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-Out vals:  [0x00 0x00]
      Pincap 0x0b000094: OUT Detect HBR HDMI DP
      Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
        Conn = Digital, Color = Unknown
        DefAssociation = 0x1, Sequence = 0x0
      Pin-ctls: 0x00:
      Unsolicited: tag=00, enabled=0
      Power states:  D0 D3 EPSS
      Power: setting=D0, actual=D0
      Devices: 0
      Connection: 0
    Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
    --endcollapse--
    
    
    !!ALSA Device nodes
    !!-----------------
    
    crw-rw----+ 1 root audio 116, 13 Feb 20 17:40 /dev/snd/controlC0
    crw-rw----+ 1 root audio 116, 12 Feb 20 17:40 /dev/snd/hwC0D0
    crw-rw----+ 1 root audio 116, 11 Feb 20 17:40 /dev/snd/hwC0D2
    crw-rw----+ 1 root audio 116,  5 Feb 20 17:41 /dev/snd/pcmC0D0c
    crw-rw----+ 1 root audio 116,  4 Feb 20 17:41 /dev/snd/pcmC0D0p
    crw-rw----+ 1 root audio 116,  7 Feb 20 17:40 /dev/snd/pcmC0D1c
    crw-rw----+ 1 root audio 116,  6 Feb 20 17:40 /dev/snd/pcmC0D1p
    crw-rw----+ 1 root audio 116,  8 Feb 20 17:41 /dev/snd/pcmC0D3p
    crw-rw----+ 1 root audio 116,  9 Feb 20 17:41 /dev/snd/pcmC0D4p
    crw-rw----+ 1 root audio 116, 10 Feb 20 17:41 /dev/snd/pcmC0D5p
    crw-rw----+ 1 root audio 116,  2 Feb 20 17:41 /dev/snd/pcmC0D6c
    crw-rw----+ 1 root audio 116,  3 Feb 20 17:40 /dev/snd/pcmC0D7c
    crw-rw----+ 1 root audio 116,  1 Feb 20 17:40 /dev/snd/seq
    crw-rw----+ 1 root audio 116, 33 Feb 20 17:40 /dev/snd/timer
    
    /dev/snd/by-path:
    total 0
    drwxr-xr-x 2 root root  60 Feb 20 17:40 .
    drwxr-xr-x 3 root root 340 Feb 20 17:40 ..
    lrwxrwxrwx 1 root root  12 Feb 20 17:40 pci-0000:00:1f.3-platform-skl_hda_dsp_generic -> ../controlC0
    
    
    !!Aplay/Arecord output
    !!--------------------
    
    APLAY
    
    **** List of PLAYBACK Hardware Devices ****
    card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    
    ARECORD
    
    **** List of CAPTURE Hardware Devices ****
    card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    
    !!Amixer output
    !!-------------
    
    !!-------Mixer controls for card sofhdadsp
    
    Card hw:0 'sofhdadsp'/'LENOVO-20RR-LenovoThinkBook13s_IML-LNVNB161216'
      Mixer name	: 'Realtek ALC257'
      Components	: 'HDA:8086280b,80860101,00100000 HDA:10ec0257,17aa3835,00100001 cfg-dmics:2'
      Controls      : 48
      Simple ctrls  : 18
    Simple mixer control 'Master',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 87
      Mono: Playback 87 [100%] [0.00dB] [on]
    Simple mixer control 'Headphone',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 87
      Mono:
      Front Left: Playback 52 [60%] [-26.25dB] [on]
      Front Right: Playback 52 [60%] [-26.25dB] [on]
    Simple mixer control 'Speaker',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 87
      Mono:
      Front Left: Playback 60 [69%] [-20.25dB] [on]
      Front Right: Playback 60 [69%] [-20.25dB] [on]
    Simple mixer control 'Mic Boost',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 3
      Front Left: 0 [0%] [0.00dB]
      Front Right: 0 [0%] [0.00dB]
    Simple mixer control 'IEC958',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'IEC958',1
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'IEC958',2
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'Capture',0
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 63
      Front Left: Capture 63 [100%] [30.00dB] [on]
      Front Right: Capture 63 [100%] [30.00dB] [on]
    Simple mixer control 'Auto-Mute Mode',0
      Capabilities: enum
      Items: 'Disabled' 'Enabled'
      Item0: 'Disabled'
    Simple mixer control 'Dmic0',0
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 70
      Front Left: Capture 70 [100%] [20.00dB] [on]
      Front Right: Capture 70 [100%] [20.00dB] [on]
    Simple mixer control 'Dmic1 2nd',0
      Capabilities: cvolume
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 70
      Front Left: Capture 50 [71%] [0.00dB]
      Front Right: Capture 50 [71%] [0.00dB]
    Simple mixer control 'PGA1.0 1 Master',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 32
      Mono:
      Front Left: Playback 32 [100%] [0.00dB]
      Front Right: Playback 32 [100%] [0.00dB]
    Simple mixer control 'PGA2.0 2 Master',0
      Capabilities: cvolume
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 80
      Front Left: Capture 50 [62%] [0.00dB]
      Front Right: Capture 50 [62%] [0.00dB]
    Simple mixer control 'PGA3.0 3 Master',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 32
      Mono:
      Front Left: Playback 32 [100%] [0.00dB]
      Front Right: Playback 32 [100%] [0.00dB]
    Simple mixer control 'PGA4.0 4 Master',0
      Capabilities: cvolume
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 80
      Front Left: Capture 50 [62%] [0.00dB]
      Front Right: Capture 50 [62%] [0.00dB]
    Simple mixer control 'PGA7.0 7 Master',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 32
      Mono:
      Front Left: Playback 32 [100%] [0.00dB]
      Front Right: Playback 32 [100%] [0.00dB]
    Simple mixer control 'PGA8.0 8 Master',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 32
      Mono:
      Front Left: Playback 32 [100%] [0.00dB]
      Front Right: Playback 32 [100%] [0.00dB]
    Simple mixer control 'PGA9.0 9 Master',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 32
      Mono:
      Front Left: Playback 32 [100%] [0.00dB]
      Front Right: Playback 32 [100%] [0.00dB]
    
    
    !!Alsactl output
    !!--------------
    
    --startcollapse--
    state.sofhdadsp {
    	control.1 {
    		iface MIXER
    		name 'Headphone Playback Volume'
    		value.0 52
    		value.1 52
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 87'
    			dbmin -6525
    			dbmax 0
    			dbvalue.0 -2625
    			dbvalue.1 -2625
    		}
    	}
    	control.2 {
    		iface MIXER
    		name 'Headphone Playback Switch'
    		value.0 true
    		value.1 true
    		comment {
    			access 'read write'
    			type BOOLEAN
    			count 2
    		}
    	}
    	control.3 {
    		iface MIXER
    		name 'Speaker Playback Volume'
    		value.0 60
    		value.1 60
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 87'
    			dbmin -6525
    			dbmax 0
    			dbvalue.0 -2025
    			dbvalue.1 -2025
    		}
    	}
    	control.4 {
    		iface MIXER
    		name 'Speaker Playback Switch'
    		value.0 true
    		value.1 true
    		comment {
    			access 'read write'
    			type BOOLEAN
    			count 2
    		}
    	}
    	control.5 {
    		iface MIXER
    		name 'Auto-Mute Mode'
    		value Disabled
    		comment {
    			access 'read write'
    			type ENUMERATED
    			count 1
    			item.0 Disabled
    			item.1 Enabled
    		}
    	}
    	control.6 {
    		iface MIXER
    		name 'Capture Volume'
    		value.0 63
    		value.1 63
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 63'
    			dbmin -1725
    			dbmax 3000
    			dbvalue.0 3000
    			dbvalue.1 3000
    		}
    	}
    	control.7 {
    		iface MIXER
    		name 'Capture Switch'
    		value.0 true
    		value.1 true
    		comment {
    			access 'read write'
    			type BOOLEAN
    			count 2
    		}
    	}
    	control.8 {
    		iface MIXER
    		name 'Mic Boost Volume'
    		value.0 0
    		value.1 0
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 3'
    			dbmin 0
    			dbmax 3000
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    	control.9 {
    		iface MIXER
    		name 'Master Playback Volume'
    		value 87
    		comment {
    			access 'read write'
    			type INTEGER
    			count 1
    			range '0 - 87'
    			dbmin -6525
    			dbmax 0
    			dbvalue.0 0
    		}
    	}
    	control.10 {
    		iface MIXER
    		name 'Master Playback Switch'
    		value true
    		comment {
    			access 'read write'
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.11 {
    		iface CARD
    		name 'Mic Jack'
    		value false
    		comment {
    			access read
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.12 {
    		iface CARD
    		name 'Headphone Jack'
    		value false
    		comment {
    			access read
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.13 {
    		iface CARD
    		name 'Speaker Phantom Jack'
    		value true
    		comment {
    			access read
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.14 {
    		iface CARD
    		name 'HDMI/DP,pcm=3 Jack'
    		value false
    		comment {
    			access read
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.15 {
    		iface MIXER
    		name 'IEC958 Playback Con Mask'
    		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access read
    			type IEC958
    			count 1
    		}
    	}
    	control.16 {
    		iface MIXER
    		name 'IEC958 Playback Pro Mask'
    		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access read
    			type IEC958
    			count 1
    		}
    	}
    	control.17 {
    		iface MIXER
    		name 'IEC958 Playback Default'
    		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access 'read write'
    			type IEC958
    			count 1
    		}
    	}
    	control.18 {
    		iface MIXER
    		name 'IEC958 Playback Switch'
    		value true
    		comment {
    			access 'read write'
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.19 {
    		iface PCM
    		device 3
    		name ELD
    		value ''
    		comment {
    			access 'read volatile'
    			type BYTES
    			count 0
    		}
    	}
    	control.20 {
    		iface CARD
    		name 'HDMI/DP,pcm=4 Jack'
    		value false
    		comment {
    			access read
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.21 {
    		iface MIXER
    		name 'IEC958 Playback Con Mask'
    		index 1
    		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access read
    			type IEC958
    			count 1
    		}
    	}
    	control.22 {
    		iface MIXER
    		name 'IEC958 Playback Pro Mask'
    		index 1
    		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access read
    			type IEC958
    			count 1
    		}
    	}
    	control.23 {
    		iface MIXER
    		name 'IEC958 Playback Default'
    		index 1
    		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access 'read write'
    			type IEC958
    			count 1
    		}
    	}
    	control.24 {
    		iface MIXER
    		name 'IEC958 Playback Switch'
    		index 1
    		value true
    		comment {
    			access 'read write'
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.25 {
    		iface PCM
    		device 4
    		name ELD
    		value ''
    		comment {
    			access 'read volatile'
    			type BYTES
    			count 0
    		}
    	}
    	control.26 {
    		iface CARD
    		name 'HDMI/DP,pcm=5 Jack'
    		value false
    		comment {
    			access read
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.27 {
    		iface MIXER
    		name 'IEC958 Playback Con Mask'
    		index 2
    		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access read
    			type IEC958
    			count 1
    		}
    	}
    	control.28 {
    		iface MIXER
    		name 'IEC958 Playback Pro Mask'
    		index 2
    		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access read
    			type IEC958
    			count 1
    		}
    	}
    	control.29 {
    		iface MIXER
    		name 'IEC958 Playback Default'
    		index 2
    		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    		comment {
    			access 'read write'
    			type IEC958
    			count 1
    		}
    	}
    	control.30 {
    		iface MIXER
    		name 'IEC958 Playback Switch'
    		index 2
    		value true
    		comment {
    			access 'read write'
    			type BOOLEAN
    			count 1
    		}
    	}
    	control.31 {
    		iface PCM
    		device 5
    		name ELD
    		value ''
    		comment {
    			access 'read volatile'
    			type BYTES
    			count 0
    		}
    	}
    	control.32 {
    		iface PCM
    		device 3
    		name 'Playback Channel Map'
    		value.0 0
    		value.1 0
    		value.2 0
    		value.3 0
    		value.4 0
    		value.5 0
    		value.6 0
    		value.7 0
    		comment {
    			access 'read write'
    			type INTEGER
    			count 8
    			range '0 - 36'
    		}
    	}
    	control.33 {
    		iface PCM
    		device 4
    		name 'Playback Channel Map'
    		value.0 0
    		value.1 0
    		value.2 0
    		value.3 0
    		value.4 0
    		value.5 0
    		value.6 0
    		value.7 0
    		comment {
    			access 'read write'
    			type INTEGER
    			count 8
    			range '0 - 36'
    		}
    	}
    	control.34 {
    		iface PCM
    		device 5
    		name 'Playback Channel Map'
    		value.0 0
    		value.1 0
    		value.2 0
    		value.3 0
    		value.4 0
    		value.5 0
    		value.6 0
    		value.7 0
    		comment {
    			access 'read write'
    			type INTEGER
    			count 8
    			range '0 - 36'
    		}
    	}
    	control.35 {
    		iface MIXER
    		name 'PGA1.0 1 Master Playback Volume'
    		value.0 32
    		value.1 32
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 32'
    			dbmin -9999999
    			dbmax 0
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    	control.36 {
    		iface MIXER
    		name 'PGA2.0 2 Master Capture Volume'
    		value.0 50
    		value.1 50
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 80'
    			dbmin -9999999
    			dbmax 3000
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    	control.38 {
    		iface MIXER
    		name 'PGA3.0 3 Master Playback Volume'
    		value.0 32
    		value.1 32
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 32'
    			dbmin -9999999
    			dbmax 0
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    	control.39 {
    		iface MIXER
    		name 'PGA4.0 4 Master Capture Volume'
    		value.0 50
    		value.1 50
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 80'
    			dbmin -9999999
    			dbmax 3000
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    	control.41 {
    		iface MIXER
    		name 'PGA7.0 7 Master Playback Volume'
    		value.0 32
    		value.1 32
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 32'
    			dbmin -9999999
    			dbmax 0
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    	control.42 {
    		iface MIXER
    		name 'PGA8.0 8 Master Playback Volume'
    		value.0 32
    		value.1 32
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 32'
    			dbmin -9999999
    			dbmax 0
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    	control.43 {
    		iface MIXER
    		name 'PGA9.0 9 Master Playback Volume'
    		value.0 32
    		value.1 32
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 32'
    			dbmin -9999999
    			dbmax 0
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    	control.44 {
    		iface MIXER
    		name 'Dmic0 Capture Volume'
    		value.0 70
    		value.1 70
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 70'
    			dbmin -9999999
    			dbmax 2000
    			dbvalue.0 2000
    			dbvalue.1 2000
    		}
    	}
    	control.45 {
    		iface MIXER
    		name 'Dmic0 Capture Switch'
    		value.0 true
    		value.1 true
    		comment {
    			access 'read write'
    			type BOOLEAN
    			count 2
    		}
    	}
    	control.47 {
    		iface MIXER
    		name 'Dmic1 2nd Capture Volume'
    		value.0 50
    		value.1 50
    		comment {
    			access 'read write'
    			type INTEGER
    			count 2
    			range '0 - 70'
    			dbmin -9999999
    			dbmax 2000
    			dbvalue.0 0
    			dbvalue.1 0
    		}
    	}
    }
    --endcollapse--
    
    
    !!All Loaded Modules
    !!------------------
    
    ac97_bus
    acpi_pad
    acpi_thermal_rel
    aesni_intel
    agpgart
    bluetooth
    bpf_preload
    btbcm
    btintel
    btrtl
    btusb
    ccm
    cec
    cfg80211
    coretemp
    crc16
    crc32_pclmul
    crc32c_generic
    crc32c_intel
    crct10dif_pclmul
    cryptd
    crypto_simd
    crypto_user
    drm
    drm_kms_helper
    ecc
    ecdh_generic
    ext4
    fat
    fb_sys_fops
    fuse
    ghash_clmulni_intel
    glue_helper
    hid_multitouch
    i2c_algo_bit
    i2c_hid
    i2c_i801
    i2c_smbus
    i915
    iTCO_vendor_support
    iTCO_wdt
    ideapad_laptop
    idma64
    int3400_thermal
    int3403_thermal
    int340x_thermal_zone
    intel_cstate
    intel_gtt
    intel_lpss
    intel_lpss_pci
    intel_pch_thermal
    intel_pmc_bxt
    intel_powerclamp
    intel_rapl_common
    intel_rapl_msr
    intel_soc_dts_iosf
    intel_uncore
    intel_wmi_thunderbolt
    ip_tables
    iptable_filter
    iptable_mangle
    iptable_nat
    irqbypass
    iwlmvm
    iwlwifi
    jbd2
    joydev
    kvm
    kvm_intel
    ledtrig_audio
    libarc4
    libcrc32c
    mac80211
    mac_hid
    mbcache
    mc
    mei
    mei_hdcp
    mei_me
    mousedev
    nf_conntrack
    nf_defrag_ipv4
    nf_defrag_ipv6
    nf_nat
    nls_cp437
    nls_iso8859_1
    pcspkr
    processor_thermal_device
    rapl
    rfkill
    rng_core
    serio_raw
    snd
    snd_compress
    snd_hda_codec
    snd_hda_codec_generic
    snd_hda_codec_hdmi
    snd_hda_codec_realtek
    snd_hda_core
    snd_hda_ext_core
    snd_hda_intel
    snd_hwdep
    snd_intel_dspcfg
    snd_pcm
    snd_pcm_dmaengine
    snd_soc_acpi
    snd_soc_acpi_intel_match
    snd_soc_core
    snd_soc_dmic
    snd_soc_hdac_hda
    snd_soc_hdac_hdmi
    snd_soc_skl
    snd_soc_skl_hda_dsp
    snd_soc_sst_dsp
    snd_soc_sst_ipc
    snd_sof
    snd_sof_intel_byt
    snd_sof_intel_hda
    snd_sof_intel_hda_common
    snd_sof_intel_ipc
    snd_sof_pci
    snd_sof_xtensa_dsp
    snd_timer
    soundcore
    soundwire_bus
    soundwire_cadence
    soundwire_generic_allocation
    soundwire_intel
    sparse_keymap
    syscopyarea
    sysfillrect
    sysimgblt
    tpm
    tpm_crb
    tpm_tis
    tpm_tis_core
    typec
    typec_ucsi
    uas
    ucsi_acpi
    usb_storage
    usbhid
    uvcvideo
    vfat
    video
    videobuf2_common
    videobuf2_memops
    videobuf2_v4l2
    videobuf2_vmalloc
    videodev
    wmi
    wmi_bmof
    x86_pkg_temp_thermal
    x_tables
    xhci_pci
    xhci_pci_renesas
    
    
    !!Sysfs Files
    !!-----------
    
    /sys/class/sound/hwC0D0/init_pin_configs:
    0x12 0x411111f0
    0x13 0x40000000
    0x14 0x90170110
    0x18 0x411111f0
    0x19 0x04a11040
    0x1a 0x411111f0
    0x1b 0x411111f0
    0x1d 0x40659a05
    0x1e 0x411111f0
    0x21 0x04211020
    
    /sys/class/sound/hwC0D0/driver_pin_configs:
    
    /sys/class/sound/hwC0D0/user_pin_configs:
    
    /sys/class/sound/hwC0D0/init_verbs:
    
    /sys/class/sound/hwC0D0/hints:
    
    /sys/class/sound/hwC0D2/init_pin_configs:
    0x05 0x18560010
    0x06 0x18560010
    0x07 0x18560010
    
    /sys/class/sound/hwC0D2/driver_pin_configs:
    
    /sys/class/sound/hwC0D2/user_pin_configs:
    
    /sys/class/sound/hwC0D2/init_verbs:
    
    /sys/class/sound/hwC0D2/hints:
    
    
    !!ALSA/HDA dmesg
    !!--------------
    
    [    0.265832] ACPI: Added _OSI(Linux-Dell-Video)
    [    0.265832] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
    [    0.265832] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
    --
    [    2.595447] cryptd: max_cpu_qlen set to 1000
    [    2.599878] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
    [    2.599902] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
    [    2.604589] AVX2 version of gcm_enc/dec engaged.
    [    2.604589] AES CTR mode by8 optimization enabled
    [    2.620099] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
    [    2.620123] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
    [    2.645071] usb 1-10: new full-speed USB device number 5 using xhci_hcd
    --
    [    3.531805] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
    [    3.548406] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
    [    3.548424] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
    [    3.548429] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
    --
    [    3.869283] Bluetooth: SCO socket layer initialized
    [    3.875234] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [    3.875237] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [    3.875239] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
    [    3.875240] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
    [    3.875241] snd_hda_codec_realtek ehdaudio0D0:    inputs:
    [    3.875243] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
    [    3.930337] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
    [    3.930342] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
    [    3.930447] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
    --
    [    3.930479] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
    [    3.941874] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input20
    [    3.941900] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input21
    [    3.941923] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input22
    [    3.941943] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input23
    [    3.941967] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input24
    [    3.985956] usbcore: registered new interface driver btusb
    
  8. singalsu commented on Feb 22, 2021

    @singalsu
    Collaborator

    @GFdevelop Thanks for report! There's another case with Thinkbook 13s #2460 . Can you please try from there the custom topology https://github.com/thesofproject/linux/files/5981682/sof-hda-generic-2ch-pdm1.zip . It needs to be copied over the default sof-hda-generic-2ch.tplg.

    This is a temporary quick fix, the final outcome will likely be a kernel option. (FYI @kv2019i ).

  9. GFdevelop commented on Feb 22, 2021

    @GFdevelop

    After one week of attemps this fix work, but the internal microphone(s) aren't muted when I plug the jack (the automute is enabled in alsamixer), headphone input/output and internal input/output work together at same time, is this a related issue?

    In pavucontrol I see:

    • ...
    • output: hdmi3, hdmi2, hdmi1 and speaker+headphones
    • input: headphone microphone and digital microphone
    • ...

    (in output it's a single switch for speaker and headphone but in input is a different switch)

    The internal microphone is "boosted": in alsamixer I have mic boost at 0 but in pavucontrol I see a constant minimal sound detection.

    Anyway thank you, it's a good job.

  10. singalsu commented on Feb 22, 2021

    @singalsu
    Collaborator

    @juimonen Do you thoughts for the control issues?

    There's a +20 dB gain added in topology. It could be built with 0 dB as well by editing the lines to build HDA generic topologies:

    $ grep sof-hda-generic-2ch tools/topology/CMakeLists.txt 
    	"sof-hda-generic\;sof-hda-generic-2ch\;-DCHANNELS=2\;-DHSPROC=volume\;-DDMICPROC_FILTER1=eq_iir_coef_highpass_40hz_20db_48khz.m4\;-DDMIC16KPROC_FILTER1=eq_iir_coef_highpass_40hz_20db_16khz.m4"
    
    

    There's different microphones sensitivites and the lower ones (those tolerate high SPL) sound rather silent in notebook usage. If you microphone is higher sensitivity the boost could be removed. An AGC or DRC in capture path should solve this in future.

  11. juimonen commented on Feb 22, 2021

    @juimonen

    @GFdevelop trying to decipher the info here...

    It is kind of impossible that the inputs would be "on" at the same time (dmic & headset), simultaneous output routing is possible in hda devices.

    AFAIK The "headphone mic" is something that should be visible only in Dell devices -> you should see "headset mic". I have not seen "headphone mic" ever in Lenovo devices.

    So my guess is that you have something wrong in the kernel config ->so it might be that because of this you are not getting correct jack events either -> the headset playback is messed up.

  12. juimonen commented on Feb 22, 2021

    @juimonen

    @GFdevelop hmm I don't see this "headphone mic" in the amixer list you provided. But it is probably present in UCM configs. But it's "existence" should be tied to its presence in amixer controls... so my explanation above doesn't seem to hold -> something must be incorrect in the user space configs. Could you try to update alsa-lib, alsa-ucm-conf and pulseaudio? These are quite new features, so not sure how they are present in arch linux.

    But with lenovo devices you should get jack event for both headphone insert and headset mic insert. In Ubuntu the switch is kind of co-operation between pulseaudio and UI, so I'm not sure how it supposed to work in Arch Linux. At least you should see the input/output options in pavucontrol for you to change them manually.

  13. GFdevelop commented on Feb 22, 2021

    @GFdevelop

    I don't have any customization, my system is updated with arch repository, I have deleted ~/.config/pulse/ , when the jack is plugged in and I speak I see sound detection on headphone microphone and internal microphone, in pavucontrol input:

    • Comet Lake PCH-LP cAVS Headphones Stereo Microphone
      Port: Headphones Stereo Microphone (plugged in)
    • Comet Lake PCH-LP cAVS Digital Microphone
      Port: Digital Microphone

    My jack it's a single combined input/output.
    I'm using xfce, and in xfce4-plugin-pulseaudio I can manually select the input source but don't change the behaviour of the microphones, they listen together...in alsamixer I have automute in the playback view, in capture there isn't this option.

    EDIT: I have installed the optional dependencies alsa-firmware and alsa-card-profiles, can these do a conflict?

  14. 7 remaining items

  15. keqiaozhang commented on Jun 7, 2021

    @keqiaozhang

    @juimonen, any updates on this issue?

  16. GFdevelop commented on Jun 7, 2021

    @GFdevelop

    @juimonen, any updates on this issue?

    After the last updates on arch linux the output device it's ok and work well, but the input device work only with your topology as the previous comments.

  17. added
    Communityend-user or distro-reported issues
    DMIC-PDM1DMIC issue due to use of PDM1 instead of PDM0
    on Jun 10, 2021
  18. keqiaozhang commented on Jun 21, 2021

    @keqiaozhang

    @GFdevelop , thanks for your confirmation, let's close this issue, if you have new request , please reopen it or create a new bug.

  19. GFdevelop commented on Oct 4, 2021

    @GFdevelop

    When this fix will be available?

  20. plbossart commented on Oct 4, 2021

    @plbossart
    Member

    we're missing firmware and driver bits, so likely a 2022 update at this point. let's keep it open, I don't know why this issue was closed since there's no solution provided outside of a topology update.

  21. GFdevelop commented on Apr 15, 2022

    @GFdevelop

    news?

  22. plbossart commented on Apr 15, 2022

    @plbossart
    Member

    @juimonen @ranj063 do you think we could use the IPC4 solution with the NHLT blob taken from the BIOS to handle this sort of platforms?

  23. odarbelaeze commented on May 25, 2022

    @odarbelaeze

    Just patched my sister in law's pc with the updated topology. It's the second time around and it keeps working like a charm! <3

  24. plbossart commented on Jul 20, 2022

    @plbossart
    Member

    There will be no magical solution to this problem, the only work-around is to load an alternate topology. This will be enabled starting with kernel 5.20 and SOF 2.3. see details of the documentation here: https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#digital-mic-issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Communityend-user or distro-reported issuesDMIC-PDM1DMIC issue due to use of PDM1 instead of PDM0TGLApplies to Tiger Lake platformbugSomething isn't workingdmicIssues related to PCH connected DMIC

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions