Fixed the problem of no sound after HDMI is enabled by default in Ubuntu 14.04, 14.04 hdmi

Source: Internet
Author: User
Tags arch linux linux mint

Fixed the problem of no sound after HDMI is enabled by default in Ubuntu 14.04, 14.04 hdmi

The voice problem is often discussed in Ubuntu. I have previously written a number of methods for fixing the "silent" Problem in Ubuntu, but the voice issues I am about to talk about here are different from those mentioned in another article.

Therefore, I installed Ubuntu 14.04 and re-installed it. As always, I have done all the things I have to do after installing Ubuntu 14.04. Then, I realized that the system was suddenly lost. When I was investigating the problem, I found a strange thing. I checked alsamixer and found it a little strange.

As you can see,HDMI is set by default in alsamixer.. This means that the HDMI output is used by default, instead of the built-in speaker. This is why I cannot obtain sound from the built-in speaker on the system.

Run the following command to check the status of alsamixer:

  1. Alsamixer

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

Fixed the problem of Ubuntu sound loss when it is set to HDMI by default.

Now we want to force Ubuntu to use analog output to replace the default HDMI, but we still need a little bit of information. Open the terminal and run the following command:

  1. Aplay-l

This will list devices, card numbers, and other things. Note: Check the card and device number used by the simulated output. My output is as follows:

Once you get the required card and device number, recreate a configuration file:

  1. Sudo gedit/etc/asound. conf

The above command will also open the file and add the following two lines. Of course, replace the card and device number with your own:

  1. Defaults. pcm. card1
  2. Defaults. pcm. device0

Save the file and restart the computer. Now, you should have heard the sound. It should be noted that this applies to all Linux distributions, such as Linux Mint, Elementary OS, Fedora, and Arch Linux. As I said before, this "nosound therapy" only applies to situations where HDMI is set as the default device. For other cases, you can read this article about how to fix the loss of voice in Ubuntu and Linux Mint.


Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.