Install ALSA sound card driver __linux in Linux

Source: Internet
Author: User
Tags bz2

Just installed the video card this time turn to Ann sound card, installation of a sound card than the installation of video card is much simpler, the main reason for the information on the Internet is more natural worry a lot. All right, the words are turning.
  
1. Download driver
  
You can download the ALSA drive here:
  
You need to download the following packages:
alsa-driver-1.0.10.tar.bz2
alsa-lib-1.0.10.tar.bz2
alsa-utils-1.0.10.tar.bz2
  
2. Decompression separately:
  
#tar JXVF alsa-driver-1.0.10.tar.bz2
#tar JXVF alsa-lib-1.0.10.tar.bz2
#tar JXVF alsa-utils-1.0.10.tar.bz2
  
3. Enter Alsa-driver first, then, Alsa-lib, and finally alsa-utils the folder to compile:
  
#./configure
#make
#make Install
  
The final step again into the Alsa-driver folder run and then compile please enter:
#./snddevices
  
After a few minutes to compile, the driver is finally installed, but if you restart immediately, your sound card is still not working, why. It's simple, you have to modify your module file/etc/modules.conf
#vi/etc/modules.conf
  
And at the end join in a few lines:
  
#====== added those lines =============
Alias char-major-116 snd
Options snd major=116 cards_limit=1
#---Intel 8x0 and SiS 7012----------
Alias snd-card-0 snd-intel8x0
Options snd-intel8x0 index=0 id= "ICH"
Alias Char-major-14 Soundcore
Alias sound-slot-0 snd-card-0
Alias sound-service-0-0 Snd-mixer-oss
Alias Sound-service-0-1 Snd-seq-oss
Alias Sound-service-0-3 Snd-pcm-oss
Alias Sound-service-0-8 Snd-seq-oss
Alias Sound-service-0-12 Snd-pcm-oss
#====
  
Then save and exit the reboot. It's done, and it's not audible. Do not matter I also encountered, turn on the volume controller, you will find that all the volume is 0, then I do not have to teach it, adjust the volume, first do not turn off the controller, directly test the sound card. Can you hear the sound. Not yet. Then smash the computer.

Second, install ALSA sound card driver Program
1. Download the following four packages to http://www.heihei.com/:
alsa-driver-0.5.9.tar.bz2
Alsaconf-0.4.3b.tar.gz
alsa-lib-0.5.9.tar.bz2
alsa-utils-0.5.9.tar.bz2
2. First install alsa-driver-0.5.9.tar.bz2 this file:
(1) CP alsa-driver-0.5.9.tar.bz2/tmp
Copy the alsa-driver-0.5.9.tar.bz2 to the/tmp directory.
(2) Bunzip2 alsa-driver-0.5.9.tar.bz2
To extract this file, a file is generated in the/tmp directory called Alsa-driver-0.5.9.tar.
(3) Tar xvf Alsa-driver-0.5.9.tar
A subdirectory will be generated in the/tmp directory, and all files called Alsa-driver-0.5.9,alsa are stored in this directory.
(4) CD alsa-driver-0.5.9
Enter the directory where the driver for the ALSA is stored, ready to configure and compile it. At this point you can look at the install file in the directory to understand the installation steps and considerations.
(5) Run the following three commands in turn:
./configure
Make install
./snddevices
3. Edit/etc/modules.conf File
The configuration of this file is cumbersome, but it can be done with alsaconf-0.4.3b.tar.gz, run the command:
(1) CP alsaconf-0.4.3b.tar.gz/tmp
Copy the alsaconf-0.4.3b.tar.gz to the/tmp directory.
(2) Tar zxvf alsaconf-0.4.3b.tar.gz
To extract this file, a subdirectory is generated in the/tmp directory called alsaconf-0.4.3b.
(3)./alsaconf
There will be a window to choose your sound card, such as SoundBlaster and ESS1868, S3_sonicvibes_pci, ensoniq_audiopci_es1370 1371, many of the current kernel does not support the sound card it can support.
Select the sound card after the system will ask you some questions, all answer OK, and then go back to the first screen to ask you to continue to set a second sound card, select "No_more_cards" Exit can be. After completing this step,/etc/modules.conf this file is basically automatically configured, restart the computer after the sound card can be audible.
4. If not, then you will also need to install Alsa-lib and Alsa-utils, installation method and alsa-driver the same, note to install Alsa-lib First, then install Alsa-utils. Copy the files to the/tmp directory, unzip them, and then run the commands make and install, please refer to the installation steps above Alsa-driver.
After installation to Alsa-utils (unlock alsa-utils-0.5.9.tar.bz2 will produce this directory) directory of Alsamixer subdirectory execution
./alsamixer
Well, your sound card should be audible.

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.