Patent ID: 8831234

Claim:
An apparatus comprising: an audio jack detection circuit configured to be coupled to an audio jack receptacle, the audio jack detection circuit including: an oscillator; a comparator having a first input configured to be coupled to a microphone connection of the audio jack receptacle and to a microphone bias, wherein the comparator is configured to determine if the microphone connection of the audio jack receptacle is grounded using the microphone connection of the audio jack receptacle and the microphone bias; and digital logic configured to receive a clock signal from the oscillator and to determine a type of audio jack in the audio jack receptacle using the comparator; and wherein the audio jack detection circuit is configured to receive audio jack receptacle information, to disable the oscillator when the audio jack receptacle information indicates that the audio jack receptacle is empty, and to enable the oscillator when the audio jack receptacle information indicates that the audio jack receptacle includes an audio jack.