我最近在我的 Thinkpad x1 Carbon 7th 上安装了 Ubuntu 18.04,机器在没有麦克风或指纹识别器的情况下工作,但除此之外没有问题。单击更新窗口后,我遇到了另外两个问题:
- 没有音频。声音变为“假”并且现在音频不起作用
- 唤醒。闲置一段时间后,计算机不会唤醒。
这是命令序列:
$ uname -r
5.3.0-45-generic
$ aplay -l
aplay: device_list:270: no soundcards found...
$ nano /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
知道如何修复这个问题吗?
答案1
我的 Acer Swift SF514 和 Ubuntu 19.10 也存在同样的问题:内核 5.3.0-40-generic 运行正常 内核 5.3.0-42-generic 存在声音问题。内核 5.3.0-45-generic 存在声音问题。内核 5.3.0-46-generic 存在声音问题。
因此我使用以下命令安装了内核 5.3.0-40-generic:sudo apt-get install linux-image-5.3.0-40-generic 并从启动菜单中选择正确的版本;仍然希望下一个内核版本会做得更好。
彼得·M
答案2
我找到了解决方案。需要手动更新 Linux 内核https://kernel.ubuntu.com/~kernel-ppa/mainline/
我更新到 5.6.3 版本,更新后一切正常。
脚步:
- 下载通用模块、图像和标题
- 从 deb 包安装
- 制作
sudo update-grub
- 重启