My laptop sometimes doesn't detect any headphone that's connected to the headphone/s/pdif jack. For some reason there's a red light coming from the jack. It sometimes detect the headphones but when I connect a mic, it gets removed again. I reinstalled the audio drivers, it's still the same.
Red light on the jack is normal, since that is an optical jack, it uses light. Could be an issue with the jack, sometimes the connection port gets damaged and does not make a solid link. If system is in warranty, contact support.