@Hui Wang
The new testing kernel -- 5.4.0-42.46 -- does work on my machine!  Sound
works, mic works.  One odd thing: with headphones plugged in, sound is
output at both headphones and internal speakers.  And it's not immediately
obvious to me how to mute the speakers but leave the headphones on.

Volume Control lists four output devices:

Smart Sound Technology Audio Controller HDMI3/DP3 Output
Smart Sound Technology Audio Controller HDMI2/DP2 Output
Smart Sound Technology Audio Controller HDMI1/DP1 Output
Smart Sound Technology Audio Controller Speaker + Headphones

I'm attaching dmesg output.


On Mon, Jul 13, 2020 at 10:20 AM Hui Wang <1886...@bugs.launchpad.net>
wrote:

> @gogolink,
>
> I built a new testing kernel, if you have time, please help test it. If
> it still can't work, we have to bisect if we want to fix it in the 5.4
> kernel.
>
> https://people.canonical.com/~hwang4/lp1886341/v2/
>
> thx.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1886341
>
> Title:
>   Kernel Regression between 5.4.0-26 and 5.4.0-40 causes laptop internal
>   audio devices to fail to load w/o unacceptable workaround (Lenovo
>   IdeaPad 5 15IIL05)
>
> Status in linux package in Ubuntu:
>   Confirmed
>
> Bug description:
>   On Ubuntu 20.04, running kernel 5.4.0-40-generic, the internal
>   speakers, headphone jack, and mic do not work at all. No audio devices
>   appear in the Sound settings or in pavucontrol. By appending options
>   snd_hda_intel dmic_detect=0 to /etc/modprobe.d/alsa-base.conf, I can
>   get audio working, but the microphone (unsuprisingly) does not work.
>   Appending options snd-intel-dspcfg dsp_driver=1 to alsa_base.conf as
>   the same effect as dmic_detect=0. Attempts to fix with option
>   snd_hda_intel device=generic or deveice=auto have had no effect. This
>   bug does NOT manifest on 5.4.0-26-generic, the kernel version featured
>   on the 20.04 live media. After installation, and updating to
>   5.4.0-40-generic, the bug manifests on the next boot.
>
>   Note that the audio hardware seems to work properly w/o workaround on
>   a small (< 5%) percentage of boots, but I have been unable to
>   reproduce this. With the workaround enabled, inxi -A gives
>
>   Audio:
>     Device-1: Intel Smart Sound Audio driver: snd_hda_intel
>     Sound Server: ALSA v: k5.4.0-40-generic
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.04
>   Package: linux-image-5.4.0-40-generic 5.4.0-40.44
>   ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
>   Uname: Linux 5.4.0-40-generic x86_64
>   ApportVersion: 2.20.11-0ubuntu27.3
>   Architecture: amd64
>   AudioDevicesInUse:
>    USER        PID ACCESS COMMAND
>    /dev/snd/controlC0:  jill       1374 F.... pulseaudio
>   CasperMD5CheckResult: skip
>   CurrentDesktop: ubuntu:GNOME
>   Date: Sun Jul  5 13:32:58 2020
>   InstallationDate: Installed on 2020-07-03 (2 days ago)
>   InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
>   MachineType: LENOVO 81YK
>   ProcEnviron:
>    TERM=xterm-256color
>    PATH=(custom, no user)
>    XDG_RUNTIME_DIR=<set>
>    LANG=en_US.UTF-8
>    SHELL=/bin/bash
>   ProcFB: 0 i915drmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-40-generic
> root=UUID=dc3e058d-42fc-4de4-b94a-749c1295dc68 ro quiet splash vt.handoff=7
>   RelatedPackageVersions:
>    linux-restricted-modules-5.4.0-40-generic N/A
>    linux-backports-modules-5.4.0-40-generic  N/A
>    linux-firmware                            1.187.1
>   SourcePackage: linux
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 03/18/2020
>   dmi.bios.vendor: LENOVO
>   dmi.bios.version: DPCN40WW
>   dmi.board.asset.tag: NO Asset Tag
>   dmi.board.name: LNVNB161216
>   dmi.board.vendor: LENOVO
>   dmi.board.version: SDK0J40709 WIN
>   dmi.chassis.asset.tag: NO Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: LENOVO
>   dmi.chassis.version: IdeaPad 5 15IIL05
>   dmi.modalias:
> dmi:bvnLENOVO:bvrDPCN40WW:bd03/18/2020:svnLENOVO:pn81YK:pvrIdeaPad515IIL05:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrIdeaPad515IIL05:
>   dmi.product.family: IdeaPad 5 15IIL05
>   dmi.product.name: 81YK
>   dmi.product.sku: LENOVO_MT_81YK_BU_idea_FM_IdeaPad 5 15IIL05
>   dmi.product.version: IdeaPad 5 15IIL05
>   dmi.sys.vendor: LENOVO
>   ---
>   ProblemType: Bug
>   ApportVersion: 2.20.11-0ubuntu27.3
>   Architecture: amd64
>   AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
> '/dev/snd/timer'] failed with exit code 1:
>   CasperMD5CheckResult: skip
>   CurrentDesktop: ubuntu:GNOME
>   DistroRelease: Ubuntu 20.04
>   InstallationDate: Installed on 2020-07-03 (5 days ago)
>   InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
>   MachineType: LENOVO 81YK
>   Package: linux (not installed)
>   ProcEnviron:
>    TERM=xterm-256color
>    PATH=(custom, no user)
>    XDG_RUNTIME_DIR=<set>
>    LANG=en_US.UTF-8
>    SHELL=/bin/bash
>   ProcFB: 0 i915drmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-40-generic
> root=UUID=dc3e058d-42fc-4de4-b94a-749c1295dc68 ro quiet splash vt.handoff=7
>   ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
>   RelatedPackageVersions:
>    linux-restricted-modules-5.4.0-40-generic N/A
>    linux-backports-modules-5.4.0-40-generic  N/A
>    linux-firmware                            1.187.1
>   Tags:  wayland-session focal
>   Uname: Linux 5.4.0-40-generic x86_64
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
>   _MarkForUpload: True
>   dmi.bios.date: 03/18/2020
>   dmi.bios.vendor: LENOVO
>   dmi.bios.version: DPCN40WW
>   dmi.board.asset.tag: NO Asset Tag
>   dmi.board.name: LNVNB161216
>   dmi.board.vendor: LENOVO
>   dmi.board.version: SDK0J40709 WIN
>   dmi.chassis.asset.tag: NO Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: LENOVO
>   dmi.chassis.version: IdeaPad 5 15IIL05
>   dmi.modalias:
> dmi:bvnLENOVO:bvrDPCN40WW:bd03/18/2020:svnLENOVO:pn81YK:pvrIdeaPad515IIL05:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrIdeaPad515IIL05:
>   dmi.product.family: IdeaPad 5 15IIL05
>   dmi.product.name: 81YK
>   dmi.product.sku: LENOVO_MT_81YK_BU_idea_FM_IdeaPad 5 15IIL05
>   dmi.product.version: IdeaPad 5 15IIL05
>   dmi.sys.vendor: LENOVO
>   ---
>   ProblemType: Bug
>   ApportVersion: 2.20.11-0ubuntu27.3
>   Architecture: amd64
>   AudioDevicesInUse:
>    USER        PID ACCESS COMMAND
>    /dev/snd/controlC0:  jill       1365 F.... pulseaudio
>   CasperMD5CheckResult: skip
>   CurrentDesktop: ubuntu:GNOME
>   DistroRelease: Ubuntu 20.04
>   InstallationDate: Installed on 2020-07-03 (7 days ago)
>   InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
>   MachineType: LENOVO 81YK
>   Package: linux (not installed)
>   ProcEnviron:
>    TERM=xterm-256color
>    PATH=(custom, no user)
>    XDG_RUNTIME_DIR=<set>
>    LANG=en_US.UTF-8
>    SHELL=/bin/bash
>   ProcFB: 0 i915drmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.6.0-1018-oem
> root=UUID=dc3e058d-42fc-4de4-b94a-749c1295dc68 ro quiet splash vt.handoff=7
>   ProcVersionSignature: Ubuntu 5.6.0-1018.18-oem 5.6.18
>   RelatedPackageVersions:
>    linux-restricted-modules-5.6.0-1018-oem N/A
>    linux-backports-modules-5.6.0-1018-oem  N/A
>    linux-firmware                          1.187.1
>   Tags:  wayland-session focal
>   Uname: Linux 5.6.0-1018-oem x86_64
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
>   _MarkForUpload: True
>   dmi.bios.date: 03/18/2020
>   dmi.bios.vendor: LENOVO
>   dmi.bios.version: DPCN40WW
>   dmi.board.asset.tag: NO Asset Tag
>   dmi.board.name: LNVNB161216
>   dmi.board.vendor: LENOVO
>   dmi.board.version: SDK0J40709 WIN
>   dmi.chassis.asset.tag: NO Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: LENOVO
>   dmi.chassis.version: IdeaPad 5 15IIL05
>   dmi.modalias:
> dmi:bvnLENOVO:bvrDPCN40WW:bd03/18/2020:svnLENOVO:pn81YK:pvrIdeaPad515IIL05:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrIdeaPad515IIL05:
>   dmi.product.family: IdeaPad 5 15IIL05
>   dmi.product.name: 81YK
>   dmi.product.sku: LENOVO_MT_81YK_BU_idea_FM_IdeaPad 5 15IIL05
>   dmi.product.version: IdeaPad 5 15IIL05
>   dmi.sys.vendor: LENOVO
>   ---
>   ProblemType: Bug
>   ApportVersion: 2.20.11-0ubuntu27.3
>   Architecture: amd64
>   AudioDevicesInUse:
>    USER        PID ACCESS COMMAND
>    /dev/snd/controlC0:  jill       1365 F.... pulseaudio
>   CasperMD5CheckResult: skip
>   CurrentDesktop: ubuntu:GNOME
>   DistroRelease: Ubuntu 20.04
>   InstallationDate: Installed on 2020-07-03 (7 days ago)
>   InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
>   MachineType: LENOVO 81YK
>   Package: linux (not installed)
>   ProcEnviron:
>    TERM=xterm-256color
>    PATH=(custom, no user)
>    XDG_RUNTIME_DIR=<set>
>    LANG=en_US.UTF-8
>    SHELL=/bin/bash
>   ProcFB: 0 i915drmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.6.0-1018-oem
> root=UUID=dc3e058d-42fc-4de4-b94a-749c1295dc68 ro quiet splash vt.handoff=7
>   ProcVersionSignature: Ubuntu 5.6.0-1018.18-oem 5.6.18
>   RelatedPackageVersions:
>    linux-restricted-modules-5.6.0-1018-oem N/A
>    linux-backports-modules-5.6.0-1018-oem  N/A
>    linux-firmware                          1.187.1
>   Tags:  wayland-session focal
>   Uname: Linux 5.6.0-1018-oem x86_64
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
>   _MarkForUpload: True
>   dmi.bios.date: 03/18/2020
>   dmi.bios.vendor: LENOVO
>   dmi.bios.version: DPCN40WW
>   dmi.board.asset.tag: NO Asset Tag
>   dmi.board.name: LNVNB161216
>   dmi.board.vendor: LENOVO
>   dmi.board.version: SDK0J40709 WIN
>   dmi.chassis.asset.tag: NO Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: LENOVO
>   dmi.chassis.version: IdeaPad 5 15IIL05
>   dmi.modalias:
> dmi:bvnLENOVO:bvrDPCN40WW:bd03/18/2020:svnLENOVO:pn81YK:pvrIdeaPad515IIL05:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrIdeaPad515IIL05:
>   dmi.product.family: IdeaPad 5 15IIL05
>   dmi.product.name: 81YK
>   dmi.product.sku: LENOVO_MT_81YK_BU_idea_FM_IdeaPad 5 15IIL05
>   dmi.product.version: IdeaPad 5 15IIL05
>   dmi.sys.vendor: LENOVO
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1886341/+subscriptions
>


** Attachment added: "dmesg-5-4-0-42-46"
   
https://bugs.launchpad.net/bugs/1886341/+attachment/5392375/+files/dmesg-5-4-0-42-46

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886341

Title:
  Kernel Regression between 5.4.0-26 and 5.4.0-40 causes laptop internal
  audio devices to fail to load w/o unacceptable workaround (Lenovo
  IdeaPad 5 15IIL05)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1886341/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to