A number of updates were installed on my machine yesterday. Ubuntu asked me to reboot, but I was busy, so I never ended up doing that yesterday. This morning, I booted my machine and was very surprised to find out that my headphone jacks no longer worked. Needless to say, I was upset.
As I discussed in a previous post, I’m running Ubuntu 8.10 (Intrepid Ibex) on a Dell Studio 17 laptop and getting the headphones to work required some workarounds. Basically, you had to set up the headphones to be line outs which caused one of the jacks to function but failed to mute the speakers when headphones were plugged in. This resulted in needing to manually mute and unmute the Front audio channel when you used or removed headphones. It’s because of this workaround that I thought the jack no longer worked.
In fact, it wasn’t that the jack had failed, it’s that I had the Front channel muted. I figured that I’d just unmute the speakers to ensure that the speakers still worked, and I was pleasantly surprised to hear sound blaring out of my headphones. Not only do the headphones now work while the Front channel is unmuted, they properly disable the speakers when headphones or speakers are plugged into the jack. Needless to say, this is a very nice improvement as compared to before.
At this point I realized that the other jack might function as well. In order to test this, I left my headphones plugged in and plugged in a set of speakers to the other jack (no, I don’t commonly do this, it’s just for testing purposes). I turned the speakers on, and they too had sound, glorious sound! I put the headphones in my ears, and they too were going. I played around with plugging and unplugging cables, and everything worked exactly as you’d expect. If anything is plugged into either headphone jack, the speakers turn off and sound comes through the jack(s). Unplug all devices from the jacks, and the speakers turn on.
This seems like a simple thing, and in reality it is. However, having something work the way it should is a thousand times better than having it not work properly. This means that any Dell Studio laptop users (and most likely users of other systems with similar hardware) won’t have to mess around with their settings until the headphone jacks operate properly.
Looking at my Synaptic Package Manager history, I see that new versions of libpulse and pulseaudio files were installed. In addition to these files, an updated kernel from January 14th (2.6.27.11) was installed. I’m still new to how all this stuff works, so I’m not sure if the new kernel or the new Pulse Audio files are to be credited with the fix. That being the case, I’ll thank both the kernel dev team and the Pulse Audio dev team for your hard work. Even if one of those teams isn’t to credit for this, I can only run Ubuntu on my laptop well because of their (and thousands of others) efforts.
Thank you to the dev teams that contribute countless hours of labor so that I can keep busy on my work and my projects rather than messing around on my system all day. This next song is for you.
Did I help you?
hey, man.
I’ve been messing with the same type of set up, and your blog has been extremely helpful. Instead of ubuntu intrepid i run linux mint 6, but most of the stuff in your posts applies.
The jacks updates haven’t been installed on my system, I noticed. And I still have the same problems with the sound that you wrote of before.
Do you have any suggestions? Perhaps any repositories I can try, for instance?
I’m glad that I’ve been able to help Leroy.
I haven’t run Linux Mint of my Studio 17 yet, but I’d be willing to give it a try over the weekend to see if there are any differences in hardware functionality.
My Synaptic is configured to check main, universe, restricted, and multiverse standard repositories. No other repositories have been configured.
I found that Linux Mint uses some of the Ubuntu repositories while providing a different repository for its own customizations. It’s possible that the software that updated on my system hasn’t made it into the Mint-specific repository yet.
The full list of what software updates I received two days ago is as follows:
Upgraded the following packages:
at-spi (1.24.0-0ubuntu3) to 1.24.0-0ubuntu3.8.10.1
ca-certificates-java (20080712ubuntu3) to 20080712ubuntu4
gnome-power-manager (2.24.0-0ubuntu8.1) to 2.24.0-0ubuntu8.2
icedtea6-plugin (6b12-0ubuntu6) to 6b12-0ubuntu6.1
libatspi1.0-0 (1.24.0-0ubuntu3) to 1.24.0-0ubuntu3.8.10.1
libpulse-browse0 (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
libpulse0 (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
libpulsecore5 (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
linux-generic (2.6.27.9.13) to 2.6.27.11.14
linux-headers-generic (2.6.27.9.13) to 2.6.27.11.14
linux-image-generic (2.6.27.9.13) to 2.6.27.11.14
linux-libc-dev (2.6.27-9.19) to 2.6.27-11.25
linux-restricted-modules-common (2.6.27-9.13) to 2.6.27-11.16
linux-restricted-modules-generic (2.6.27.9.13) to 2.6.27.11.14
openjdk-6-jre (6b12-0ubuntu6) to 6b12-0ubuntu6.1
openjdk-6-jre-headless (6b12-0ubuntu6) to 6b12-0ubuntu6.1
openjdk-6-jre-lib (6b12-0ubuntu6) to 6b12-0ubuntu6.1
pulseaudio (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
pulseaudio-esound-compat (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
pulseaudio-module-gconf (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
pulseaudio-module-hal (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
pulseaudio-module-x11 (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
pulseaudio-utils (0.9.10-2ubuntu9.2) to 0.9.10-2ubuntu9.3
python-lxml (2.1.1-1) to 2.1.1-1ubuntu1
python-pyatspi (1.24.0-0ubuntu3) to 1.24.0-0ubuntu3.8.10.1
ufw (0.23.2) to 0.23.3
Installed the following packages:
linux-headers-2.6.27-11 (2.6.27-11.25)
linux-headers-2.6.27-11-generic (2.6.27-11.25)
linux-image-2.6.27-11-generic (2.6.27-11.25)
linux-restricted-modules-2.6.27-11-generic (2.6.27-11.16)
I hope that some of this is able to help you out. If you have any further questions, let me know.
Thanks, i’m going to check it out. I’m pretty new to all of this and not even close to having the skill with computers that you have. So it all comes a little bit harder for me. That’s why I installed Mint instead of the Ubuntu. Mint works right out of the box basically.
There are some problems, like getting the webcam to work and some issues with Samba that i have to look into. Meanwhile I’ll keep an eye on this blog, it’s gold.
Thanks, Chris.
i did some more digging and found that it’s the kernel update that made the difference. I hope that this helps.
hey gaarai. I found exactly the same thing. I have the pulse updates, but i’m a bit carefull with the kernel updates. I’m afraid of messing with the kernel without knowing exactly what i’m changing. Remember, i’m a total nitwit when it comes to computers. I’ll try to install the updates, see what happens.
Btw. Thanks a lot for your help and quick replies. I appreciate it
I’ve been messing around abit, but i haven’t yet been succesful in upgrading the kernel to 2.6.28. I just want to make sure you got upgraded to 27.11 or to 28?
I’m currently running Kernel version 2.6.27.11.
Well. I’m running 27.11 now and i have all the pulse updates. The problem with the headphone jacks remain however. Perhaps it’s something due to the fact that ‘m running 32bit mint or some configuration or something.
Sorry for spamming up your comments section.
Not a problem at all Leroy. Spam my comments all you want. It’s good to finally see some come through.
As for your situation, I’m sorry to say that I wasn’t able to try Mint over the weekend. It ended up being much busier than I expected. Hopefully I’ll be able to run it on my system this week.
thnx a ton buddy. I have been fighting with this problem for almost 2 months. You made my day. Again thank you soooooooooo much
You’re welcome Ritesh. I’m glad that the solution worked for you.
If you ever have any questions, feel free to stop by and ask me. Just drop me a line on the Contact page.
Hey Chris, I run the same config as you, so I was hoping to get some help here. I have kernel 2.6.27.11-generic installed, but my headphone jacks have never worked properly (rear jack plays, but sound also comes out of laptop speakers, front jack mutes sound for both headphones and laptop speakers). Are you still having the issues you blogged about on the 19th, or did they resolve?
Thanks!
Actually, yes, my problem did mysteriously go away. I hadn’t checked since last week, and it seems to be working fine now. I’ll update my post.
By rear jack, do you mean the front jack? The rear jack is the mic jack. The headphone jacks are the front and center jacks. Please confirm which jacks you are talking about and how they each perform.
Sorry, yes the CENTER jack. You are correct. So, mine works like this:
Headphones plugged in center jack: Sound from both laptop speakers and headphones.
Headphones plugged in front jack: No sound from either laptop speakers or headphones.
As an aside, I noticed that I have no option on the switches tab for headphones in the volume control panel.
Hey, I fixed this, and just thought I’d post what worked for me. Did a sudo gedit /etc/modprobe.d/alsa-base, and added the following line to the file:
options snd-hda-intel model=dell-m6
Saved, rebooted, and now I have sound through headphones only when they are plugged into either center or front jack, and sound through laptop speakers when headhphones are unplugged.
Credit where credit is due: http://www.linlap.com/wiki/dell+studio+17
That’s awesome Ted! Thanks for sharing your find.
I’ll check it out and see if I can get any confirmation about whether or not this works for others.
Hey hi,
I got dell studio 14 laptop few days back. I have following problem with my audio jack in ubuntu 8.10.
When I plugin the jack ( anyone center or front) i get to hear the sound from laptop speakers. If i mute the “front” from volume control bar then all the sound will be muted.
And master is also muting all the sound.
I tried putting “options snd-hda-intel model=dell-m6” in alsa-base ..but it didn’t work…
So do you have some solution for the same?
Thanks in advance.
Since I don’t have access to that same machine and that most of my experience is simply based on personal experience with my hardware, I’m not sure if I can help you. However, I’m sending you an email on how you can send me the specific details of your system. Maybe with that information I can find a solution.
Chris
Thank you for the helpful posts on running Ubuntu on a Dell Studio 17 laptop. Just to be clear. Are you running the 32 bit or the 64 bit version?
Thanks
Sorry for the delay Don. I’m running 64-bit.
I have a hard time deciding whether I was right to go this route or not. I believe strongly that all apps will have good support for 64-bit systems soon, but that time isn’t here yet. So, I struggle with Adobe Flash issues and misc other apps due to poor, incomplete, or a complete lack of 64-bit support.