This article originally appeared in TidBITS on 2015-09-02 at 8:54 a.m.
The permanent URL for this article is: http://tidbits.com/article/15900
Include images: Off

The Headphone Port: The Mac’s Achilles Heel

by Josh Centers

Apple has the most beautiful, well-designed lineup of desktop and laptop computers ever made. But they all have one common part that has given me more trouble than any other: the blasted 3.5 mm headphone port. I’ve owned dozens, maybe even hundreds, of devices with such a port, dating back to the 1980s, and have never had a problem with one, except for my two Macs: a 2011 MacBook Pro and a brand-new iMac with Retina 5K display.

The source of the problem, as Chris Breen once explained in Macworld [1], is that inside every Mac’s headphone port is a small sensor switch that detects when you insert a plug. Plug in your headphones and the switch triggers, shuts off the Mac’s internal speakers, and outputs sound to your headphones. Remove the plug and the switch flips the internal speakers back on.

That seems like a sensible design decision, but at least on a computer, it’s flawed, as my examples demonstrate.

The Sound of Silence -- A few months ago, my MacBook Pro’s internal speakers stopped working. When I tried to turn the volume up, the onscreen icon indicated that they were broken, but when I plugged in headphones, everything worked fine.

[image link] [2]

After a bit of research, I learned about the headphone port switch, and deduced that it had become stuck. This problem is not rare, as shown by the above Macworld article, as well as Apple support discussion threads here [3], here [4], here [5], and here [6].

How do you know for sure that the switch is stuck? You’ll see these symptoms:

[image link] [7]

There are a few commonly suggested remedies for a stuck switch:

Unfortunately, none of these worked for me. But my MacBook Pro was still covered under AppleCare, so I brought it in for service. A few days later, I had a new logic board, and I was mostly good again.

The problem bit me a few more times, even with the new logic board. Thankfully, plugging in and removing headphones reset the switch each time thereafter on the MacBook Pro.

The problem with my iMac isn’t a broken part, but it’s a design flaw that’s even more annoying.

An Inconvenient Port -- The iMac with 5K Retina display is a work of art, with its huge, crisp screen and clean design. It may be a bit too clean.

As you probably know, all the iMac’s ports are in the back of the machine, including the headphone port. This puzzling decision can only be chalked up to Apple’s Ive mind, which often prioritizes form over function.

The problem with this design is that you have to reach behind the iMac every time you want to connect or disconnect headphones. Since the iMac is so thin and light, you’re guaranteed to shift the screen every time you do this, and I always feel like I’m going to knock it over. It’s also difficult to plug the headphones in without getting fingerprint smudges on the screen. It gets old fast.

No problem, I thought. I have a pair of Beats Solo2 [8] headphones, and while this isn’t the place to review them, one nice feature is that they have a detachable cable. I was hoping that I could keep the cable plugged in and merely unplug the headphones to play audio out of the speakers, which works with some devices. Unfortunately, it doesn’t work with the iMac. Nor would running an extension cable to a more convenient location.

Ah, but what if I manually switched the output to the internal speakers in OS X? Here’s a tip: Option-click the volume icon in the menu bar, and you get a drop-down menu that lets you choose audio outputs and inputs. But unfortunately, that doesn’t work here either.

[image link] [9]

Neither of these solutions work because the headphone port switch is hardwired: if the sensor detects the physical presence of a plug, it disables the internal speakers, and there is no way to re-enable them other than toggling the sensor again.

This is an Achilles heel for every Mac, because if that little tiny sensor gets stuck, as it seems to for a non-trivial number of users, your internal speakers will no longer work. Conceivably, it could also get stuck in a way where the speakers would work, but not the headphones.

As it stands now, I have these options:

I did hack together another free solution, though it’s not an option for everyone. My secondary Dell monitor has its own headphone port, and since its Mini DisplayPort connection from the Mac can carry audio, I can select the monitor as an audio output from the volume menu. But there’s a catch: OS X, expecting the monitor to have its own volume controls, doesn’t let me change the headphone volume.

The workaround is again free. The free demo of the $39 audio utility Sound Siphon 2 [10] provides just the volume control I need. As explained in the Sound Siphon FAQ [11], launch Sound Siphon, go to Sound Siphon > Preferences, and select your actual output device from the drop-down menu (in this case, DisplayPort). Close Sound Siphon preferences, and click On in the upper left. Now, when you choose Sound Siphon Out from the volume menu, that selects your headphones, while Internal Speakers routes audio to the speakers.

[image link] [12]

The problem with this solution is that the headphone output never gets particularly loud, and volume-boosting app Boom (see “FunBITS: Boom for Mac Pumps up the Volume [13],” 18 April 2014) doesn’t work with this setup. It’s too quiet for my podcasting work, so I’m re-evaluating the other approaches.

The fact that I have this problem with a $2,200 computer is nothing short of ridiculous. Both my iMac annoyance and the aforementioned MacBook Pro silence have the same root cause: Apple does not provide a software override for that infernal headphone port switch.

Here’s the thing: I know the speakers can still work with the switch triggered. When I reboot my iMac with the headphones plugged in, it fills my office with the Mac startup sound. So if it can play that sound through the speakers, I know it’s capable of playing other audio as well.

So please Apple, I’m begging you: give us a way to switch between internal speakers and headphones in OS X. Pretty please? It’s a simple option that could be added to the Sound preference pane; it can’t be that difficult. Slip it into the beta for OS X 10.11 El Capitan, put it in a point release, or at least expose the API to developers so they can fix it.

Alternatively, let’s say for argument’s sake that there is no way OS X could override the headphone port sensor switch. In that case, Apple, I beg you again: get rid of that stupid switch in future Macs. Make it a software function. On my last non-Mac computer, a home-built Windows PC, I could swap between headphones and speakers in the sound card settings. Come on, Apple, Microsoft Windows and a guy who built a cheap computer on a kitchen table has you beat here! That should be sufficiently embarrassing.

Think about it this way, Apple: ditching that switch would provide a consistent audio source management interface in OS X, and would result in fewer support calls, fewer trips to the Genius Bar, and less waste, because a dumb little switch getting stuck wouldn’t require an entire logic board replacement. It truly is the Mac’s Achilles heel.

[1]: http://www.macworld.com/article/2031146/repairing-the-mysteriously-muted-mac.html
[2]: http://tidbits.com/resources/2015-09/Mac-volume-busted.png
[3]: https://discussions.apple.com/thread/4571999
[4]: https://discussions.apple.com/thread/5432158
[5]: https://discussions.apple.com/thread/4518120
[6]: https://discussions.apple.com/thread/3694502
[7]: http://tidbits.com/resources/2015-09/System-Preferences-stuck-output.png
[8]: http://www.beatsbydre.com/beats-solo2.html
[9]: http://tidbits.com/resources/2015-09/Menu-bar-output-menu.png
[10]: http://staticz.com/soundsiphon/
[11]: http://staticz.com/add-keyboard-volume-controls/
[12]: http://tidbits.com/resources/2015-09/Sound-Siphon-preferences.png
[13]: http://tidbits.com/article/14682