Fix No Sound In Ubuntu Kylin 14.04 As HDMI Enabled BY Default
Sound problem is not new in Ubuntu.
After I installed Ubuntu Kylin 14.04 and start it for the first time, I realized that the system had no sound. While investigating the issue I found one strange thing. I checked alsamixerand it was in a weird state:
As you can see, HDMI is set by default in alsamixer. Which means by default HDMI output has been selected instead of the built in speakers. This is why I get no sound from the built in speakers in my system.
Use the following command to check the state of alsamixer:
If alsamixer is set by default to HDMI or some other audio output, continue this article to see how can we fix it.
Now to force Ubuntu Kylin to use analog output instead of HDMI by default, we need a little information. Open a terminal and use the following command:
This will list the devices, card number etc. Note down the card and device number for analog output. For me the output was like this:
Once you have the required card and device number, make a new configuration file like this:
sudo gedit /etc/asound.conf
The above command will also open the file. Add the following lines to it, replacing with your card and device number of course:
Save the file and restart the computer. You should hear the sound now. Just to mention, this will work for all the Linux distributions such as Linux Mint, Elementary OS, Fedora, Arch Linux etc. As I said previously, this “no sound fix” only works with the case where HDMI is set by default. For other cases, you can read this article:
（You may need break through firewalls.）http://itsfoss.com/fix-sound-Ubuntu Kylin-1304-quick-tip/