Fixed the problem of no sound after HDMI is enabled by default in Ubuntu 14.04.
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:
- 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:
- 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:
- 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:
- Defaults. pcm. card 1
- Defaults. pcm. device 0
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.
You can post comments to tell me whether this method is effective or if you have a better way to solve this problem. Goodbye!
About Abhishek
I am the founder of Abhishek Prakash, It's f.o. s. S. And I have a master's degree in communication system engineering. I love Linux and open source. I use Ubuntu and believe in sharing knowledge. In addition to Linux, I also like the classic detective reasoning novels and are a great fan of Agatha Christie. Everyone can do their best to circle me on Google + and follow @ abhishek_pc
Download, install, and configure Ubuntu 14.04
Ubuntu 14.04 system:
Ubuntu 14.04 text tutorial on hard drive installation in Windows 7
Via: http://itsfoss.com/fix-sound-ubuntu-1404/
Translator: GOLinux Proofreader: Caroline
This article was originally translated by LCTT and launched with the Linux honor in China