Two workarounds that come to mind:
1. Get a USB-to-analog audio converter. Something like this:
https://www.amazon.com/s/ref=nb_sb_ss_c_1_11?url=search-alias=aps&field-keywords=usb+audio+adapter&sprefix=usb+audio+a,aps,174&crid=LYJC9CN5T88U
Yes, I realize it doesn't "fix" the broken headphone port, but it will give you a cheap way to "keep going".
2. Get an optical-to-analog converter. Something like this:
https://www.amazon.com/s/ref=nb_sb_ss_i_5_16?url=search-alias=aps&field-keywords=digital+optical+audio+converter&sprefix=digital+optical+,aps,174&crid=14DGCUKXMTPM3&rh=i:aps,k:digital+optical+audio+converter
These are definitely bulkier. But they won't take up a USB port.
One other thing to try that might actually fix it:
What follows is from my (extensive) Mac archives. Might prove to be the solution.
Some reading will be required:
===========================
SOLVED as if it was a Hackintosh - Voodoo HDA bypasses Optical Audio "Switch"
If the above resolution doesn't work cause the optical audio switch internally is stuck.... Don't throw the MacBook away or replace the logic board or pay to replace the jack....
Don't poke it with a stick.... instead bypass the optical audio(if you don't need it) and here is how I did it:
https://forums.macrumors.com/showthre...0#post20146330
----------------
I have tried for years to fix this dam Optical audio issue and recently got to thinking after I built myself a killer Hackintosh for work why couldn't this audio issue be solved using some Hackintosh Kext like the ones I used building my
Well guess what IT CAN!
Here is what I did:
Tested theory & audio first with an Ubuntu Live CD - - - AUDIO WORKS!
Downloaded the current Voodoo HDA Kexts from Sourceforge -
http://sourceforge.net/projects/voodoohda/ which are for Intel HDA to begin with
v286 and ran the installer.
The I downloaded the Kext Utility (Google Search to find it) It will be in the download section of: tonymacx86.com
Just run the kext utility to repair permissions, clear caches etc.
Then restart.
After restart audio possibly could be / will be a little low, or won't mute or won't lower, so you will need to enable the Voodoo HDA Audio fixes as needed here:
1. Open the Terminal and go to /System/Library/Extensions/VoodooHDA.kext/Contents directory.
2. Type the command: sudo nano -w Info.plist.
3. Press CONTROL-W (^W for search) and search for the string "VoodooHDAEnableHalfVolumeFix" (without the quotes). Change the value from false to true. Save the file. enable other fixes as needed.
4. Fix your permissions by running Kext Utility and clear your caches.
5. Reboot the system. Volume now at the right levels...
THATS IT!!
PUT THIS Circa 2006 / 8+ YEAR HEADACHE TO REST!!!
Apple couldn't do it or didn't want to and so many people on the Apple forums say you can't bypass the optical audio switch.... BS!
Not to mention when I posted this resolution on Apple Support forum they were quick to take it down.....
SOLVED AND FIXED WITH HACKINTOSH METHODOLOGY!