我刚刚从 Windows 11 迁移到 Ubuntu 22.04。我有一台 Thinkpad E15 Gen 4 AMD。使用 Windows 时,扬声器和麦克风都非常棒,因为笔记本电脑具有杜比音效。自从我迁移到 Ubuntu 后,质量就下降了。我以前在 Windows 中看到将声音驱动程序更新为 Realtek,但在 Ubuntu 设置中,它们被称为 Family 17h 音频控制器。
我用过aplay -l
,ALC257
所以我尝试了这个https://devicetests.com/install-realtek-audio-drivers-ubuntu但我在过程中遇到以下错误make
:
make -C /lib/modules/6.2.0-31-generic/build SUBDIRS=/home/user/Downloads/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory '/usr/src/linux-headers-6.2.0-31-generic'
SYNC include/config/auto.conf.cmd
LEX scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[2]: *** [Makefile:711: syncconfig] Error 2
Makefile:789: include/config/auto.conf.cmd: No such file or directory
make[1]: *** [Makefile:812: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.2.0-31-generic'
make: *** [Makefile:167: compile] Error 2
有人知道这里该做什么吗?