Linux alsa sound card driver ann loading and unloading set default sound card __linux

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.