Linux under the solution of the sound card-alsa__linux

Source: Internet
Author: User
Tags bz2

ALSA, i.e. advanced Linux Sound architecture. It is a good sound card driver, can drive most of the sound card, but also support multiple audio streaming, support multiple sound card and so on. So that we can enjoy the wonderful music under Linux.

1. Confirm that there is no kernel source code package
Go to the/USR/SRC directory to see if there is a directory with a name similar to Linux-2.x.x-x, more than 100 MB. If not, you have to install one yourself. Release CD with.

2. Make a link to a source code package.
Ln-s linux-2.x.x-x Linux (where linux-2.x.x-x is the directory name for the source package)
Note: Friends who have upgraded the kernel should note that the link should point to the source code for the kernel you are currently using.

3. Confirm Kernel configuration. ALSA requires a kernel-supported sound card. Most of the current distributions have been configured to do so, they do not need to do.
Confirm method: Execute: Modinfo soundcore
If the return message indicates that the file is Soundcore, then the current kernel has been configured accordingly. Can be installed for ALSA.

ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.9.4.tar.bz2

ftp://ftp.alsa-project.org/pub/lib/alsa-lib-0.9.4.tar.bz2
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-0.9.4.tar.bz2
Put the package into a directory, and all subsequent operations are performed in that directory.
Decompression, execution:

Tar jxvf alsa-driver-0.9.4.tar.bz2
Tar jxvf alsa-lib-0.9.4.tar.bz2
Tar jxvf alsa-utils-0.9.4.tar.bz2

CD alsa-driver-0.9.4
./configure

Make
Make install
./snddevices
CD Utils
/alsaconf after the appearance of a terminal graphics configuration interface, all the way back to configure the sound card.

Execution: modprobe snd-sound card module name. (like:snd-intel8x0)

Because Linux defaults to mute, you need to configure the volume, save the settings, and load each time you start.

1. Configure Volume
The recommended use of alsactl+alsamixer or alsactl+gamix adjustment options is rich. The method is as follows:
A. Enter the alsa-lib-0.9.4 directory and execute:
./configure
Make
Make install
The above installation alsalib.

B. Enter the alsa-utils-0.9.4 directory and execute:
./configure
Make
Make install
The above installation Alsactl, Alsamixer, Amixer, Aplay tools.

C. Download Gamix
Http://www1.tcnet.ne.jp/fmurata/linux/down/gamix-1.99.p14.tar.gz
Decompression: Tar zxvf gamix-1.99.p14.tar.gz
CD GAMIX-1.99.P14
./configure
Make
Make install
Above installation Gamix

D. Take Alsactl+gamix as an example:
Execution: Gamix Open at least 3 volume switches (Headphone (headphones), pcm,master playback)
Adjust the appropriate volume, and then exit.

2. Save current volume configuration
Executive: Alsactl Store

3. Each boot load

Executive: Chkconfig--add Alsasound

Then reboot.

This article is passed under REDHAT9, referring to an article on the linuxsir.org (Forget the link address).




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.