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
Dear very thanks for this post.
ReplyDeleteIt fix my problem.
Excellent,
ReplyDeleteThanks a lot!
Thanks so much, this solved my problem as well!
ReplyDeleteThis allows my head hones to funtion but if the headphones are removed then the speakers become increddibly quiet!
ReplyDeleteNo luck for me; any other suggestions?
ReplyDeletePatrick, I think its the same problem. I hope the ALSA address this problem in the newer release.
ReplyDelete@Anonymous
Can you try to give more information. I have tested this on few computers it seems to work.
@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. :/
ReplyDeleteSmall 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
ReplyDeletethis worked on my compaq presario AMD..thanks bro.
ReplyDeleteYou are most welcome badlands !
ReplyDeleteI 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?
ReplyDeleteBtw, my headphone jack is joint with microphone jack...
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?
ReplyDeleteBtw, my headphone jack is joint with microphone jack...
Sorry papermeh don't have any other solution for this problem
ReplyDeleteThanks, 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
ReplyDeleteThank you! Had this annoying problem for weeks with lots of other sound issues aswell. Works now. Hopefully... ;)
ReplyDeleteThanks! 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.
ReplyDeleteFixed 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!
ReplyDeleteYES! Solved my Toshiba NB250 problems too!!!
ReplyDeleteReally nice information about the headphone, i like it.
ReplyDeleteThank you! Solved the headphone problem and works for Toshiba Satellite A665
ReplyDeleteThanks a lot. Fixed it for me on Acer Aspire 7740g
ReplyDeletethanks ...n many2 thanks...solve my prob.....
ReplyDeleteHere is another solution that worked on my Hp/Compaq laptop:
ReplyDeletehttps://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/585777
Thanks, this solved the same problem on a Toshiba L675-S7052 with ubuntu 10.4.
ReplyDeleteThe speakers were turning off when I plugged the headphones in, but no sound would come out of the headphones.
Thanks solved problem on a toshiba L675-s7052 with ubuntu 10.4
ReplyDeleteThanks! Worked on Sony VAIO Model PCG-21314 netbook with Ubuntu 10.4
ReplyDeletethanks alo0o0o0ot ...
ReplyDeleteworked like a charm ...
Thank You so much... Your solution is awesome...
ReplyDeleteThis didn't work for me, but I upgraded my Satellite L675D-S7016 to 10.10
ReplyDeleteI 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.
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).
ReplyDeleteOK, it worked just fine on my wife's Satellite L675D-S7016 with Ubuntu 10.04.
ReplyDeleteJust 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!
great, solved my problem! Thank you
ReplyDeleteWorked flawlessly on my Dell Studio 14! Thank you! You solved a major irritant for me. :)
ReplyDeleteThanks a lot,solved the problem on my Toshiba Satellite L670,you're a genius!
ReplyDelete??? 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.
ReplyDeleteDidn'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.
ReplyDeleteThis 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?
@Autonodrom
ReplyDeleteCan you post the error message about the unmet dependencies?
There is workaround here
You can try it.
@CLS sorry to hear about the crash. Please do report a bug for the package in launchpad.net
ReplyDeleteHey, thanks a million!!! This was driving me nuts but your solution worked perfectly on my new Asus K52F :))
ReplyDeleteapparently asus headphone jacks are fail (from what i read up there)...didn't fix me either :(
ReplyDeleteI see nothing at all for headphones in the alsamixer thing
Thanks a lot !! it also works for Sony Vaio VPCF11M1E
ReplyDeleteFixed 10.10 Maverick with headphones not turning off speakers. Many thanks.
ReplyDeleteyeah..nice post. thanks a lot, this is very useful :))
ReplyDeletehmm... after installing that it just disabled my headphones all together :/
ReplyDeletemy 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.
sorry about the double post but i think it would be helpful to know that my soundcard is a Intel G45 DEVIBX
ReplyDeleteFor Asus K52J and operating system Mandriva 2010 I could not find linux-backports-modules-alsa-2.6.32-26-generic .
ReplyDeleteThere is another way to solve this issue?
Thank you!
Gzabi,I don't use Mandriva. Try to download the latest ALSA source code and compile it.
ReplyDeleteAlso file a bug report with Mandriva for this.
https://launchpad.net/mandriva/+source/alsa-driver/
thank you a lot! worked for me (dell vostro 1115, ubuntu 10.04)
ReplyDeletethks solved problem with non dell machine too...
ReplyDeleteThanks...It's work!
ReplyDeletesudo apt-get install linux-alsa-driver-modules-$(uname -r)
ReplyDeletethat must be added to authors recipe.
thanks
Thank you !
DeleteIm giving it one more try. Fantastic update mate!
ReplyDeleteHi, thanks. My problem is solved. But a new problem is that now microphone is not working. How can i solve this problem..?
ReplyDeleteregards'
Kamal Dutta
Kamal, Make sure your microphone volume is not muted. Can you give me more information?
DeleteHi 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