This article stems from a problem ( ironic, I might add… ) I had with Ubuntu 12.04 and all distributions based on this particular version. The irony is that, despite being an LTS release, it was the first version I ever used, and it caused a problem on this PC. In this case, a sound issue.
The problem isn't really that serious, but it can be annoying in daily use. Here's what happens: I turn on my PC with headphones plugged in, boot into Ubuntu ( or an LTS version ), and listen to some music. When I get tired of it and unplug the headphones, and want to listen to music through the monitor speakers, there's absolutely no sound. If I turn on the PC with the headphones unplugged, the music works through the speakers, but when I plug in the headphones, it works through both audio outputs.
During the first few days of use, I searched but couldn't find any information about it , so I left it alone. Now I've installed elementaryOS Luna Beta 2 (which, of course, is based on Ubuntu 12.04), and to my surprise, the bug was still there. I searched again and finally found a solution in a couple of forums. The steps to follow are these:
- We open the mixer ALSA running the command:
alsamixerOnce there we check where it says «chip»To make sure we have the ALC888. This chip is generally integrated into sound systems Intel HDA. - We close the mixer with the key [esc]. Next, we make sure we have a Intel HDA (it must be one of these for the hack to work). We write in the terminal:
lsmod | grep sndWe look for some lines that say snd_hda_intel. This means that we meet the requirements. - We execute the command:
sudo <editor> /etc/modprobe.d/alsa-base.confThey replace by your preferred editor, such as nano, leafpad, or gedit. - At the end of the file, we will add a line of code, which goes like this:
options snd-hda-intel model=autoIf that doesn't work for you, tryoptions snd-hda-intel model=auto probe_mask=1That tells ALSA to automatically and generally identify the sound card, rather than trying to establish an exact model. - We save the file and restart. Then we test.
In case of problems ...
It is possible that when following these steps you may have a problem, I leave some with your solution:
- «The file that I must edit is not in the path that you comment«. Maybe it's in a different path, you can try installing the mlocate package and running: cd / then locate alsa-base.conf to locate the file. If not, try creating it from scratch and add the line of code.
- «I added one of the lines, saved, rebooted and now I have no sound. The sound panel tells me 'Exit for clumsy'«. That code may not be correct. Try to change it for another, or in any case delete it. Then reboot and voila.
- «Neither line worked for me«. It is possible that your integrated sound is somewhat different, in any case you should try changing model = auto for a more exact model based on your Chip.
That's all, something very simple, I hope it has been useful. If you have any questions or problems, below are the comments 