How to install the ALSA sound card driver in Linux

Source: Internet
Author: User
Article Title: teaches you how to install the ALSA sound card driver in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The installation of the video card is much easier than the installation of the video card. The main reason is that the information on the Internet is quite easy. Now let's go.
  
   1. Download the driver
  
You can download the ALSA driver 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. decompress the files 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. first enter the alsa-driver, then, alsa-lib, and finally the alsa-utils folder for compilation:
  
#./Configure
# Make
# Make install
  
In the last step, enter the alsa-driver folder again to run the program and then compile the program. Enter:
#./Snddevices
  
After a few minutes, the compilation will be completed. At last, the driver has been installed, but if you restart it immediately, your sound card still cannot work. why? You have to modify the module file/etc/modules. conf.
# Vi/etc/modules. conf
  
Add the following lines at the end:
  
#===== Added those lines ====================
Alias char-major-116 snd
Options snd maid = 116 cards_limit = 1
# --- Intel 8x0 and SiS 7012 ----------
Alias snd-card-0 snd-intel8x0
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
#====
  
Save and restart. This is done. Do you still have to speak out? It doesn't matter if I turn on the volume controller. You will find that all the volume is 0, so I don't need to teach it anymore. After the volume is adjusted, do not turn off the controller and test the sound card directly. Can you hear the sound? Not yet? Then the computer is broken.

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.