Public bug reported:

After installing current 20.04 release on ThinkBook 13s IML with Intel
audio card there is no sound available because sound card not detected
(only dummy output available in sound settings):

$ alsamixer 
cannot open mixer: No such file or directory

$ lspci -nnk |grep -A2 audio
lspci: Unable to load libkmod resources: error -12
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:02c8]
        Subsystem: Lenovo Device [17aa:3816]
        Kernel driver in use: sof-audio-pci
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:02a3]
        Subsystem: Lenovo Device [17aa:3819]

$ pacmd list-cards 
0 card(s) available.

$ dmesg |grep sof
[    0.755398] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.755400] software IO TLB: mapped [mem 0x7d91d000-0x8191d000] (64MB)
[    2.142149] systemd[1]: Mounting Mount unit for software-boutique, revision 
54...
[    2.333772] systemd[1]: Mounted Mount unit for software-boutique, revision 
54.
[    2.770307] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine 
driver found
[    2.770316] sof-audio-pci 0000:00:1f.3: DSP detected with PCI 
class/subclass/prog-if 0x040100
[    2.770473] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    2.770696] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops 
i915_audio_component_bind_ops [i915])
[    2.779359] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    2.779360] sof-audio-pci 0000:00:1f.3: using HDA machine driver 
skl_hda_dsp_generic now
[    2.817051] sof-audio-pci 0000:00:1f.3: Direct firmware load for 
intel/sof/sof-cnl.ri failed with error -2
[    2.817054] sof-audio-pci 0000:00:1f.3: error: request firmware 
intel/sof/sof-cnl.ri failed err: -2
[    2.817057] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[    2.817058] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2

I've found similar bug reported here:
https://bugs.archlinux.org/task/64720

As a workaround I've added `snd_hda_intel.dmic_detect=0` to boot options
and after that sound card successfully detected and started working.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-14-generic 5.4.0-14.17
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu18
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
CurrentDesktop: MATE
Date: Wed Feb 26 19:22:05 2020
InstallationDate: Installed on 2020-02-25 (1 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Alpha amd64 (20200221)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 04f3:0c02 Elan Microelectronics Corp. ELAN:Fingerprint
 Bus 001 Device 002: ID 04f2:b61e Chicony Electronics Co., Ltd Integrated Camera
 Bus 001 Device 004: ID 8087:0aaa Intel Corp. 
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20RR
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-14-generic 
root=UUID=94f1e507-a44a-46a8-9163-548d27303afb ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-14-generic N/A
 linux-backports-modules-5.4.0-14-generic  N/A
 linux-firmware                            1.186
SourcePackage: linux-5.4
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/29/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: CQCN24WW
dmi.board.asset.tag: No Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697WIN
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ThinkBook 13s-IML
dmi.modalias: 
dmi:bvnLENOVO:bvrCQCN24WW:bd10/29/2019:svnLENOVO:pn20RR:pvrLenovoThinkBook13s-IML:rvnLENOVO:rnLNVNB161216:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrLenovoThinkBook13s-IML:
dmi.product.family: ThinkBook 13s-IML
dmi.product.name: 20RR
dmi.product.sku: LENOVO_MT_20RR_BU_idea_FM_ThinkBook 13s-IML
dmi.product.version: Lenovo ThinkBook 13s-IML
dmi.sys.vendor: LENOVO

** Affects: linux-5.4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

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

Title:
  Failed to init Intel sound card in 20.04

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to