Microphone not working on Lenovo Yoga

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
golgor
Level 1
Level 1
Posts: 2
Joined: Wed Apr 14, 2021 6:56 am

Microphone not working on Lenovo Yoga

Post by golgor »

Hello everyone!
I recently moved to Linux Mint from testing some other Distros and so far most things works great. Previously I had issues with some drivers not working (Graphics, etc...), but after reading here on the forum I switched to Kernel 5.8.x and that fixed almost all issues. I am though still having problems with getting my Microphone to work.

I have looked around on the forum and tested some things, such as installing Pulse-audio and decoupling the channels and tried to look into the log-outputs, but I can't find/understand what might be the cause. Anyone who can help me out to pinpoint the problem? Any help is highly appreciated!

What I have found out so far:
  • Built-in microphone array does not work in any application tested. If I try to record anything, it only records a high pitch sound during the first second, and then just some low volume noise.
  • Using an external Bluetooth Microphone, it works in both Zoom and Google Meet. It does however not work when trying to record using Gnome SoundRecorder 3.34.0.

Code: Select all

$ inxi -Fxz
System:
  Kernel: 5.8.0-49-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 82AC v: Yoga Slim 7 15ITL05 
  serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN serial: <filter> 
  UEFI: LENOVO v: FBCN21WW date: 11/09/2020 
Battery:
  ID-1: BAT1 charge: 69.0 Wh condition: 69.0/71.0 Wh (97%) 
  model: Celxpert L19C4PF5 status: Unknown 
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3 
  charge: 100% (should be ignored) status: Discharging 
  Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard ERGO K860 
  charge: 100% (should be ignored) status: Discharging 
CPU:
  Topology: Quad Core model: 11th Gen Intel Core i7-1165G7 bits: 64 
  type: MT MCP arch: Tiger Lake rev: 1 L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 44851 
  Speed: 980 MHz min/max: 400/4700 MHz Core speeds (MHz): 1: 755 2: 1135 
  3: 706 4: 1060 5: 941 6: 1147 7: 845 8: 829 
Graphics:
  Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel vendor: Lenovo driver: sof-audio-pci bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.8.0-49-generic 
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: 3000 bus ID: 00:14.3 
  IF: wlp0s20f3 state: up mac: <filter> 
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 
  bus ID: 2-2.2.1:5 
  IF: enx340a332c1f18 state: down mac: <filter> 
Drives:
  Local Storage: total: 953.88 GiB used: 21.22 GiB (2.2%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB1T0HBLR-000L2 
  size: 953.87 GiB 
  ID-2: /dev/sdc type: USB model: SEGGER MSD Volume size: 10.7 MiB 
Partition:
  ID-1: / size: 27.37 GiB used: 16.05 GiB (58.6%) fs: ext4 
  dev: /dev/nvme0n1p5 
  ID-2: /home size: 411.52 GiB used: 5.12 GiB (1.2%) fs: ext4 
  dev: /dev/nvme0n1p7 
  ID-3: swap-1 size: 3.81 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p6 
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 333 Uptime: 4h 42m Memory: 15.44 GiB used: 5.69 GiB (36.9%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 

Code: Select all

$ arecord -l
**** 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

Code: Select all

$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "LENOVO-82AC-YogaSlim715ITL05-LNVNB161216"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a0c8"
		device.string = "0"
		device.description = "sof-hda-dsp"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		HiFi: Play HiFi quality Music (priority 8000, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <HiFi>
	sinks:
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#0: sof-hda-dsp HDMI3/DP3 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#1: sof-hda-dsp HDMI2/DP2 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#2: sof-hda-dsp HDMI1/DP1 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#3: sof-hda-dsp Speaker + Headphones
	sources:
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#0: Monitor of sof-hda-dsp HDMI3/DP3 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#1: Monitor of sof-hda-dsp HDMI2/DP2 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#2: Monitor of sof-hda-dsp HDMI1/DP1 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#3: Monitor of sof-hda-dsp Speaker + Headphones
		alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#4: sof-hda-dsp Headphones Stereo Microphone
		alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#5: sof-hda-dsp Digital Microphone
	ports:
		[Out] HDMI3: HDMI3/DP3 Output (priority 700, latency offset 0 usec, available: no)
			properties:
				
		[Out] HDMI2: HDMI2/DP2 Output (priority 600, latency offset 0 usec, available: no)
			properties:
				
		[Out] HDMI1: HDMI1/DP1 Output (priority 500, latency offset 0 usec, available: yes)
			properties:
				device.product.name = "27B1"
		[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
		[Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
			properties:
				
		[In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: no)
			properties:
				
		[In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
			properties:
			

Code: Select all

$ dmesg | grep snd
[   13.279427] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   13.279462] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   13.678248] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=2 (0x17/0x14/0x0/0x0/0x0) type:speaker
[   13.678255] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   13.678260] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   13.678263] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[   13.678266] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[   13.678271] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[   13.747124] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[   13.747146] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[   13.747345] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC 6 mapping ok
[   13.747369] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC16kHz 7 mapping ok
[   13.747403] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Analog 0 mapping ok
[   13.747435] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Digital 1 mapping ok
[   13.747459] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI1 3 mapping ok
[   13.747493] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI2 4 mapping ok
[   13.747514] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI3 5 mapping ok
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Hardware Support”