Original post by: Brian Anderson ,
I have seen similar problems on other laptops and multiple iPhones. Usually a sharp blast of air (from mouth or can) will cause the contacts to reseat properly. If not, I have also had success with somewhat violently inserting/removing a headphone plug repeatedly. If neither of those solutions work, opening the computer and fixing/replacing the jack manually is probably the only solution.