Fixed an issue in Ubuntu 14.04 with no sound after enabling HDMI by default

Source: Internet
Author: User
Tags arch linux linux mint

Sound problems are a cliché in Ubuntu. I've written a number of ways to fix the "silent" issue in Ubuntu earlier, but the sound problem I'm talking about here is different from the one mentioned in another article.

So I installed Ubuntu 14.04, and I actually reinstalled it again. As always, I'm going to do all of the new Ubuntu 14.04 and do it all over again. Then, I realized that the system suddenly lost its voice. When I was investigating the problem, I found something strange. I checked the alsamixer and found it a bit bizarre.

As you can see,HDMI is set by default in Alsamixer. This means that the HDMI output will be used by default instead of the built-in speakers. That's why I can't get sound from the built-in speakers on my system.

Use the following command to check the status of the Alsamixer:

    1. Alsamixer

If Alsamixer is set to HDMI or other sound output by default, read on to see how we fix the problem.

Fix Ubuntu's problem when default is set to HDMI

Now to force Ubuntu to use the analog output instead of the default HDMI, but we also need a little bit of information. Open the terminal, and then use the following command:

    1. Aplay -l

This will list things like devices, card numbers, and so on. Note that the card and device number used by the analog output is checked down. My output is as follows:

Once you have obtained the required card and device number, rebuild a configuration file:

    1. sudo gedit /etc/asound. conf

The above command will also open the file, add the following two lines, of course, the card and device number is replaced by your own:

    1. Defaults. PCM. Card 1
    2. Defaults. PCM. Device 0

Save the file and restart the computer. Now, you should hear the sound. It should be mentioned that this works for all Linux distributions, such as Linux mint,elementary Os,fedora,arch Linux, and so on. As I said before, this "burst therapy" is only for the case where HDMI is set as the default device. For other situations, you can read this article about fixing the problem of losing your voice in Ubuntu and Linux Mint.

You can leave a comment to tell me whether the method is effective, or if you have a better way to deal with the problem, you can also tell me. Bye!

Fixed an issue in Ubuntu 14.04 with no sound after enabling HDMI by default

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.