Hi folks,
A (slightly) alternative fix for a very persistent Red Light Of Doom...
I inherited an MBP with this problem and tried plugging/unplugging a headphone jack loads of times, over a period of a few weeks, but this didn't work permanently. I also tried the cocktail stick / paperclip trick, again this didn't work for more than 5 minutes. Also did the PRAM, etc etc.....
So, I'm not sure if you can get WD40 spray in the US, but for anyone in the UK this stuff is magical! It's a lubricant for metal parts (i.e the assumed stuck optical out switch) and is also good for electrical circuitry because it removes moisture.
I didn't want to spray it directly into the port (as a previous poster suggested), so instead I dipped the headphone jack into an eggcup of WD40, and carefully inserted it into the port. I twisted the jack around, and gave it a very gentle wiggle up and down once or twice (which made a slight clicking sound, good or bad I don't know!
I have been doing this about 6 times a day for 3 days, and since the end of day 2 Red Light of Doom has not troubled me for 24 hours and counting. I am continuing the 'treatment' when convenient.
Regards, Jimmy