<SOLVED> Sound not working on Lenovo L14Gen2

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
luan23
Level 1
Level 1
Posts: 5
Joined: Thu May 06, 2021 4:48 pm

<SOLVED> Sound not working on Lenovo L14Gen2

Post by luan23 »

Hey there,

I‘m having problems with getting onboard audio on my Lenovo L14 to work.
I‘m running Linux Mint 20.1 with a v5.4 Kernel. I‘ve already tried manually enabling the snd-via82xx drivers, which helped, but the mic did not work and behavior was inreplicable.. After adding the driver to the grub startup and rebooting as in https://wiki.ubuntuusers.de/Soundkarten ... sprobieren, audio playback did not work and aplay -l and cat /proc/asound/cards showed, that no soundcard was found, even after loading the snd–via82xx again and reloading alsa.

I added my /etc/modprobe.d/alsa-base.conf below:

Any would be appreciated! Thanks a lot and greetings,
luan



GNU nano 4.8 /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
#install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

# NEU 1
options snd-hda-intel dmic_detect=0
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound not working on Lenovo L14Gen2

Post by SMG »

Welcome to the forum, luan.
luan23 wrote: Thu May 06, 2021 4:55 pmI‘m having problems with getting onboard audio on my Lenovo L14 to work.
I‘m running Linux Mint 20.1 with a v5.4 Kernel.
You have not provided any information about your hardware, but it may be that your system needs a kernel newer than 5.4 in order to get the correct drivers.

Please give us information about your install by entering this command in a terminal: inxi -Fxxxrz
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code markers and paste the results of the command between the code markers [code]Results[/code]. This will let us know how Mint sees your hardware.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
luan23
Level 1
Level 1
Posts: 5
Joined: Thu May 06, 2021 4:48 pm

Re: Sound not working on Lenovo L14Gen2

Post by luan23 »

Hej SMG,
thanks for the reply. I guess that should be the relevant info.

Code: Select all

System:
  Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
  Machine:
  Type: Laptop System: LENOVO product: 20X2S06Y00 v: ThinkPad L14 Gen 2 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: LENOVO model: 20X2S06Y00 serial: <filter> UEFI: LENOVO 
  v: R1JET17W (1.06 ) date: 12/09/2020 
  Audio:
  Device-1: Intel vendor: Lenovo driver: sof-audio-pci bus ID: 00:1f.3 
  chip ID: 8086:a0c8 
  Sound Server: ALSA v: k5.4.0-72-generic 
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound not working on Lenovo L14Gen2

Post by SMG »

luan23 wrote: Sat May 08, 2021 9:12 am Hej SMG,
thanks for the reply. I guess that should be the relevant info.
No, that is not all the relevant info. Please provide all the data I requested. It is the same data Section 5 of READ: How To Get Help! explains we need to be able to help you.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
luan23
Level 1
Level 1
Posts: 5
Joined: Thu May 06, 2021 4:48 pm

Re: Sound not working on Lenovo L14Gen2

Post by luan23 »

Ok, sorry for that

Code: Select all

System:
  Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 20X2S06Y00 v: ThinkPad L14 Gen 2 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: LENOVO model: 20X2S06Y00 serial: <filter> UEFI: LENOVO 
  v: R1JET17W (1.06 ) date: 12/09/2020 
Battery:
  ID-1: BAT0 charge: 44.3 Wh condition: 45.0/45.0 Wh (100%) volts: 12.3/11.1 
  model: LGC 5B10W13894 type: Li-poly serial: <filter> status: Discharging 
  cycles: 2 
CPU:
  Topology: Quad Core model: 11th Gen Intel Core i5-1135G7 bits: 64 
  type: MT MCP arch: Tiger Lake rev: 1 L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 38707 
  Speed: 1200 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 1200 2: 1202 
  3: 1200 4: 1202 5: 1202 6: 1202 7: 1201 8: 1200 
Graphics:
  Device-1: Intel vendor: Lenovo driver: N/A bus ID: 00:02.0 
  chip ID: 8086:9a49 
  Display: x11 server: X.Org 1.20.9 driver: fbdev unloaded: modesetting,vesa 
  resolution: 1920x1080~77Hz 
  OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6 
  compat-v: 3.1 direct render: Yes 
Audio:
  Device-1: Intel vendor: Lenovo driver: sof-audio-pci bus ID: 00:1f.3 
  chip ID: 8086:a0c8 
  Sound Server: ALSA v: k5.4.0-72-generic 
Network:
  Device-1: Intel Ethernet I219-V vendor: Lenovo driver: N/A port: efa0 
  bus ID: 00:1f.6 chip ID: 8086:15fc 
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: efa0 
  bus ID: 09:00.0 chip ID: 8086:2723 
  IF: wlp9s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 15.19 GiB (3.2%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L7 
  size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 5M2QEXF7 
  scheme: GPT 
Partition:
  ID-1: / size: 467.96 GiB used: 15.18 GiB (3.2%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/spotify.list 
  1: deb http://repository.spotify.com stable non-free
Info:
  Processes: 261 Uptime: 1m Memory: 15.34 GiB used: 1.20 GiB (7.8%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound not working on Lenovo L14Gen2

Post by SMG »

Your system has a very new cpu and is currently running without a graphics driver. You need to install a newer kernel than the default 5.4. Once the proper kernel is installed to get graphics, then we can see if there is still a sound problem.

Graphics:
Device-1: Intel vendor: Lenovo driver: N/A bus ID: 00:02.0
chip ID: 8086:9a49
Display: x11 server: X.Org 1.20.9 driver: fbdev unloaded: modesetting,vesa
resolution: 1920x1080~77Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6
compat-v: 3.1 direct render: Yes

The driver for Intel graphics comes from the kernel. Let's start with the 5.8 kernel which is available in Driver Manager and see if you get graphics with it.

Open Update Manager. Select View > Linux Kernels and click Continue. Make sure 5.8 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear. Install the kernel and then reboot for it to become active.

After doing that, run inxi -Gx to see if the driver: N/A is replaced with driver: i915 and there is an Intel renderer.

If it remains N/A (which I think is likely since the cpu is listed as Tiger Lake) then try the 5.10-oem kernel. Install the latest 5.10-oem kernel with sudo apt install linux-oem-20.04b and then check the inxi -Gx output. That kernel has been working to get stable graphics for most people with 11th gen Intel processors.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
luan23
Level 1
Level 1
Posts: 5
Joined: Thu May 06, 2021 4:48 pm

Re: Sound not working on Lenovo L14Gen2

Post by luan23 »

Just installed the 5.8 version of Kernel, sound and mic working fine now also after rebooting once again!
Thank you so much for your help and easy-to-understand explanation!!!
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound not working on Lenovo L14Gen2

Post by SMG »

luan23 wrote: Sat May 08, 2021 10:40 am Just installed the 5.8 version of Kernel, sound and mic working fine now also after rebooting once again!
Thank you so much for your help and easy-to-understand explanation!!!
Glad that worked to give you sound.

Do you also have a graphics driver installed with the 5.8 kernel? I'm curious which renderer corresponds to that cpu. Knowing that helps me to help others.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
luan23
Level 1
Level 1
Posts: 5
Joined: Thu May 06, 2021 4:48 pm

Re: Sound not working on Lenovo L14Gen2

Post by luan23 »

SMG wrote: Sat May 08, 2021 11:11 am Do you also have a graphics driver installed with the 5.8 kernel? I'm curious which renderer corresponds to that cpu. Knowing that helps me to help others.
I think that is the case now, but not quite sure

Code: Select all

System:
  Kernel: 5.8.0-50-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 20X2S06Y00 v: ThinkPad L14 Gen 2 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: LENOVO model: 20X2S06Y00 serial: <filter> UEFI: LENOVO 
  v: R1JET17W (1.06 ) date: 12/09/2020 
Battery:
  ID-1: BAT0 charge: 9.5 Wh condition: 45.0/45.0 Wh (100%) volts: 11.1/11.1 
  model: LGC 5B10W13894 type: Li-poly serial: <filter> status: Discharging 
  cycles: 2 
CPU:
  Topology: Quad Core model: 11th Gen Intel Core i5-1135G7 bits: 64 
  type: MT MCP arch: Tiger Lake rev: 1 L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 
  bogomips: 38707 
  Speed: 1330 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 1207 2: 1203 
  3: 1205 4: 1203 5: 1215 6: 1204 7: 1259 8: 1258 
Graphics:
  Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:9a49 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 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 
  chip ID: 8086:a0c8 
  Sound Server: ALSA v: k5.8.0-50-generic 
Network:
  Device-1: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: 3.2.6-k 
  port: efa0 bus ID: 00:1f.6 chip ID: 8086:15fc 
  IF: enp0s31f6 state: down mac: <filter> 
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: efa0 
  bus ID: 09:00.0 chip ID: 8086:2723 
  IF: wlp9s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 19.20 GiB (4.0%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L7 
  size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 5M2QEXF7 
  scheme: GPT 
Partition:
  ID-1: / size: 467.96 GiB used: 19.19 GiB (4.1%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 31.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/spotify.list 
  1: deb http://repository.spotify.com stable non-free
Info:
  Processes: 335 Uptime: 5h 42m Memory: 15.34 GiB used: 1.75 GiB (11.4%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound not working on Lenovo L14Gen2

Post by SMG »

luan23 wrote: Sat May 08, 2021 4:50 pmI think that is the case now, but not quite sure
Graphics Driver is installed. All is good. Thanks for the additional info.

Code: Select all

Graphics:
  Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:9a49 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Sound”