Ubuntu/debian No sound solution--compile and install the latest ALSA driver

Source: Internet
Author: User
Tags bz2

After installing Ubuntu, the system has no sound, mostly because Ubuntu's "voice Control driver: Alsa" does not correctly identify the computer's sound card. The solution to this problem, although a bit complicated, but there is worth trying, after all, no one wants in the world of Ubuntu, no sound of the day ~

Solution: Go to the official website of alsa, download 3 sound card driver Control program installation package separately, to install.

One. Sound card driver Control program: Alsa download

1. Download website: http://www.alsa-project.org/main/index.php/Main_Page

Here, we want to download the latest version of the Alsa 3 installation packages. From the above page, you can see the words "Download a package"-"current version" on the right.

Note: Alsa drive is constantly updated, we have to do is to download the latest version from the Internet, the above page location, directly provide the latest version of the direct download. This tutorial, I am currently the latest: 1.0.20, as an example to explain. Maybe when you see this tutorial, the version has been updated (like 1.0.21,22,23). Go to the suit download on the line. The installation method, process, is also completely generic.

We need to download the following 3 installation packages: (1) alsa-driver-1.0.20 (2) alsa-lib-1.0.20 (3) alsa-utils-1.0.20

Look at the picture, in this position, regardless of later version how to update, all directly click here on the line.

Two. Installation

Download a good 3 packages, respectively: alsa-driver-1.0.20.tar.bz2 and alsa-lib-1.0.20.tar.bz2 and alsa-utils-1.0.20.tar.bz2

These 3 packages, installation methods, installation procedures, installation procedures, exactly the same, are all Linux systems, the most original: "3 steps to compile and install". Therefore, my tutorial to the first package: alsa-driver-1.0.20.tar.bz2, to tell the specific installation practice process, the back of their own suit can be. In particular, these 3 packages are installed in sequential order, according to: Driver--lib--utils. All right, let's get started!

1. First in the terminal, download: Xmlto, this package and install

Method: From "Application"-"attachment", open "terminal", enter: sudo apt-get install Xmlto. This will download the installation. When installed, put the terminal window aside and we'll use it later.

2. Find you download good: alsa-driver-1.0.20.tar.bz2, double-click to open it, we can see inside a folder, with the left mouse button, drag to the "desktop." Wait a moment, you will see on the desktop there are: alsa-driver-1.0.20, the name of the folder.

3. In the terminal, we enter: CD desktop/Just the name of the folder, should be: CD Desktop/alsa-driver-1.0.20 (after you install LIB package, think about what it is here).

4. Return to enter:./configure carriage return

Description: This step is legendary, compile, configure the source code, depending on the operating system, according to the software packages that come with it, so the configure process is different. Therefore, no one can predict what will happen. But there is a prerequisite, that is, you press ENTER, the screen will start rolling, until completed, you want to see if there is: Error, the word. If not, you can continue to the following steps, if the halfway appeared "error", it must be based on the end of the error prompted information, to search the Internet to resolve this error. Once resolved, return to the "./configure" again.

ALSA sound card Driver "Configure", generally do not encounter any errors, in the "Ubuntu Linux 9.04 Desktop" under the test can be passed. Look at the picture, finally appear: Hacking autoconf.h ..., even if finished.

5. When you are done, go back to the prompt and you can continue typing: make, and proceed to the next step. Enter, the screen continues to start scrolling, the same reason, to observe if there is no "error" appears

This process, there will be a warning (warnning): Warning: The format string is not a literal string and there is no actual argument to format, this is okay, ignore it. Look at the picture. Make the process is relatively long, about 20 minutes, and finally will appear inside the diagram: "ALSA modules were successfully compiled", on behalf of success.


6. Return to command prompt after completion, input: sudo make install, enter can start installation drive.

Because my system has been installed, so this part of the screenshot is not sent. If there is no obvious "error" in the first two steps, then the last one, more than 80%, will not have any more problems.

Three. Installation of the following two packages.

Just said, 3 packages, the steps of the installation, the process, exactly the same. I'm going to sketch it out.

1. For: alsa-lib-1.0.20

Double-click the downloaded package, unzip the folder inside to the desktop, and then inside the terminal: CD desktop/alsa-lib-1.0.20./configure make

(Note that 2 steps above, there is no error, should be no, warning or whatever, do not need to tube it) sudo make install

Final completion. In fact, the first driver, is 3 packages inside the most important, it succeeded, and the back of the 2 almost will not have any problems.

2. For alsa-utils-1.0.20

Double-click the downloaded package, unzip the folder inside to the desktop, and then inside the terminal: CD desktop/alsa-utils-1.0.20./configure make

(Note that 2 steps above, there is no error, should be no, warning or whatever, do not need to tube it) sudo make install

In this way, 3 packages are completely installed and complete. You can restart the computer. For most of the current popular sound cards, you can hear the sound of the beautiful.

Four. Other minor problems known to exist

1. After restarting the computer, you may not hear the Ubuntu system start sound, don't worry, find a music to play to try, should have. The Sound of music is working properly. Back, you can also play the video to try

2. About video, if you play the video, in the "pause", the sound "but not paused", then replace a video player, I recommend you use SMPlayer, this.

3. If you are playing music, video, the sound appears "card" situation, you can try to replace the media player. Because this problem may not be the driver of the problem, but the media player is improperly set up, caused by.

4. Under the Linux system, the "source code" package, which is usually in its folder, comes with 2 files: the Readme (the description of the software) and the install (detailed description of the installation method). But since most of the software is developed by foreigners, these 2 documents are generally in the English version. Therefore, if you are good at English, it is recommended that before the installation, seriously look at these 2 files, for you to compile and install any software, is greatly helpful. Look at the picture, this is the two:

OK, this article is so, this article is not only to teach "Alsa sound card Driver" compiled installation. In fact, this "compile and install process: Unzip folders, enter folders,./configure,make,sudo make install" is a teaching for all the Linux world's "source" forms of installation packages (such as the XXXXX.tar.gz format).

Article reprinted from:http://wowocpp.blog.163.com/blog/static/1242627802009929218348/?fromdm&fromsearch& Isfromsearchengine=yes

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.