The fix was in the -32 kernel, but I don't know why this fix is reverted from -33 kernel, and I just checked the -34 kernel, the fix is in the -34 kernel. The fix is:
commit 9b419c6ae76ad59f6fc4529fc03ddbc12a22cdec Author: Takashi Iwai <ti...@suse.de> Date: Fri Apr 24 08:12:22 2020 +0200 ALSA: hda: Match both PCI ID and SSID for driver blacklist BugLink: https://bugs.launchpad.net/bugs/1878040 commit 977dfef40c8996b69afe23a9094d184049efb7bb upstream. The commit 3c6fd1f07ed0 ("ALSA: hda: Add driver blacklist") added a new blacklist for the devices that are known to have empty codecs, and one of the entries was ASUS ROG Zenith II (PCI SSID 1043:874f). However, it turned out that the very same PCI SSID is used for the previous model that does have the valid HD-audio codecs and the change broke the sound on it. Since the empty codec problem appear on the certain AMD platform (PCI ID 1022:1487), this patch changes the blacklist matching to both PCI ID and SSID using pci_match_id(). Also, the entry that was removed by the previous fix for ASUS ROG Zenigh II is re-added. Link: https://lore.kernel.org/r/20200424061222.19792-1-ti...@suse.de Signed-off-by: Takashi Iwai <ti...@suse.de> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> Signed-off-by: Kamal Mostafa <ka...@canonical.com> Signed-off-by: Stefan Bader <stefan.ba...@canonical.com> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index bdb1a9dbe7f4..8bcf0324d7f8 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2025,9 +2025,10 @@ static void pcm_mmap_prepare(struct snd_pcm_substream *substream, * some HD-audio PCI entries are exposed without any codecs, and such devices * should be ignored from the beginning. */ -static const struct snd_pci_quirk driver_blacklist[] = { - SND_PCI_QUIRK(0x1462, 0xcb59, "MSI TRX40 Creator", 0), - SND_PCI_QUIRK(0x1462, 0xcb60, "MSI TRX40", 0), +static const struct pci_device_id driver_blacklist[] = { + { PCI_DEVICE_SUB(0x1022, 0x1487, 0x1043, 0x874f) }, /* ASUS ROG Zenith II / Strix */ + { PCI_DEVICE_SUB(0x1022, 0x1487, 0x1462, 0xcb59) }, /* MSI TRX40 Creator */ + { PCI_DEVICE_SUB(0x1022, 0x1487, 0x1462, 0xcb60) }, /* MSI TRX40 */ {} }; @@ -2047,7 +2048,7 @@ static int azx_probe(struct pci_dev *pci, bool schedule_probe; int err; - if (snd_pci_quirk_lookup(pci, driver_blacklist)) { + if (pci_match_id(driver_blacklist, pci)) { dev_info(&pci->dev, "Skipping the blacklisted device\n"); return -ENODEV; } -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1879939 Title: Audio stopped working after 5.4.0-31 kernel update Status in linux package in Ubuntu: Confirmed Bug description: After rebooting following a system update where kernel 5.4.0-31 got installed, the main audio output stopped working. HDMI audio and USB headphones still work. Rebooting using the previous kernel (5.4.0-29) restores audio. Description: Ubuntu 20.04 LTS Release: 20.04 log of the update that broke audio: Install: linux-image-5.4.0-31-generic:amd64 (5.4.0-31.35), linux-headers-5.4.0-31-generic:amd64 (5.4.0-31.35), linux-modules-extra-5.4.0-31-generic:amd64 (5.4.0-31.35), linux-modules-5.4.0-31-generic:amd64 (5.4.0-31.35), linux-headers-5.4.0-31:amd64 (5.4.0-31.35) Upgrade: bind9-dnsutils:amd64 (1:9.16.1-0ubuntu2, 1:9.16.1-0ubuntu2.1), linux-headers-generic:amd64 (5.4.0.29.34, 5.4.0.31.36), linux-libc-dev:amd64 (5.4.0-29.33, 5.4.0-31.35), linux-image-generic:amd64 (5.4.0.29.34, 5.4.0.31.36), bind9-host:amd64 (1:9.16.1-0ubuntu2, 1:9.16.1-0ubuntu2.1), dnsutils:amd64 (1:9.16.1-0ubuntu2, 1:9.16.1-0ubuntu2.1), linux-generic:amd64 (5.4.0.29.34, 5.4.0.31.36), bind9-libs:amd64 (1:9.16.1-0ubuntu2, 1:9.16.1-0ubuntu2.1) ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-modules-extra-5.4.0-31-generic 5.4.0-31.35 ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34 Uname: Linux 5.4.0-31-generic x86_64 ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: zeyelth 1921 F.... pulseaudio CasperMD5CheckResult: skip CurrentDesktop: KDE Date: Thu May 21 13:05:44 2020 HibernationDevice: RESUME=UUID=8ede6c97-084e-4c19-b235-2ba8b2c5565c InstallationDate: Installed on 2017-10-29 (934 days ago) InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) MachineType: System manufacturer System Product Name ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-31-generic root=/dev/mapper/kubuntu--vg-root ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-5.4.0-31-generic N/A linux-backports-modules-5.4.0-31-generic N/A linux-firmware 1.187 RfKill: SourcePackage: linux UpgradeStatus: Upgraded to focal on 2020-05-08 (12 days ago) dmi.bios.date: 04/16/2018 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1003 dmi.board.asset.tag: Default string dmi.board.name: ROG ZENITH EXTREME dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1003:bd04/16/2018:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnROGZENITHEXTREME:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring: dmi.product.family: To be filled by O.E.M. dmi.product.name: System Product Name dmi.product.sku: SKU dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879939/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp