Archlinux alsa installation, volume setting and volume information saving

xfce4

The following packages are installed:

  • pulseaudio-alsa, just a configuration file, the use is unknown
  • pamixer-git. The command line is used to adjust the volume, and the Awesome volume widget uses this instead
  • pavucontrol, a GUI volume control tool. Right-click on the updated  Awesome volume widget  to run it, which can be adjusted for different programs

1. Confirm that alsa-utils is installed before use

sudo pacman -S alsa-utils
2, run alsamixer debug volume

Use the left and right keys of alsamixer
to choose which one to adjust, press "m" to unmute Master and PCM (the lower MM becomes 00), and use the up and down keys to increase the volume (I adjusted both to 79)

You can hear the sound basically by singing

3, Esc to exit, save the settings, run

Sudo alsactl store
Remember that ordinary users must add sudo, otherwise an error will be reported alsactl:state_lock:125 /var/lib/alsa/asound.state lock error: File exists

sudo sudo sudo! I've been stuck in this place for two days. Every time I log in, I have to adjust the volume first. . . .

4. Reboot test volume configuration is still finished

reboot

Guess you like

Origin blog.csdn.net/love906897406/article/details/125803522