This article arises from a problem (ironic by the way ...) that I had with Ubuntu 12.04 and all distros based on this particular version. The ironic thing about the problem is that for an LTS, it was the first version I used and it even gave me a problem on this PC. In this case, a sound problem.
The problem is not actually very serious, but it becomes annoying in daily use. It consists of this: I turn on the PC with headphones connected, I enter Ubuntu (or a derivative of the LTS) and listen to some music. When I get tired and disconnect the headphones, and I want to listen to music through the monitor speakers, nothing at all plays. If I turn on the PC with the headphones unplugged, I hear it through the speakers, but I plug in the headphones and it sounds out of both audio outputs.
The first days of use I looked for and I did not find information about it, so I quit. Now I installed elementaryOS Luna Beta 2 (and of course, it's based on Ubuntu 12.04), and to my surprise the bug was still there. I searched again and at last i found a solution in a couple of forums. The steps to follow are these:
- We open the mixer ALSA running the command:
alsamixer
Once 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 snd
We 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.conf
They 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=auto
If that doesn't work for you, tryoptions snd-hda-intel model=auto probe_mask=1
That 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 served you. If you have any questions or problems, below are the comments 🙂
The same error is present in the ALC 887 and it is solved in the same way. (I have a realtek of those)
Seriously? The surprising thing is that they did not want to fix it in the package or in the ALSA installation, if it is only one line to add ...
How are you doing under elementaryOS? - Stable? Any problem in the time you've used this distro ?!
Regards!
Oh well, several apps have forced me to close or hang. The first I fixed it by installing updates, the second is because of my old processor I suppose: / Carrying the load of Pantheon, Gala and their applications is not easy ...
I have another problem with the amd 780g chip. The sound is saturated and of poor quality at times. With skype, gtalk, mumble. etc.
I can unlock it by adjusting options in mumble, but at the moment I have not found a definitive solution
I had the same problem a long time ago. It is easy to fix but that should not happen in an LTS version more than a year after its launch.
Another thing is that the geniuses of Canonical came up with updating the ALSA less the driver, which left me without sound. Recommend using a PPA to fix it BY GOD!
Driver version: 1.0.24
Library version: 1.0.25
Utilities version: 1.0.25
In fact these problems were what pushed me to Debian.
I had no problems using audio in Debian, but Ubuntu LTS is unforgivable.
I had had problems with an ALC887 and tmb with this one: NVIDIA Corporation MCP61 High Definition Audio.
I use debian and sometimes it would turn on the PC and it simply did not recognize the audio and it would get "silly output". I attributed it to the fact that I also used a TV pci card.
It was really annoying, now it has been behaving bn a long time ago, but every time I get updates from alsa I start to shake
With the audio on my HP PC with Intel chipset I had no problem being in Debian except when opening Ardor, since it automatically silenced my computer without any explanation and putting the sound driver in ALSA.
I in funtoo with the kernel 3.10, but I put the Intel line, I have no sound either, in Ubuntu 13.04, I have to fix some pulseaudio parameters, but the sound is terrible, and in they should then pulseaudio ... a disaster ..., at least in My case.
Good thing I didn't update the 3.04 kernel that I have on my Debian Wheezy.
That is something that is the same in all distros: pulseaudio is a torment.
Some have it better implemented than others and it is practically a must to implement the latest version for decent performance.
Thanks for the tip Auros 😀
Regards!
Incredible friend, I suffered from the problem, but only when I have the sound set to 5.1 in the system.
The chip I have is a VIA VT1708S.
I said let me test, as this works with the snd-hda-intel framework.
Now I can use both the rear and front output.
Thanks for the tip.
Hello, I come to comment that the solution proposed here worked very well for me, but I left the audio of my webcam without capture.
It's a Logitech, Inc. Webcam C270
Investigating, I saw that the solution was, probe_mask = -1
With that I recognized the audio capture of the camera and it also works both to connect from the front and from the back.
I just wanted to say that.
Thanks again for the tip
Hello, how are you? First of all, thank you very much to AurosZx, although it has been a long time since this post was published, it was a great help to me to solve a problem with the output to the headphones.
I am using Ubuntu 14.04 on an ASUS K55A and the chip that appears to me in alsamixer is the Intel PantherPoint HDMI and it worked the first time. Regards.
It is not necessary to restart: sudo alsa force-reload