Ubuntu 18.04 更新后音频消失

Ubuntu 18.04 更新后音频消失

我已经在我的 Thinkpad X1 Carbon 第 7 代上使用 Ubuntu 18.04 一段时间了,音频工作正常,但是在昨天运行了一些更新之后,似乎声卡在我今天早上重新启动时停止了工作,这可能相互关联吗?

dmsg 输出:

[   32.624585] skl_hda_dsp_generic skl_hda_dsp_generic: Unsupported HDAudio/iDisp configuration found
[   32.624590] skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -22

/var/log/apt/history.log 的输出:

Start-Date: 2020-03-17  09:30:06
Commandline: aptdaemon role='role-commit-packages' sender=':1.214'
Install: linux-image-5.3.0-42-generic:amd64 (5.3.0-42.34~18.04.1, automatic), linux-headers-5.3.0-42-generic:amd64 (5.3.0-42.34~18.04.1, automatic), linux-modules-extra-5.3.0-42-generic:amd64 (5.3.0-42.34~18.04.1, automatic), linux-headers-5.3.0-42:amd64 (5.3.0-42.34~18.04.1, automatic), linux-modules-5.3.0-42-generic:amd64 (5.3.0-42.34~18.04.1, automatic)
Upgrade: gir1.2-nm-1.0:amd64 (1.10.6-2ubuntu1.2, 1.10.6-2ubuntu1.4), linux-libc-dev:amd64 (4.15.0-88.88, 4.15.0-91.92), linux-headers-generic-hwe-18.04:amd64 (5.3.0.40.97, 5.3.0.42.99), libnm0:amd64 (1.10.6-2ubuntu1.2, 1.10.6-2ubuntu1.4), network-manager:amd64 (1.10.6-2ubuntu1.2, 1.10.6-2ubuntu1.4), linux-image-generic-hwe-18.04:amd64 (5.3.0.40.97, 5.3.0.42.99), linux-signed-generic-hwe-18.04:amd64 (5.3.0.40.97, 5.3.0.42.99), linux-generic-hwe-18.04:amd64 (5.3.0.40.97, 5.3.0.42.99), network-manager-config-connectivity-ubuntu:amd64 (1.10.6-2ubuntu1.2, 1.10.6-2ubuntu1.4), code:amd64 (1.42.1-1581432938, 1.43.0-1583783132), linux-firmware:amd64 (1.173.15, 1.173.16), docker-ce:amd64 (5:19.03.7~3-0~ubuntu-bionic, 5:19.03.8~3-0~ubuntu-bionic), docker-ce-cli:amd64 (5:19.03.7~3-0~ubuntu-bionic, 5:19.03.8~3-0~ubuntu-bionic)
End-Date: 2020-03-17  09:31:51

Start-Date: 2020-03-18  06:58:27
Commandline: /usr/bin/unattended-upgrade
Remove: linux-headers-5.3.0-28:amd64 (5.3.0-28.30~18.04.1), linux-headers-5.3.0-28-generic:amd64 (5.3.0-28.30~18.04.1)
End-Date: 2020-03-18  06:58:27

Start-Date: 2020-03-18  06:58:30
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-extra-5.3.0-28-generic:amd64 (5.3.0-28.30~18.04.1)
End-Date: 2020-03-18  06:58:31

Start-Date: 2020-03-18  06:58:36
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-5.3.0-28-generic:amd64 (5.3.0-28.30~18.04.1), linux-image-5.3.0-28-generic:amd64 (5.3.0-28.30~18.04.1)
End-Date: 2020-03-18  06:58:40

Start-Date: 2020-03-18  06:58:48
Commandline: /usr/bin/unattended-upgrade
Upgrade: libcephfs2:amd64 (12.2.12-0ubuntu0.18.04.4, 12.2.12-0ubuntu0.18.04.5)
End-Date: 2020-03-18  06:58:49

Start-Date: 2020-03-18  06:58:53
Commandline: /usr/bin/unattended-upgrade
Upgrade: libicu60:amd64 (60.2-3ubuntu3, 60.2-3ubuntu3.1)
End-Date: 2020-03-18  06:58:55

Start-Date: 2020-03-18  06:59:01
Commandline: /usr/bin/unattended-upgrade
Upgrade: librados2:amd64 (12.2.12-0ubuntu0.18.04.4, 12.2.12-0ubuntu0.18.04.5)
End-Date: 2020-03-18  06:59:02

Start-Date: 2020-03-18  06:59:08
Commandline: /usr/bin/unattended-upgrade
Upgrade: python3-apport:amd64 (2.20.9-0ubuntu7.11, 2.20.9-0ubuntu7.12)
End-Date: 2020-03-18  06:59:09

Start-Date: 2020-03-18  06:59:14
Commandline: /usr/bin/unattended-upgrade
Upgrade: python3-problem-report:amd64 (2.20.9-0ubuntu7.11, 2.20.9-0ubuntu7.12)
End-Date: 2020-03-18  06:59:15

Start-Date: 2020-03-18  06:59:18
Commandline: /usr/bin/unattended-upgrade
Upgrade: apport:amd64 (2.20.9-0ubuntu7.11, 2.20.9-0ubuntu7.12)
End-Date: 2020-03-18  06:59:21

Start-Date: 2020-03-18  06:59:24
Commandline: /usr/bin/unattended-upgrade
Upgrade: apport-gtk:amd64 (2.20.9-0ubuntu7.11, 2.20.9-0ubuntu7.12)
End-Date: 2020-03-18  06:59:25

答案1

所以,回答我自己的问题。经过一番挖掘,我终于设法让我的音频再次工作。在找到这个帖子后https://bugs.archlinux.org/task/64720snd_hda_intel.dmic_detect=0我尝试按照本指南临时添加启动参数:如何添加内核启动参数?验证它是否有效。它解决了我的问题,我现在永久添加了密钥,并且修复似乎在重启后仍然存在。

答案2

我在 Ubuntu 19.10、Thinkpad X1C7 上遇到了同样的问题。此外,我无法再关机。我尝试了你自己的答案,但没有帮助。

因此我按照如下指令将内核从 5.3.0.42-generic 回滚到 5.3.0.40-generic: 如何在错误更新后降级内核(16.04)

重启后,它就起作用了。

相关内容