%general-entities; ]> $LastChangedBy$ $Date$ alsa-utils-&alsa-utils-version; alsa-utils Introduction to ALSA Utilities The ALSA Utilities package contains various utilities which are useful for controlling your sound card. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &alsa-utils-md5sum; Download size: &alsa-utils-size; Estimated disk space required: &alsa-utils-buildsize; Estimated build time: &alsa-utils-time; ALSA Utilities Dependencies Required Optional Dialog and Additional Downloads Optional patch: User Notes: Installation of ALSA Utilities If you have not installed the optional dependency , apply the following patch: patch -Np1 -i ../&alsa-utils-patch; Install ALSA Utilities by running the following commands: ./configure --without-systemdsystemunitdir && make This package does not come with a test suite. Now, as the root user: make install Command Explanations : This switch disables installation of Systemd units which are not necesary for BLFS. Configuring ALSA Utilities Config Files /var/lib/alsa/asound.state /var/lib/alsa/asound.state Configuration Information Use a bootscript to store the values at shutdown. alsa As the root user, install the init script /etc/rc.d/init.d/alsa included in the package. make install-alsa Note that all channels of your sound card are muted by default. You can use the alsamixer program to change this. Use speaker-test to check that your settings have been applied correctly. You should hear pink noise on your speakers. The alsactl program is normally run from a standard udev rule. The first time it is run, it will complain that there is no state in /var/lib/alsa/asound.state. You can prevent this by running the following commands as the root user: touch /var/lib/alsa/asound.state && alsactl store The volume settings will be restored from the saved state by Udev when the device is detected (during boot or when plugged in for USB devices). All sound devices are not accessible for any user except root and members of the audio group. Add any users that might use the sound devices to that group: usermod -a -G audio <username> You may need to log out and back in again to refresh your group memberships. 'su <username>' should work as well. Contents Installed Programs Installed Directory aconnect, alsaconf, alsactl, alsaloop, alsamixer, alsaucm, amidi, amixer, aplay, aplaymidi, arecord, arecordmidi, aseqdump, aseqnet, iecset and speaker-test /usr/share/sounds/alsa and /var/lib/alsa Short Descriptions aconnect is a utility for connecting and disconnecting two existing ports in the ALSA sequencer system. aconnect alsaconf is a configuration tool which tries to detect the sound cards on your system and write a suitable configuration file for ALSA. This program is incompatible with Udev. alsaconf alsactl is used to control advanced settings for the ALSA sound card drivers. alsactl alsaloop allows create a PCM loopback between a PCM capture device and a PCM playback device. alsaloop alsamixer is an Ncurses based mixer program for use with the ALSA sound card drivers. alsamixer amidi is used to read from and write to ALSA RawMIDI ports. amidi amixer allows command-line control of the mixers for the ALSA sound card drivers. amixer aplay is a command-line soundfile player for the ALSA sound card drivers. aplay aplaymidi is a command-line utility that plays the specified MIDI file(s) to one or more ALSA sequencer ports. aplaymidi arecord is a command-line soundfile recorder for the ALSA sound card drivers. arecord arecordmidi is a command-line utility that records a standard MIDI file from one or more ALSA sequencer ports. arecordmidi aseqdump is a command-line utility that prints the sequencer events it receives as text. aseqdump aseqnet is an ALSA sequencer client which sends and receives event packets over a network. aseqnet iecset is a small utility to set or dump the IEC958 (or so-called S/PDIF) status bits of the specified sound card via the ALSA control API. iecset speaker-test is a command-line speaker test tone generator for ALSA. speaker-test