Headphone jack sense problem in Ubuntu 10.04 Lucid Lynx

After upgrading Dell Vostro 1014 laptop to Ubuntu 10.04 Lucid Lynx I found the old problem of headphones failing to mute the internal laptop speakers when plugged remains in the new release as well.

Three months ago I posted a workaround for Ubuntu Jaunty users in this post ALSA Jack Sense problem in Jaunty. However this solution doesn't work in Ubuntu Lucid.

To solve this issue you need to install linux-backports-modules-alsa-lucid-generic package and reboot your computer.


sudo apt-get update
sudo apt-get install linux-backports-modules-alsa-lucid-generic

Now speakers should mute as soon you plug in your headphones. If that doesn't work try to pass the correct model name by adding the line to /etc/modprobe.d/alsa-base.conf file. options snd-hda-intel model=dell-vostro enable=1 index=0

58 comments:

  1. Dear very thanks for this post.
    It fix my problem.

    ReplyDelete
  2. Thanks so much, this solved my problem as well!

    ReplyDelete
  3. This allows my head hones to funtion but if the headphones are removed then the speakers become increddibly quiet!

    ReplyDelete
  4. No luck for me; any other suggestions?

    ReplyDelete
  5. Patrick, I think its the same problem. I hope the ALSA address this problem in the newer release.

    @Anonymous

    Can you try to give more information. I have tested this on few computers it seems to work.

    ReplyDelete
  6. @Arky I have an Asus U50f laptop running 10.04 and it just won't work for me. And now that I have done these steps, when I plug in a usb soundcard that I've been using when I'm at work the whole computer locks up and I have to hard restart it. Hopefully I don't have to reformat my laptop this weekend to be able to use my headphones on Monday. :/

    ReplyDelete
  7. Small update: I fixed the crashing by reinstalling ALSA base but the headphone sense still does not work. Thanks in advance for trying to help me out. :D

    ReplyDelete
  8. this worked on my compaq presario AMD..thanks bro.

    ReplyDelete
  9. You are most welcome badlands !

    ReplyDelete
  10. I just brought a ASUS A42JV, having the same problem, the headphone not working in Ubuntu 10.04. The solution you provided is not working for my laptop, it there any other way?
    Btw, my headphone jack is joint with microphone jack...

    ReplyDelete
  11. I just brought a ASUS A42JV, having the same problem, the headphone not working in Ubuntu 10.04. The solution you provided is not working for my laptop, it there any other way?
    Btw, my headphone jack is joint with microphone jack...

    ReplyDelete
  12. Sorry papermeh don't have any other solution for this problem

    ReplyDelete
  13. Thanks, man. You are a lifesaver. i do a lot of stuff with recording and music, and this problem has plagued me you weeks. You are the best

    ReplyDelete
  14. Thank you! Had this annoying problem for weeks with lots of other sound issues aswell. Works now. Hopefully... ;)

    ReplyDelete
  15. Thanks! This worked! I also had no sound on my headphones, but my speakers were working fine! New Toshiba NB250, dual boot! Latest Ubuntu netbook version.

    ReplyDelete
  16. Fixed it, thank you so much! I wasn't even aware that my internal speakers were playing until the librarian told me everyone could hear my music haha. I was almost ready to go back to Windoze until I found this fix!

    ReplyDelete
  17. YES! Solved my Toshiba NB250 problems too!!!

    ReplyDelete
  18. Really nice information about the headphone, i like it.

    ReplyDelete
  19. Thank you! Solved the headphone problem and works for Toshiba Satellite A665

    ReplyDelete
  20. Thanks a lot. Fixed it for me on Acer Aspire 7740g

    ReplyDelete
  21. thanks ...n many2 thanks...solve my prob.....

    ReplyDelete
  22. Here is another solution that worked on my Hp/Compaq laptop:
    https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/585777

    ReplyDelete
  23. Thanks, this solved the same problem on a Toshiba L675-S7052 with ubuntu 10.4.
    The speakers were turning off when I plugged the headphones in, but no sound would come out of the headphones.

    ReplyDelete
  24. Thanks solved problem on a toshiba L675-s7052 with ubuntu 10.4

    ReplyDelete
  25. Thanks! Worked on Sony VAIO Model PCG-21314 netbook with Ubuntu 10.4

    ReplyDelete
  26. thanks alo0o0o0ot ...
    worked like a charm ...

    ReplyDelete
  27. Thank You so much... Your solution is awesome...

    ReplyDelete
  28. This didn't work for me, but I upgraded my Satellite L675D-S7016 to 10.10

    I used synaptic to install linux-backports-modules-alsa-maverick-generic and alsaplayer-jack but neither worked. I also added the line to alsa-base.conf No dice there either

    I have not upgraded my wife's laptop so I will try this on hers tonight and get back with you.

    ReplyDelete
  29. It doesn't work for me (Asus K50AB; VIA VT1801S). It only turn off sound when I plugg headphones and turn on it when I unplugg HP. In Gnome-alsa mixer disapear headphone option (is only HP independence, which not work).

    ReplyDelete
  30. OK, it worked just fine on my wife's Satellite L675D-S7016 with Ubuntu 10.04.

    Just to be thorough, I un-installed the packages from the synaptics package manager and tried to install it manually, but that didn't work either.

    I re-installed my Ubuntu going back to 10.04 from 10.10 and it worked perfectly on the first try.

    Thanks so much! Until I found this I thought it was the laptop and was so frustrated I was going to sell the laptops and buy new ones. You saved me a lot of money.

    Tip! I only found this thread because someone was thoughtful enough to include the full model number. Please! When commenting, include the full model number of your PC so others can find it too!

    And just in MHO, I am not too impressed with 10.10. I am recommending people wait for 11.04 You can't have a winner everytime, but Ubuntu sure comes close!

    ReplyDelete
  31. great, solved my problem! Thank you

    ReplyDelete
  32. Worked flawlessly on my Dell Studio 14! Thank you! You solved a major irritant for me. :)

    ReplyDelete
  33. Thanks a lot,solved the problem on my Toshiba Satellite L670,you're a genius!

    ReplyDelete
  34. ??? On my Dell Vostro (lucid lynx 10.04) this package has crashed my computer. Black screen, nothing to do. I had to use recovery mode to uninstall the package and things got back to normal. This is frustrating because that earphone problem is very annoying. Anyway, thanks for the tip, I'll keep searching.

    ReplyDelete
  35. Didn't work. When I try to install the linux-backports-modules-alsa-lucid-generic it has unmet dependencies. In the form of a package which does not yet seem to exist. linux-backports-modules-alsa-2.6.32-26-generic ?? Damn.
    This problem is annoying me because I have to restart my HP G61 with the headphones plugged in in order to use them, and if I then want to use the speakers again I need to restart again with the headphones unplugged. Any thoughts?

    ReplyDelete
  36. @Autonodrom

    Can you post the error message about the unmet dependencies?

    There is workaround here
    You can try it.

    ReplyDelete
  37. @CLS sorry to hear about the crash. Please do report a bug for the package in launchpad.net

    ReplyDelete
  38. Hey, thanks a million!!! This was driving me nuts but your solution worked perfectly on my new Asus K52F :))

    ReplyDelete
  39. apparently asus headphone jacks are fail (from what i read up there)...didn't fix me either :(

    I see nothing at all for headphones in the alsamixer thing

    ReplyDelete
  40. Thanks a lot !! it also works for Sony Vaio VPCF11M1E

    ReplyDelete
  41. Fixed 10.10 Maverick with headphones not turning off speakers. Many thanks.

    ReplyDelete
  42. yeah..nice post. thanks a lot, this is very useful :))

    ReplyDelete
  43. hmm... after installing that it just disabled my headphones all together :/

    my problem is that the output would not turn off the speakers, so the sound came from both the onboard speakers (Asus 52F laptop) and the headphones at the same time.

    ReplyDelete
  44. sorry about the double post but i think it would be helpful to know that my soundcard is a Intel G45 DEVIBX

    ReplyDelete
  45. For Asus K52J and operating system Mandriva 2010 I could not find linux-backports-modules-alsa-2.6.32-26-generic .
    There is another way to solve this issue?
    Thank you!

    ReplyDelete
  46. Gzabi,I don't use Mandriva. Try to download the latest ALSA source code and compile it.

    Also file a bug report with Mandriva for this.
    https://launchpad.net/mandriva/+source/alsa-driver/

    ReplyDelete
  47. thanks mate it helped a lot

    ReplyDelete
  48. thank you a lot! worked for me (dell vostro 1115, ubuntu 10.04)

    ReplyDelete
  49. thks solved problem with non dell machine too...

    ReplyDelete
  50. Thanks...It's work!

    ReplyDelete
  51. sudo apt-get install linux-alsa-driver-modules-$(uname -r)

    that must be added to authors recipe.
    thanks

    ReplyDelete
  52. Im giving it one more try. Fantastic update mate!

    ReplyDelete
  53. Hi, thanks. My problem is solved. But a new problem is that now microphone is not working. How can i solve this problem..?
    regards'
    Kamal Dutta

    ReplyDelete
    Replies
    1. Kamal, Make sure your microphone volume is not muted. Can you give me more information?

      Delete
  54. Hi there -- this solution worked fine on my Eeepc 1005 pe running ubuntu 10.04. After some update I've lost the option "audio off" while plugging in my headphones. Now the automatic audio off is restored. Thanx a lot.

    ReplyDelete

You can leave a comment here using your Google account, OpenID or as an anonymous user.