How To: Fix sound issues with ALC888 on Ubuntu12.04 and derivatives

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:

  1. 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.
  2. 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.
  3. We execute the command: sudo <editor> /etc/modprobe.d/alsa-base.conf They replace by your preferred editor, such as nano, leafpad, or gedit.
  4. 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, try options 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.
  5. 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 🙂


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   pandev92 said

    The same error is present in the ALC 887 and it is solved in the same way. (I have a realtek of those)

    1.    auroszx said

      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 ...

      1.    st0rmt4il said

        How are you doing under elementaryOS? - Stable? Any problem in the time you've used this distro ?!

        Regards!

        1.    auroszx said

          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 ...

  2.   Pablo said

    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

  3.   eliotime3000 said

    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.

  4.   pandev92 said

    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.

    1.    eliotime3000 said

      Good thing I didn't update the 3.04 kernel that I have on my Debian Wheezy.

  5.   st0rmt4il said

    Thanks for the tip Auros 😀

    Regards!

  6.   Mauricio said

    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.

  7.   Mauricio said

    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

  8.   rebox said

    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.

  9.   Baphomet said

    It is not necessary to restart: sudo alsa force-reload