Introduction
Installing Arch Linux on a new ThinkPad L14 can be an exciting experience. However, during the initial setup, you might encounter an issue with no sound cards being detected. This article will guide you through the process of identifying and resolving this problem.
Identifying the Issue
To begin, let's check if the sound card is indeed not detected by the system. Open a terminal and type:
$ lspci | grep -i audio
The output should display information about the sound card. If the output is empty, it means the system doesn't detect any sound cards.
Updating the System
Before attempting to fix the issue, ensure your system is up-to-date. Run the following commands:
$ su -
$ su -i
$ pacman -Syu
Installing the Sound Driver
The Intel Raptor Lake-P/U/HcAVS sound controller is commonly used in ThinkPad L14. To install the corresponding driver, use the following commands:
$ su -
$ su -i
$ pacman -S intel-ucode
$ su -
$ su -i
$ pacman -S alsa-utils pipewire pipewire-alsa pipewire-pulse
Configuring the Sound System
After installing the necessary packages, configure the sound system by editing the following files:
/etc/pacman.conf: Add[multilib]to the [options] section and[multilib]to the [repositories] section./etc/pacman.conf: Addcolorandmultilibto theoptionssection of the[options]section./etc/pacman.conf: Add[archlinuxfr-multilib]to the[repositories]section./etc/pacman.conf: Add[lib32]to the[repositories]section./etc/pulse/default.pa: Addload-module module-udev-detectandload-module module-suspend-resumeat the end of the file.
Testing the Sound
After configuring the sound system, test the audio output by playing a sound file:
$ mp3play test.mp3
Following the steps outlined in this article should help you resolve the issue of no sound cards being detected during a fresh install of Arch Linux on a ThinkPad L14. If you still encounter problems, consider checking the Arch Linux forums for additional troubleshooting tips.