Environmental ubuntu12.04
Because the desktop version of the default installed, and the sound is also very convenient, here is the server version of the configuration, after all, do the development often or with the server version of
1. Installation
Apt-get Install Alsa-base It will also be a piece of alsa-utils, this is a toolkit, if not installed directly apt-get install
2. Configure
The sound defaults to mute when the ALSA is installed under the server Edition
A graphical interface will appear when performing alsamixer
will see some are MM some oo with "M" key to switch to mute or open, general settings Master and PCM can be, the other to do their own look, do not be misled by the picture, the first two must be set to oo ...
3. Set the default sound card, sometimes there will be more than one sound card, we need to select a default
By pressing F6 on the interface above, you will know that you have a few sound cards or
Cd/proc/asound then the LS can also see their own sound card
There are two ways to set a default sound card
(1) Create file asound.conf under/etc/(the entire system is valid)
Vi/etc/asound.conf
If you want to set the sound card 1 to the default, write the following
Defaults.ctl.card 1
Defaults.pcm.card 1
Defaults.timer.card 1
(2) Create a file in the user directory. ASOUNDRC, and then write the same content inside it (only for this user)
4. The use of this tool is very simple, up and down about the four keys are done.