
我剛從 Windows 11 遷移到 Ubuntu 22.04。在 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
有人知道在這裡做什麼嗎?